return o
+# a dummy class that may have stuff assigned to instances once created
class PlaceHolder: pass
""" returns an output signal which will happen to contain the sum
of the two inputs
"""
- return Signal(16)
+ return Signal(16, name="add2_out")
def process(self, i):
""" process the input data (sums the values in the tuple) and returns it
m = ControlBase.elaborate(self, platform)
pipe1 = FIFOTest16()
- pipe2 = ExamplePassAdd1Pipe()
+ pipe2 = FIFOTest16()
+ pipe3 = ExamplePassAdd1Pipe()
m.submodules.pipe1 = pipe1
m.submodules.pipe2 = pipe2
+ m.submodules.pipe3 = pipe3
- m.d.comb += self.connect([pipe1, pipe2])
+ m.d.comb += self.connect([pipe1, pipe2, pipe3])
return m