compat.fhdl.specials: mark CompatMemory as Elaboratable.
This suppresses a warning that is not useful in the compat context.
This commit is contained in:
parent
eeb6aca93d
commit
668ff40a75
|
@ -83,7 +83,7 @@ def elaborate(self, platform):
|
||||||
return Fragment()
|
return Fragment()
|
||||||
|
|
||||||
|
|
||||||
class CompatMemory(NativeMemory):
|
class CompatMemory(NativeMemory, Elaboratable):
|
||||||
@deprecated("instead of `get_port()`, use `read_port()` and `write_port()`")
|
@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,
|
def get_port(self, write_capable=False, async_read=False, has_re=False, we_granularity=0,
|
||||||
mode=WRITE_FIRST, clock_domain="sync"):
|
mode=WRITE_FIRST, clock_domain="sync"):
|
||||||
|
|
Loading…
Reference in a new issue