id_wid (muxid bitwidth) based on num_rows, not the data width
[ieee754fpu.git] / src / ieee754 / fpdiv / pipeline.py
index bcd99e26dddcffbf35aa6cfe75511312149022d8..4330df44525807d38fac114b462a035bd5f6996c 100644 (file)
@@ -156,7 +156,7 @@ class FPDIVMuxInOut(ReservationStations):
     """
 
     def __init__(self, width, num_rows, op_wid=2):
-        self.id_wid = num_bits(width)  # FIXME: shouldn't this be num_rows?
+        self.id_wid = num_bits(num_rows)
         self.pspec = PipelineSpec(width, self.id_wid, op_wid)
         # get the standard mantissa width, store in the pspec
         fmt = FPFormat.standard(width)