From: Luke Kenneth Casson Leighton Date: Sat, 15 Feb 2020 12:51:45 +0000 (+0000) Subject: reduce partial result width X-Git-Tag: ls180-24jan2020~161 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cace79503d694f388d12ad0350f3b2d6efd82f3e;p=ieee754fpu.git reduce partial result width --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index 1aedbf8d..99b602f9 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -128,7 +128,7 @@ class PartitionedDynamicShift(Elaboratable): #with m.Else(): # comb += shifter.eq(element) comb += shifter.eq(element) - partial = Signal(width, name="partial%d" % i, reset_less=True) + partial = Signal(reswid, name="partial%d" % i, reset_less=True) comb += partial.eq(a_intervals[i] << shifter) partial_results.append(partial)