compat.fhdl.structure: remove SPECIAL_* constants.
authorwhitequark <cz@m-labs.hk>
Sat, 12 Oct 2019 22:35:43 +0000 (22:35 +0000)
committerwhitequark <cz@m-labs.hk>
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

index 6f844dd45cf03b0ee6d5c33ef4a25d4fe6949a72..f218ee48c46a316e419c7bd2c69918e0ae24004d 100644 (file)
@@ -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)