compat.genlib.cdc: add missing import.
authorwhitequark <whitequark@whitequark.org>
Sun, 20 Jan 2019 03:03:48 +0000 (03:03 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 20 Jan 2019 03:03:56 +0000 (03:03 +0000)
nmigen/compat/genlib/cdc.py

index 9e25c68aac10b46d90346a807a72394d8f876b7f..557d573faccea8fa678ee7c144bf8769ae3b4fd9 100644 (file)
@@ -2,6 +2,7 @@ from ...tools import deprecated
 from ...lib.cdc import MultiReg
 from ...hdl.ast import *
 from ..fhdl.module import CompatModule
+from ..fhdl.structure import If
 
 
 __all__ = ["MultiReg", "GrayCounter", "GrayDecoder"]