projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c701102
)
compat.fhdl.specials: fix argument parsing compatibility.
author
whitequark
<cz@m-labs.hk>
Thu, 17 Oct 2019 07:54:36 +0000
(07:54 +0000)
committer
whitequark
<cz@m-labs.hk>
Thu, 17 Oct 2019 07:54:36 +0000
(07:54 +0000)
nmigen/compat/fhdl/specials.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/specials.py
b/nmigen/compat/fhdl/specials.py
index 93111c212adee5b44a014aebf8aa9edb45999460..1f76797949d02327f9ae637c0d1c5138c50c9213 100644
(file)
--- a/
nmigen/compat/fhdl/specials.py
+++ b/
nmigen/compat/fhdl/specials.py
@@
-84,6
+84,9
@@
def elaborate(self, platform):
class CompatMemory(NativeMemory, Elaboratable):
+ def __init__(self, width, depth, init=None, name=None):
+ super().__init__(width=width, depth=depth, init=init, name=name)
+
@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"):