compat.fhdl.specials: mark CompatMemory as Elaboratable.

This suppresses a warning that is not useful in the compat context.
This commit is contained in:
whitequark 2019-07-03 13:28:57 +00:00
parent eeb6aca93d
commit 668ff40a75

View file

@ -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"):