From: Luke Kenneth Casson Leighton Date: Fri, 29 Mar 2019 21:30:50 +0000 (+0000) Subject: always pass decoded a/b through X-Git-Tag: ls180-24jan2020~1367 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=822a278ee689ceec9dad51e858867c0cb787ef23;p=ieee754fpu.git always pass decoded a/b through --- diff --git a/src/add/fpadd/specialcases.py b/src/add/fpadd/specialcases.py index c2f1ac1d..49e05089 100644 --- a/src/add/fpadd/specialcases.py +++ b/src/add/fpadd/specialcases.py @@ -53,6 +53,8 @@ class FPAddSpecialCasesMod: m.submodules.sc_decode_b = b1 m.d.comb += [a1.decode(self.i.a), b1.decode(self.i.b), + self.o.a.eq(a1), + self.o.b.eq(b1) ] s_nomatch = Signal(reset_less=True) @@ -140,8 +142,6 @@ class FPAddSpecialCasesMod: # Denormalised Number checks next, so pass a/b data through with m.Else(): m.d.comb += self.o.out_do_z.eq(0) - m.d.comb += self.o.a.eq(a1) - m.d.comb += self.o.b.eq(b1) m.d.comb += self.o.oz.eq(self.o.z.v) m.d.comb += self.o.mid.eq(self.i.mid)