From 220142bb9645757bad304a79c7211aac2b80d539 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 6 Jun 2020 13:40:11 +0100 Subject: [PATCH] whoops dest%d_o not dest%d_i --- src/soc/experiment/compldst_multi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/experiment/compldst_multi.py b/src/soc/experiment/compldst_multi.py index c3d2606a..05df8f35 100644 --- a/src/soc/experiment/compldst_multi.py +++ b/src/soc/experiment/compldst_multi.py @@ -159,7 +159,7 @@ class LDSTCompUnit(Elaboratable): depending on whether the operation is a ST or LD. """ - def __init__(self, pi, rwid=64, awid=48, debugtest=False): + def __init__(self, pi=None, rwid=64, awid=48, debugtest=False): self.rwid = rwid self.awid = awid self.pi = pi @@ -179,7 +179,7 @@ class LDSTCompUnit(Elaboratable): dst = [] for i in range(n_dst): j = i + 1 # name numbering to match dest1/2... - name = "dest%d_i" % j + name = "dest%d_o" % j setattr(self, name, getattr(cu, name)) # convenience names -- 2.30.2