From cebab15f305d2705943e5e8e6aa1dc660828bcc0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 1 Mar 2019 22:47:31 +0000 Subject: [PATCH] remove variable overflow --- src/add/nmigen_add_experiment.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 825005ff..08f81dc3 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -739,9 +739,6 @@ class FPADD: w = z.m_width + 4 - #of = Overflow() - #m.submodules.overflow = of - geta = self.add_state(FPGetOp("get_a", "get_b", self.in_a, self.width)) a = geta.out_op @@ -794,8 +791,6 @@ class FPADD: az = add1.out_z - of = add1.out_of - n1 = self.add_state(FPNorm1(self.width)) n1.set_inputs({"z": az, "of": add1.out_of}) # XXX Z as output n1.set_outputs({"z": az}) # XXX Z as output @@ -808,7 +803,7 @@ class FPADD: rn = self.add_state(FPRound(self.width)) rn.set_inputs({"of": n1.out_of}) rn.set_outputs({"z": rnz}) - rn.mod.setup(m, n1.out_z, rn.out_z, of) + rn.mod.setup(m, n1.out_z, rn.out_z, add1.out_of) m.submodules.roundz = rn.mod cor = self.add_state(FPCorrections(self.width)) -- 2.30.2