From: whitequark Date: Sat, 12 Oct 2019 22:35:43 +0000 (+0000) Subject: compat.fhdl.structure: remove SPECIAL_* constants. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e79d82bc36755a0c495030d6b32dff53acb5eab;p=nmigen.git compat.fhdl.structure: remove SPECIAL_* constants. They cannot be used with nMigen designs since nMigen does not have specials. --- diff --git a/nmigen/compat/fhdl/structure.py b/nmigen/compat/fhdl/structure.py index 6f844dd..f218ee4 100644 --- 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)