use PassThroughStage instead of making one
[ieee754fpu.git] / src / add / singlepipe.py
index 775081f3dddf3733be154c6a6467f1e081c55669..28a3810c7188d02d0367edc5527eba6e1d644b1b 100644 (file)
@@ -641,7 +641,7 @@ class PassThroughStage(StageCls):
     """ a pass-through stage which has its input data spec equal to its output,
         and "passes through" its data from input to output.
     """
-    def __init__(self, iospec):
+    def __init__(self, iospecfn):
         self.iospecfn = iospecfn
     def ispec(self): return self.iospecfn()
     def ospec(self): return self.iospecfn()