partial fix for src/soc/experiment/compldst_multi.py
authorTobias Platen <tplaten@posteo.de>
Sat, 31 Jul 2021 16:49:45 +0000 (18:49 +0200)
committerTobias Platen <tplaten@posteo.de>
Sat, 31 Jul 2021 16:49:45 +0000 (18:49 +0200)
src/soc/experiment/compldst_multi.py

index c203175ddfcf35c522d7529777fe9fac5c0398ba..fe9c18dd426ed6c034b3966a6e287abdb7812b9e 100644 (file)
@@ -752,7 +752,7 @@ class TestLDSTCompUnit(LDSTCompUnit):
     def __init__(self, rwid, pspec):
         from soc.experiment.l0_cache import TstL0CacheBuffer
         self.l0 = l0 = TstL0CacheBuffer(pspec)
-        pi = l0.l0.dports[0].pi
+        pi = l0.l0.dports[0]
         LDSTCompUnit.__init__(self, pi, rwid, 4)
 
     def elaborate(self, platform):
@@ -787,7 +787,7 @@ class TestLDSTCompUnitRegSpec(LDSTCompUnit):
         from soc.fu.ldst.pipe_data import LDSTPipeSpec
         regspec = LDSTPipeSpec.regspec
         self.l0 = l0 = TstL0CacheBuffer(pspec)
-        pi = l0.l0.dports[0].pi
+        pi = l0.l0.dports[0]
         LDSTCompUnit.__init__(self, pi, regspec, 4)
 
     def elaborate(self, platform):