compat.fhdl.module: silence "unused elaboratable" warnings.

This commit is contained in:
whitequark 2019-06-04 13:09:36 +00:00
parent 38917e4523
commit 537d91851d

View file

@ -95,6 +95,8 @@ class _CompatModuleClockDomains(_CompatModuleProxy):
class CompatModule(ir.Elaboratable):
_Elaboratable__silence = True
# Actually returns nmigen.fhdl.Module, not a Fragment.
def get_fragment(self):
assert not self.get_fragment_called