From: Luke Kenneth Casson Leighton Date: Fri, 29 May 2020 12:30:06 +0000 (+0100) Subject: names of attributes needs to be dest_o not dest_i X-Git-Tag: div_pipeline~753 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7174d08c24957868a52722444abe49dacc6495f2;p=soc.git names of attributes needs to be dest_o not dest_i --- diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index 7b1938e5..f17fb6bb 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -69,7 +69,7 @@ class CompUnitRecord(RegSpec, RecordObject): 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 rw = self._get_dstwid(i) dreg = Signal(rw, name=name, reset_less=True) setattr(self, name, dreg) @@ -116,7 +116,7 @@ class MultiCompUnit(RegSpecALUAPI, Elaboratable): # convenience names for dest operands 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)) # more convenience names