projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e6e9f
)
Fixed typo and left-over from refactoring
author
Cesar Strauss
<cestrauss@gmail.com>
Thu, 21 May 2020 09:05:57 +0000
(06:05 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Thu, 21 May 2020 09:13:46 +0000
(06:13 -0300)
src/soc/experiment/compalu_multi.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/compalu_multi.py
b/src/soc/experiment/compalu_multi.py
index adbecd97bf08ddcb3b31deb6aa8e757cd68bb741..0785b753e669bca1b9f235191396cc85d4cf6baa 100644
(file)
--- a/
src/soc/experiment/compalu_multi.py
+++ b/
src/soc/experiment/compalu_multi.py
@@
-83,7
+83,7
@@
class CompUnitRecord(RecordObject):
j = i + 1 # name numbering to match dest1/2...
name = "dest%d_i" % j
dreg = Signal(rwid, name=name, reset_less=True)
- setattr(self, name,
s
reg)
+ setattr(self, name,
d
reg)
dst.append(dreg)
self._dest = dst
@@
-113,7
+113,6
@@
class MultiCompUnit(Elaboratable):
name = "src%d_i" % j
setattr(self, name, getattr(cu, name))
- dst = []
for i in range(n_dst):
j = i + 1 # name numbering to match dest1/2...
name = "dest%d_i" % j