projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c4c7c
)
compat.fhdl.decorators: improve backwards compatibility.
author
whitequark
<whitequark@whitequark.org>
Sun, 13 Oct 2019 01:38:09 +0000
(
01:38
+0000)
committer
whitequark
<whitequark@whitequark.org>
Sun, 13 Oct 2019 01:38:09 +0000
(
01:38
+0000)
nmigen/compat/fhdl/decorators.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/decorators.py
b/nmigen/compat/fhdl/decorators.py
index 7d925f32e30e6929823e02c3cfbe03e937448863..83f39b05af92ec33565cc5cd34f6843ecde613a4 100644
(file)
--- a/
nmigen/compat/fhdl/decorators.py
+++ b/
nmigen/compat/fhdl/decorators.py
@@
-45,6
+45,11
@@
class CompatCEInserter(_CompatControlInserter):
_native_inserter = NativeEnableInserter
+class CompatClockDomainsRenamer(NativeDomainRenamer):
+ def __init__(self, cd_remapping):
+ super().__init__(cd_remapping)
+
+
ResetInserter = CompatResetInserter
CEInserter = CompatCEInserter
-ClockDomainsRenamer =
NativeDomain
Renamer
+ClockDomainsRenamer =
CompatClockDomains
Renamer