From: Luke Kenneth Casson Leighton Date: Wed, 27 Feb 2019 13:21:22 +0000 (+0000) Subject: pass output from normalise_2 to input of roundz X-Git-Tag: ls180-24jan2020~1812 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b832ccb1d4473c8c967e500493a28c3f232498a4;p=ieee754fpu.git pass output from normalise_2 to input of roundz --- diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 5abb0fda..555ea377 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -625,9 +625,9 @@ class FPADD: m.submodules.normalise_2 = n2.mod rn = self.add_state(FPRound(self.width)) - rn.set_inputs({"z": z, "of": of}) # XXX Z as output + rn.set_inputs({"z": n2.out_z, "of": of}) # XXX Z as output rn.set_outputs({"z": z}) # XXX Z as output - rn.mod.setup(m, z, rn.out_z, of) + rn.mod.setup(m, n2.out_z, rn.out_z, of) m.submodules.roundz = rn.mod cor = self.add_state(FPCorrections(self.width))