projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a41b21
)
whoops merged the two write-ports for RT and RA-with-update
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 24 Nov 2021 12:31:52 +0000
(12:31 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 24 Nov 2021 12:31:52 +0000
(12:31 +0000)
src/soc/simple/core.py
patch
|
blob
|
history
diff --git
a/src/soc/simple/core.py
b/src/soc/simple/core.py
index ade46bafc9f8a07a0cd59d577c00b582c7417259..7d98bb9b097332a0bb71364784deba1968651a91 100644
(file)
--- a/
src/soc/simple/core.py
+++ b/
src/soc/simple/core.py
@@
-776,7
+776,7
@@
class NonProductionCore(ControlBase):
name = "%s_%s_%s_%d" % (funame, regfile, regname, idx)
# get (or set up) a write-latched copy of write register number
write = Signal.like(_write, name="write_"+name)
- rname = "%s_%s_%s
" % (funame, regfile, regname
)
+ rname = "%s_%s_%s
_%d" % (funame, regfile, regname, idx
)
if rname not in fu.wr_latches:
wrl = Signal.like(_write, name="wrlatch_"+rname)
fu.wr_latches[rname] = write