_unused: extract must-use logic from hdl.ir.

This commit is contained in:
whitequark 2020-02-01 01:35:05 +00:00
parent 687d3a3df7
commit 9fb4a4f09e
3 changed files with 51 additions and 34 deletions

View file

@ -95,7 +95,7 @@ class _CompatModuleClockDomains(_CompatModuleProxy):
class CompatModule(ir.Elaboratable):
_Elaboratable__silence = True
_MustUse__silence = True
# Actually returns another nMigen Elaboratable (nmigen.dsl.Module), not a Fragment.
def get_fragment(self):