From cace79503d694f388d12ad0350f3b2d6efd82f3e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 15 Feb 2020 12:51:45 +0000 Subject: [PATCH] reduce partial result width --- src/ieee754/part_shift/part_shift_dynamic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2