switch to exact version of cython
[ieee754fpu.git] / src / ieee754 / pipeline.py
index 8a9c408ce1992d4f4c60e86190d0bec2c4c3238d..231eec6c30e1127a88310ba98c94c5c57375ed31 100644 (file)
@@ -22,13 +22,15 @@ class PipelineSpec:
 
     """
 
-    def __init__(self, width, id_width, op_wid=0, opkls=None, pipekls=None):
+    def __init__(self, width, id_width, op_wid=0, opkls=None,
+                       pipekls=None, n_ops=2):
         """ Create a PipelineSpec. """
         self.width = width
         self.id_wid = id_width
         self.op_wid = op_wid
         self.opkls = opkls
         self.pipekls = pipekls or SimpleHandshakeRedir
+        self.n_ops = n_ops
         self.stage = None
         self.core_config = None
         self.fpformat = None