hdl.mem: add missing __all__.
authorwhitequark <cz@m-labs.hk>
Wed, 26 Dec 2018 17:15:54 +0000 (17:15 +0000)
committerwhitequark <cz@m-labs.hk>
Thu, 27 Dec 2018 16:19:01 +0000 (16:19 +0000)
nmigen/hdl/mem.py

index f000188b221bd6d93853afc63355e7bcb24aa1b6..727311880570635b0087a66a68160a6d4432268e 100644 (file)
@@ -5,6 +5,9 @@ from .ast import *
 from .ir import Instance
 
 
+__all__ = ["Memory"]
+
+
 class Memory:
     def __init__(self, width, depth, init=None, name=None, simulate=True):
         if not isinstance(width, int) or width < 0: