create multipipe from former multi-input Pipeline
[ieee754fpu.git] / src / add / example_buf_pipe.py
index 8c4cae44ce9d7e25256b0c22d34813362a5a2f43..7f23f366a94032e98d0b0ac4e17669ee038c90d4 100644 (file)
@@ -244,7 +244,7 @@ class StageChain:
 class PipelineBase:
     """ Common functions for Pipeline API
     """
-    def __init__(self, stage, in_multi=None):
+    def __init__(self, stage=None, in_multi=None):
         """ pass in a "stage" which may be either a static class or a class
             instance, which has four functions (one optional):
             * ispec: returns input signals according to the input specification