From 5efb9e47fa9eb0529c142b175e0937b64de68d91 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 9 Mar 2019 10:03:49 +0000 Subject: [PATCH] whoops forgot self.width --- src/add/nmigen_add_experiment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2