create connect_to_next function in NextControl, use it in Stage
[ieee754fpu.git] / src / add / test_buf_pipe.py
index 76c71a8332f44142cf518c3200536b2b817160ac..608046533c06e7e0e21290fdf64ade95a84f43a7 100644 (file)
@@ -252,7 +252,7 @@ class ExampleBufPipe2:
         m.submodules.pipe2 = self.pipe2
 
         # connect inter-pipe input/output valid/ready/data
-        m.d.comb += self.pipe1.connect_next(self.pipe2)
+        m.d.comb += self.pipe1.connect_to_next(self.pipe2)
 
         # inputs/outputs to the module: pipe1 connections here (LHS)
         m.d.comb += self.pipe1.connect_in(self)