From 7174d08c24957868a52722444abe49dacc6495f2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 29 May 2020 13:30:06 +0100 Subject: [PATCH] names of attributes needs to be dest_o not dest_i --- src/soc/experiment/compalu_multi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2