increase number of fpmul operands to 3
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 11 Aug 2019 12:35:24 +0000 (13:35 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 11 Aug 2019 12:35:24 +0000 (13:35 +0100)
src/ieee754/fpmul/pipeline.py

index 22101b94d6e3c1f8d30b8a4f013f156cd1b6fe2d..4dc3f5c1a16f2bf3279a97e3c8a61be217a324ce 100644 (file)
@@ -80,6 +80,6 @@ class FPMULMuxInOut(ReservationStations):
     def __init__(self, width, num_rows, op_wid=0):
         self.id_wid = num_bits(num_rows)
         self.op_wid = op_wid
-        self.pspec = PipelineSpec(width, self.id_wid, self.op_wid, n_ops=2)
+        self.pspec = PipelineSpec(width, self.id_wid, self.op_wid, n_ops=3)
         self.alu = FPMULBasePipe(self.pspec)
         ReservationStations.__init__(self, num_rows)