cleanup
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 31 Jul 2019 21:40:18 +0000 (22:40 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 31 Jul 2019 21:40:18 +0000 (22:40 +0100)
src/ieee754/fpcommon/postnormalise.py

index d9306f9ec2927c17aedea562ee8b5a8a5511f32e..a19e3fb4b2c304a228a1f9a5a906f6c9fd6ccb92 100644 (file)
@@ -48,12 +48,7 @@ class FPNorm1ModSingle(PipeModBase):
     def elaborate(self, platform):
         m = Module()
 
-        of = OverflowMod("norm1of_")
-
-        #m.submodules.norm1_out_z = self.o.z
-        m.submodules.norm1_out_overflow = of
-        #m.submodules.norm1_in_z = self.i.z
-        #m.submodules.norm1_in_overflow = self.i.of
+        m.submodules.norm1_out_overflow = of = OverflowMod("norm1of_")
 
         i = self.ispec()
         i.of.guard.name = "norm1_i_of_guard"
@@ -61,7 +56,6 @@ class FPNorm1ModSingle(PipeModBase):
         i.of.sticky.name = "norm1_i_of_sticky"
         i.of.m0.name = "norm1_i_of_m0"
         m.submodules.norm1_insel_z = insel_z = FPNumBase(i.z)
-        #m.submodules.norm1_insel_overflow = iof = OverflowMod("iof")
 
         espec = (len(insel_z.e), True)
         mwid = self.o.z.m_width+2