From: Luke Kenneth Casson Leighton Date: Thu, 13 Feb 2020 15:42:51 +0000 (+0000) Subject: reduce width of temporary intermediates X-Git-Tag: ls180-24jan2020~177 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dfafd02e6318068741b0093ad324d26238896fc3;p=ieee754fpu.git reduce width of temporary intermediates --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index df268810..a0dac157 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -100,7 +100,7 @@ class PartitionedDynamicShift(Elaboratable): s, e = intervals[i] index = gates[:i] # selects the 'i' least significant bits # of gates - element = Signal(width, name="element%d" % i) + element = Signal(matrix[0][i].width, name="element%d" % i) for index in range(1<