From d7b8cc01c5cf96424152812cb95044c017b995af Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 27 Feb 2019 12:31:15 +0000 Subject: [PATCH] name modules correctly --- src/add/nmigen_add_experiment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add/nmigen_add_experiment.py b/src/add/nmigen_add_experiment.py index fdec8d17..b3a4897b 100644 --- a/src/add/nmigen_add_experiment.py +++ b/src/add/nmigen_add_experiment.py @@ -351,10 +351,10 @@ class FPNorm2Mod: def elaborate(self, platform): m = Module() - m.submodules.norm1_in_overflow = self.in_of - m.submodules.norm1_out_overflow = self.out_of - m.submodules.norm1_in_z = self.in_z - m.submodules.norm1_out_z = self.out_z + m.submodules.norm2_in_overflow = self.in_of + m.submodules.norm2_out_overflow = self.out_of + m.submodules.norm2_in_z = self.in_z + m.submodules.norm2_out_z = self.out_z m.d.comb += self.out_z.copy(self.in_z) m.d.comb += self.out_of.copy(self.in_of) m.d.comb += self.out_norm.eq(self.in_z.exp_lt_n126) -- 2.30.2