From: Luke Kenneth Casson Leighton Date: Fri, 21 Feb 2020 13:00:57 +0000 (+0000) Subject: deal with zero-width ShiftMask X-Git-Tag: ls180-24jan2020~132 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9993e43dba018c01a66f1a905df457fd8d894922;p=ieee754fpu.git deal with zero-width ShiftMask --- diff --git a/src/ieee754/part_shift/part_shift_dynamic.py b/src/ieee754/part_shift/part_shift_dynamic.py index c051397b..daa1ec07 100644 --- a/src/ieee754/part_shift/part_shift_dynamic.py +++ b/src/ieee754/part_shift/part_shift_dynamic.py @@ -31,7 +31,7 @@ class ShifterMask(Elaboratable): # zero-width mustn't try to do anything if self.pwid == 0: - self.mask.eq((1<