From af64d34fc6d2333e5d095e01cf9d2ecae57d1a8c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 2 Mar 2020 15:53:49 +0000 Subject: [PATCH] yet another nuisance --- src/ieee754/fpcommon/fpbase.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ieee754/fpcommon/fpbase.py b/src/ieee754/fpcommon/fpbase.py index 972f828c..30178633 100644 --- a/src/ieee754/fpcommon/fpbase.py +++ b/src/ieee754/fpcommon/fpbase.py @@ -565,8 +565,9 @@ class MultiShiftRMerge(Elaboratable): m_mask = Signal(self.width, reset_less=True) smask = Signal(self.width, reset_less=True) stickybit = Signal(reset_less=True) - maxslen = Signal(self.smax, reset_less=True) - maxsleni = Signal(self.smax, reset_less=True) + # XXX GRR frickin nuisance https://github.com/nmigen/nmigen/issues/302 + maxslen = Signal(self.smax[0], reset_less=True) + maxsleni = Signal(self.smax[0], reset_less=True) sm = MultiShift(self.width-1) m0s = Const(0, self.width-1) -- 2.30.2