projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44ca29
)
compat.fifo: fix _FIFOInterface deprecation wrapper.
author
whitequark
<whitequark@whitequark.org>
Sat, 26 Jan 2019 18:23:58 +0000
(18:23 +0000)
committer
whitequark
<whitequark@whitequark.org>
Sat, 26 Jan 2019 18:23:58 +0000
(18:23 +0000)
nmigen/compat/genlib/fifo.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/genlib/fifo.py
b/nmigen/compat/genlib/fifo.py
index 896b26be4b95dc53015f7203492ea3fd485a498d..4e412d347425e515117bb83b3a44de735e28b147 100644
(file)
--- a/
nmigen/compat/genlib/fifo.py
+++ b/
nmigen/compat/genlib/fifo.py
@@
-6,8
+6,8
@@
from ...lib.fifo import FIFOInterface as NativeFIFOInterface, \
__all__ = ["_FIFOInterface", "SyncFIFO", "SyncFIFOBuffered", "AsyncFIFO", "AsyncFIFOBuffered"]
-@deprecated("attribute `fwft` must be provided to FIFOInterface constructor")
class CompatFIFOInterface(NativeFIFOInterface):
+ @deprecated("attribute `fwft` must be provided to FIFOInterface constructor")
def __init__(self, width, depth):
super().__init__(width, depth, fwft=False)
del self.fwft