From: Luke Kenneth Casson Leighton Date: Thu, 13 Feb 2020 15:16:14 +0000 (+0000) Subject: store intermediate in temp, append that to output X-Git-Tag: ls180-24jan2020~180 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66fa126635c4336b1242d0da856fff6751a15447;p=ieee754fpu.git store intermediate in temp, append that to output --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index 7d5e7e47..1e76a188 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -112,7 +112,7 @@ class PartitionedDynamicShift(Elaboratable): print(intermed[keys[0]:]) intermed = Mux(gates[i-1], element, element | intermed[keys[0]:]) comb += temp.eq(intermed) - out.append(intermed[:e-s]) + out.append(temp[:e-s]) comb += self.output.eq(Cat(*out))