projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8386a
)
hdl.mem: fix source location of ReadPort.en.
author
whitequark
<whitequark@whitequark.org>
Sun, 5 Apr 2020 02:00:06 +0000
(
02:00
+0000)
committer
whitequark
<whitequark@whitequark.org>
Sun, 5 Apr 2020 02:00:06 +0000
(
02:00
+0000)
nmigen/hdl/mem.py
patch
|
blob
|
history
diff --git
a/nmigen/hdl/mem.py
b/nmigen/hdl/mem.py
index 235cbd2bf7438e96bfea8a0d23b513cffc9c6d0e..d34c5f02e7bdc1e06a253ee28ab14ebdb7be1ff3 100644
(file)
--- a/
nmigen/hdl/mem.py
+++ b/
nmigen/hdl/mem.py
@@
-106,7
+106,7
@@
class ReadPort(Elaboratable):
name="{}_r_data".format(memory.name), src_loc_at=1 + src_loc_at)
if self.domain != "comb" and not transparent:
self.en = Signal(name="{}_r_en".format(memory.name), reset=1,
- src_loc_at=
2
+ src_loc_at)
+ src_loc_at=
1
+ src_loc_at)
else:
self.en = Const(1)