projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39e4a9
)
name issue in Pi2LSUI
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 26 Jun 2020 23:29:36 +0000
(
00:29
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 26 Jun 2020 23:29:36 +0000
(
00:29
+0100)
src/soc/experiment/pi2ls.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/pi2ls.py
b/src/soc/experiment/pi2ls.py
index 7f711a63247f24e8c2f70af5a913b0e39182206f..7e4f59c6efc0a1668e7aba68558bf3d37520c1b4 100644
(file)
--- a/
src/soc/experiment/pi2ls.py
+++ b/
src/soc/experiment/pi2ls.py
@@
-37,7
+37,8
@@
class Pi2LSUI(Elaboratable):
print ("pi2lsui reg mask addr", regwid, mask_wid, addrwid)
self.addrbits = mask_wid
if pi is None:
- pi = PortInterface(name="%s_pi", regwid=regwid, addrwid=addrwid)
+ piname = "%s_pi" % name
+ pi = PortInterface(piname, regwid=regwid, addrwid=addrwid)
self.pi = pi
if lsui is None:
lsui = LoadStoreUnitInterface(addrwid, self.addrbits, regwid)