From: Luke Kenneth Casson Leighton Date: Sun, 19 Apr 2020 18:54:05 +0000 (+0100) Subject: whoops cut/paste error, n_src used instead of n_dst on loop X-Git-Tag: div_pipeline~1423 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f62211f6eb057256edbe75311fff7d648a4950f;p=soc.git whoops cut/paste error, n_src used instead of n_dst on loop --- 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))