From: Luke Kenneth Casson Leighton Date: Wed, 27 Feb 2019 15:04:00 +0000 (+0000) Subject: remove tot from FPADD, use chain X-Git-Tag: ls180-24jan2020~1808 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53cf8aae6ffb355ce65a554e8987cb4fcb13c226;p=ieee754fpu.git remove tot from FPADD, use chain --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index c47c3eb1..884630e4 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -278,7 +278,6 @@ class FPAddStage0(FPState): def action(self, m): m.next = "add_1" - m.d.sync += self.tot.eq(self.out_tot) m.d.sync += self.z.copy(self.out_z) @@ -603,7 +602,6 @@ class FPADD: m.submodules.fpnum_z = z w = z.m_width + 4 - tot = Signal(w, reset_less=True) # sticky/round/guard, {mantissa} result, 1 overflow of = Overflow() m.submodules.overflow = of @@ -639,7 +637,7 @@ class FPADD: add0 = self.add_state(FPAddStage0(self.width)) add0.set_inputs({"a": a, "b": b}) - add0.set_outputs({"z": z, "tot": tot}) + add0.set_outputs({"z": z}) add0.mod.setup(m, a, b, z, add0.out_z, add0.out_tot) m.submodules.add0 = add0.mod