From 7aa9d4daf355080961dfef3d4fdeae70ee784b82 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 2 Mar 2019 04:00:38 +0000 Subject: [PATCH] add module links (gives useful names) --- src/add/nmigen_add_experiment.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index 6b980d2c..78f9e52f 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -563,10 +563,12 @@ class FPNorm1Mod: m.submodules.norm1_out_overflow = self.out_of m.submodules.norm1_temp_z = self.temp_z m.submodules.norm1_temp_of = self.temp_of + m.submodules.norm1_in_z = self.in_z + m.submodules.norm1_in_overflow = self.in_of in_z = FPNumBase(self.width, False) in_of = Overflow() - m.submodules.norm1_in_z = in_z - m.submodules.norm1_in_overflow = in_of + m.submodules.norm1_insel_z = in_z + m.submodules.norm1_insel_overflow = in_of # select which of temp or in z/of to use with m.If(self.in_select): m.d.comb += in_z.copy(self.in_z) -- 2.30.2