From: Luke Kenneth Casson Leighton Date: Thu, 13 Feb 2020 12:54:54 +0000 (+0000) Subject: experiment looking for minimum shift width X-Git-Tag: ls180-24jan2020~181 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0faa5a6e6905dbbe60f94463c03700a85e07e36;p=ieee754fpu.git experiment looking for minimum shift width --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index 1b941d26..7d5e7e47 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -79,10 +79,13 @@ class PartitionedDynamicShift(Elaboratable): # XXX! bw = math.ceil(math.log2(self.output.width + 1)) tshift = Signal(bw, name="ts%d_%d" % (i, j), reset_less=True) - with m.If(b[:bw] < 1<