projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ed870
)
hdl.mem: add missing __all__.
author
whitequark
<whitequark@whitequark.org>
Wed, 26 Dec 2018 17:15:54 +0000
(17:15 +0000)
committer
whitequark
<whitequark@whitequark.org>
Thu, 27 Dec 2018 16:19:01 +0000
(16:19 +0000)
nmigen/hdl/mem.py
patch
|
blob
|
history
diff --git
a/nmigen/hdl/mem.py
b/nmigen/hdl/mem.py
index f000188b221bd6d93853afc63355e7bcb24aa1b6..727311880570635b0087a66a68160a6d4432268e 100644
(file)
--- a/
nmigen/hdl/mem.py
+++ b/
nmigen/hdl/mem.py
@@
-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: