From: whitequark Date: Tue, 4 Jun 2019 13:09:36 +0000 (+0000) Subject: compat.fhdl.module: silence "unused elaboratable" warnings. X-Git-Tag: locally_working~185 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=537d91851dc88af99801e30b9c150be83db7d9e5;p=nmigen.git compat.fhdl.module: silence "unused elaboratable" warnings. --- diff --git a/nmigen/compat/fhdl/module.py b/nmigen/compat/fhdl/module.py index 43ca8fb..f4622b0 100644 --- a/nmigen/compat/fhdl/module.py +++ b/nmigen/compat/fhdl/module.py @@ -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