From: whitequark Date: Tue, 4 Jun 2019 13:09:36 +0000 (+0000) Subject: compat.fhdl.module: silence "unused elaboratable" warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=722a55fa6bf935ef6dfa6304fd8bbfece71840cb;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