whoops norm2 using norm1 mod
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Feb 2019 12:29:32 +0000 (12:29 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 27 Feb 2019 12:29:32 +0000 (12:29 +0000)
src/add/nmigen_add_experiment.py

index 513ded1176ad0564fbc1a2043a3ec1b5f13e7442..fdec8d17cdbe6b497e5d87487f395b640c1fcf74 100644 (file)
@@ -375,7 +375,7 @@ class FPNorm2(FPState):
 
     def __init__(self, width):
         FPState.__init__(self, "normalise_2")
-        self.mod = FPNorm1Mod(width)
+        self.mod = FPNorm2Mod(width)
         self.out_norm = Signal(reset_less=True)
         self.out_z = FPNumBase(width)
         self.out_of = Overflow()