From 1e82083f04419ef7fd4ff01f6d5f716b423b6f6e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 23 Jul 2019 22:40:45 +0100 Subject: [PATCH] hmmm remove extra zeros on DIV mantissas --- src/ieee754/fpdiv/div0.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ieee754/fpdiv/div0.py b/src/ieee754/fpdiv/div0.py index 32d0d17c..3c6c0b1f 100644 --- a/src/ieee754/fpdiv/div0.py +++ b/src/ieee754/fpdiv/div0.py @@ -86,8 +86,8 @@ class FPDivStage0Mod(Elaboratable): am0 = Signal(len(self.i.a.m)+3, reset_less=True) bm0 = Signal(len(self.i.b.m)+3, reset_less=True) m.d.comb += [ - am0.eq(Cat(0,0,0,self.i.a.m, 0)), - bm0.eq(Cat(0,0,0,self.i.b.m, 0)), + am0.eq(Cat(self.i.a.m, 0)), + bm0.eq(Cat(self.i.b.m, 0)), ] # zero-extend the mantissas (room for sticky/round/guard) -- 2.30.2