compat.fhdl.module: silence "unused elaboratable" warnings.
This commit is contained in:
parent
38917e4523
commit
537d91851d
|
@ -95,6 +95,8 @@ class _CompatModuleClockDomains(_CompatModuleProxy):
|
||||||
|
|
||||||
|
|
||||||
class CompatModule(ir.Elaboratable):
|
class CompatModule(ir.Elaboratable):
|
||||||
|
_Elaboratable__silence = True
|
||||||
|
|
||||||
# Actually returns nmigen.fhdl.Module, not a Fragment.
|
# Actually returns nmigen.fhdl.Module, not a Fragment.
|
||||||
def get_fragment(self):
|
def get_fragment(self):
|
||||||
assert not self.get_fragment_called
|
assert not self.get_fragment_called
|
||||||
|
|
Loading…
Reference in a new issue