From b832ccb1d4473c8c967e500493a28c3f232498a4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 27 Feb 2019 13:21:22 +0000 Subject: [PATCH] pass output from normalise_2 to input of roundz --- 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 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)) -- 2.30.2