From: Luke Kenneth Casson Leighton Date: Sat, 27 Apr 2019 13:14:18 +0000 (+0100) Subject: fix name bug in specallocate X-Git-Tag: ls180-24jan2020~1188 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d90975f9005e79aaccd40918a8ffdc48146623ed;p=ieee754fpu.git fix name bug in specallocate --- 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