From 722a55fa6bf935ef6dfa6304fd8bbfece71840cb Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 4 Jun 2019 13:09:36 +0000 Subject: [PATCH] compat.fhdl.module: silence "unused elaboratable" warnings. --- nmigen/compat/fhdl/module.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2