From 77118fb9c9412fee5a32a187f38a53ffe54a5dd2 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 12 Oct 2019 22:35:43 +0000 Subject: [PATCH] compat.fhdl.structure: remove SPECIAL_* constants. They cannot be used with nMigen designs since nMigen does not have specials. --- nmigen/compat/fhdl/structure.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) -- 2.30.2