From 8f62211f6eb057256edbe75311fff7d648a4950f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 19 Apr 2020 19:54:05 +0100 Subject: [PATCH] whoops cut/paste error, n_src used instead of n_dst on loop --- src/soc/experiment/compalu_multi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index 26c6c8e8..10a2b411 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -56,7 +56,7 @@ class ComputationUnitNoDelay(Elaboratable): src.append(Signal(rwid, name="src%d_i" % j, reset_less=True)) dst = [] - for i in range(n_src): + for i in range(n_dst): j = i + 1 # name numbering to match dest1/2... dst.append(Signal(rwid, name="dest%d_i" % j, reset_less=True)) -- 2.30.2