projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7e07c
)
hdl.xfrm: make deprecated CEInserter more well-behaved.
author
whitequark
<whitequark@whitequark.org>
Sun, 18 Aug 2019 16:26:45 +0000
(16:26 +0000)
committer
whitequark
<whitequark@whitequark.org>
Sun, 18 Aug 2019 16:26:45 +0000
(16:26 +0000)
nmigen/hdl/xfrm.py
patch
|
blob
|
history
diff --git
a/nmigen/hdl/xfrm.py
b/nmigen/hdl/xfrm.py
index 11bfd2a7a1ab3494c233e6ee4133207a77674e29..4c96b7c31ebd263d6c49078ae01888ab3af3a22c 100644
(file)
--- a/
nmigen/hdl/xfrm.py
+++ b/
nmigen/hdl/xfrm.py
@@
-698,4
+698,5
@@
class EnableInserter(_ControlInserter):
return new_fragment
-CEInserter = deprecated("instead of `CEInserter`, use `EnableInserter`")(EnableInserter)
+CEInserter = staticmethod(
+ deprecated("instead of `CEInserter`, use `EnableInserter`")(EnableInserter))