yet another nuisance
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 2 Mar 2020 15:53:49 +0000 (15:53 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 2 Mar 2020 15:53:49 +0000 (15:53 +0000)
src/ieee754/fpcommon/fpbase.py

index 972f828c7b33ef739c7184bb2e3d3ad9d042b369..30178633f96baf6771d327ae6fcd9a82dc42edd8 100644 (file)
@@ -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)