From 5a1e9788c04b7ddeceb0cb709a6413da1a358a53 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 28 Feb 2019 02:48:45 +0000 Subject: [PATCH] use denorm exponent signal --- src/add/fpbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2