forgot to add submodules
[ieee754fpu.git] / src / add / fmul.py
index 9ed2bf39b9bb67392c602b91484e8b8fdf47ce17..130d49e814d05028f5248206c4e87611e304a35b 100644 (file)
@@ -28,6 +28,10 @@ class FPMUL(FPBase):
         product = Signal(mw)
 
         of = Overflow()
+        m.submodules.of = of
+        m.submodules.a = a
+        m.submodules.b = b
+        m.submodules.z = z
 
         with m.FSM() as fsm:
 
@@ -127,7 +131,7 @@ class FPMUL(FPBase):
             # rounding stage
 
             with m.State("round"):
-                #self.roundz(m, z, of.roundz)
+                self.roundz(m, z, of.roundz)
                 m.next = "corrections"
 
             # ******