From 043e43dc5eb58e636294ed6e6bed8449513dc2cd Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 27 Jun 2020 00:29:36 +0100 Subject: [PATCH] name issue in Pi2LSUI --- src/soc/experiment/pi2ls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/experiment/pi2ls.py b/src/soc/experiment/pi2ls.py index 7f711a63..7e4f59c6 100644 --- 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) -- 2.30.2