projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da48c05
)
compat.fhdl.structure: remove SPECIAL_* constants.
author
whitequark
<whitequark@whitequark.org>
Sat, 12 Oct 2019 22:35:43 +0000
(22:35 +0000)
committer
whitequark
<whitequark@whitequark.org>
Sat, 12 Oct 2019 22:40:48 +0000
(22:40 +0000)
They cannot be used with nMigen designs since nMigen does not have
specials.
nmigen/compat/fhdl/structure.py
patch
|
blob
|
history
diff --git
a/nmigen/compat/fhdl/structure.py
b/nmigen/compat/fhdl/structure.py
index 6f844dd45cf03b0ee6d5c33ef4a25d4fe6949a72..f218ee48c46a316e419c7bd2c69918e0ae24004d 100644
(file)
--- a/
nmigen/compat/fhdl/structure.py
+++ b/
nmigen/compat/fhdl/structure.py
@@
-9,8
+9,7
@@
from ...hdl.cd import ClockDomain
__all__ = ["DUID", "wrap", "Mux", "Cat", "Replicate", "Constant", "C", "Signal", "ClockSignal",
- "ResetSignal", "If", "Case", "Array", "ClockDomain",
- "SPECIAL_INPUT", "SPECIAL_OUTPUT", "SPECIAL_INOUT"]
+ "ResetSignal", "If", "Case", "Array", "ClockDomain"]
@deprecated("instead of `wrap`, use `Value.cast`")
@@
-113,6
+112,3
@@
class Case(ast.Switch):
del self.cases[key]
self.cases[()] = stmts
return self
-
-
-(SPECIAL_INPUT, SPECIAL_OUTPUT, SPECIAL_INOUT) = range(3)