From: Luke Kenneth Casson Leighton Date: Sat, 2 Mar 2019 04:00:38 +0000 (+0000) Subject: add module links (gives useful names) X-Git-Tag: ls180-24jan2020~1778 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7aa9d4daf355080961dfef3d4fdeae70ee784b82;p=ieee754fpu.git add module links (gives useful names) --- 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)