From: Luke Kenneth Casson Leighton Date: Sat, 9 Mar 2019 10:03:49 +0000 (+0000) Subject: whoops forgot self.width X-Git-Tag: ls180-24jan2020~1709 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5efb9e47fa9eb0529c142b175e0937b64de68d91;p=ieee754fpu.git whoops forgot self.width --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 21a73f50..f710e12f 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -929,8 +929,8 @@ class FPNormToPack(FPState, FPID): m.d.comb += c_out_z.copy(cmod.out_z) # Pack (chained to corrections) - self.pmod = FPPackMod(width) - self.out_z = FPNumBase(width) + self.pmod = FPPackMod(self.width) + self.out_z = FPNumBase(self.width) self.pmod.setup(m, c_out_z) # Multiplex ID