From: whitequark Date: Wed, 3 Jul 2019 13:28:57 +0000 (+0000) Subject: compat.fhdl.specials: mark CompatMemory as Elaboratable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f2b16cbc3bc2ad6eb69e1ce4df41a6124a66075;p=nmigen.git compat.fhdl.specials: mark CompatMemory as Elaboratable. This suppresses a warning that is not useful in the compat context. --- diff --git a/nmigen/compat/fhdl/specials.py b/nmigen/compat/fhdl/specials.py index a98afbc..f548b53 100644 --- a/nmigen/compat/fhdl/specials.py +++ b/nmigen/compat/fhdl/specials.py @@ -83,7 +83,7 @@ def elaborate(self, platform): return Fragment() -class CompatMemory(NativeMemory): +class CompatMemory(NativeMemory, Elaboratable): @deprecated("instead of `get_port()`, use `read_port()` and `write_port()`") def get_port(self, write_capable=False, async_read=False, has_re=False, we_granularity=0, mode=WRITE_FIRST, clock_domain="sync"):