From: whitequark Date: Sat, 12 Oct 2019 22:35:43 +0000 (+0000) Subject: compat.fhdl.structure: remove SPECIAL_* constants. X-Git-Tag: v0.1rc1~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77118fb9c9412fee5a32a187f38a53ffe54a5dd2;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)