From d90975f9005e79aaccd40918a8ffdc48146623ed Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 27 Apr 2019 14:14:18 +0100 Subject: [PATCH] fix name bug in specallocate --- src/add/singlepipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add/singlepipe.py b/src/add/singlepipe.py index 24565a4f..4222e469 100644 --- a/src/add/singlepipe.py +++ b/src/add/singlepipe.py @@ -640,8 +640,8 @@ class StageChain(StageCls): m.d.comb += eq(o, c.process(i)) # process input into "o" if idx == len(self.chain)-1: break - i = self.chain[idx+1].ispec # new input on next loop - i = _spec(ifn, 'chainin%d' % idx+1) + ifn = self.chain[idx+1].ispec # new input on next loop + i = _spec(ifn, 'chainin%d' % (idx+1)) m.d.comb += eq(i, o) # assign to next input return o # last loop is the output -- 2.30.2