From: Luke Kenneth Casson Leighton Date: Fri, 26 Jun 2020 23:29:36 +0000 (+0100) Subject: name issue in Pi2LSUI X-Git-Tag: div_pipeline~243 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=043e43dc5eb58e636294ed6e6bed8449513dc2cd;p=soc.git name issue in Pi2LSUI --- 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)