compat.fhdl.specials: fix __all__ list.
authorwhitequark <whitequark@whitequark.org>
Sat, 26 Jan 2019 22:59:33 +0000 (22:59 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 26 Jan 2019 22:59:33 +0000 (22:59 +0000)
nmigen/compat/fhdl/specials.py

index 494e73b64d3efdb4ea2a89a1ef296533d1fdd061..aa9c77fc47ab783df5c3ff107c5f811a34f10e61 100644 (file)
@@ -3,12 +3,12 @@ import warnings
 from ...tools import deprecated, extend
 from ...hdl.ast import *
 from ...hdl.mem import Memory as NativeMemory
-from ...hdl.ir import Fragment
+from ...hdl.ir import Fragment, Instance
 from ...lib.io import TSTriple as NativeTSTriple, Tristate as NativeTristate
 from .module import Module as CompatModule
 
 
-__all__ = ["TSTriple", "READ_FIRST", "WRITE_FIRST", "NO_CHANGE", "_MemoryPort", "Memory"]
+__all__ = ["TSTriple", "Instance", "Memory", "READ_FIRST", "WRITE_FIRST", "NO_CHANGE"]
 
 
 class CompatTSTriple(NativeTSTriple):