From: Luke Kenneth Casson Leighton Date: Fri, 1 Mar 2019 22:47:31 +0000 (+0000) Subject: remove variable overflow X-Git-Tag: ls180-24jan2020~1780 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cebab15f305d2705943e5e8e6aa1dc660828bcc0;p=ieee754fpu.git remove variable overflow --- 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))