From: Luke Kenneth Casson Leighton Date: Thu, 28 Feb 2019 02:48:45 +0000 (+0000) Subject: use denorm exponent signal X-Git-Tag: ls180-24jan2020~1798 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a1e9788c04b7ddeceb0cb709a6413da1a358a53;p=ieee754fpu.git use denorm exponent signal --- diff --git a/src/add/fpbase.py b/src/add/fpbase.py index 8b1259c2..db61e190 100644 --- a/src/add/fpbase.py +++ b/src/add/fpbase.py @@ -426,7 +426,7 @@ class FPBase: both cases *effectively multiply the number stored by 2*, which has to be taken into account when extracting the result. """ - with m.If(a.e == a.N127): + with m.If(a.exp_n127): m.d.sync += a.e.eq(a.N126) # limit a exponent with m.Else(): m.d.sync += a.m[-1].eq(1) # set top mantissa bit