From 822a278ee689ceec9dad51e858867c0cb787ef23 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 29 Mar 2019 21:30:50 +0000 Subject: [PATCH] always pass decoded a/b through --- src/add/fpadd/specialcases.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2