missing arg in InputData.eq_from
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Aug 2019 10:37:35 +0000 (11:37 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Aug 2019 10:37:35 +0000 (11:37 +0100)
src/ieee754/part_mul_add/multiply.py

index 4594ca35b4a407b39627c7680b30fb6043a12480..c4773d3fc2cbcd0064eaee75ac6733fe952941e1 100644 (file)
@@ -1126,7 +1126,7 @@ class InputData:
             self.part_pts[i] = Signal(name=f"part_pts_{i}")
         self.part_ops = [Signal(2, name=f"part_ops_{i}") for i in range(8)]
 
-    def eq_from(self, part_pts, inputs, part_ops):
+    def eq_from(self, part_pts, a, b, part_ops):
         return [self.part_pts.eq(part_pts)] + \
                [self.a.eq(a), self.b.eq(b)] + \
                [self.part_ops[i].eq(part_ops[i])