make Stage.process optional
[ieee754fpu.git] / src / add / singlepipe.py
index 5f7dc66ba23679ddb5b783ac395d99782bfbc7b2..5808d8a9a730c8eed7c688384dd723812ce0060a 100644 (file)
@@ -500,11 +500,9 @@ class PassThroughStage(StageCls):
         (many APIs would potentially use a static "wrap" method in e.g.
          StageCls to achieve a similar effect)
     """
-    def __init__(self, iospecfn):
-        self.iospecfn = iospecfn
+    def __init__(self, iospecfn): self.iospecfn = iospecfn
     def ispec(self): return self.iospecfn()
     def ospec(self): return self.iospecfn()
-    def process(self, i): return i
 
 
 class PassThroughHandshake(ControlBase):