projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72e65d
)
compat.fhdl.specials: mark CompatMemory as Elaboratable.
author
whitequark
<cz@m-labs.hk>
Wed, 3 Jul 2019 13:28:57 +0000
(13:28 +0000)
committer
whitequark
<cz@m-labs.hk>
Wed, 3 Jul 2019 13:28:57 +0000
(13:28 +0000)
This suppresses a warning that is not useful in the compat context.
nmigen/compat/fhdl/specials.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/specials.py
b/nmigen/compat/fhdl/specials.py
index a98afbce9284e80bc44aa4b60c83d94a092d3d93..f548b538b9d157b4fdfd28562d13c147bce4a848 100644
(file)
--- 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"):