From: Luke Kenneth Casson Leighton Date: Sat, 6 Jun 2020 12:40:11 +0000 (+0100) Subject: whoops dest%d_o not dest%d_i X-Git-Tag: div_pipeline~539 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=220142bb9645757bad304a79c7211aac2b80d539;p=soc.git whoops dest%d_o not dest%d_i --- 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