projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1e6e2
)
hdl.mem: add missing __all__.
author
whitequark
<cz@m-labs.hk>
Wed, 26 Dec 2018 17:15:54 +0000
(17:15 +0000)
committer
whitequark
<cz@m-labs.hk>
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: