From 9993e43dba018c01a66f1a905df457fd8d894922 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 21 Feb 2020 13:00:57 +0000 Subject: [PATCH] deal with zero-width ShiftMask --- 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 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<