rename p_o_ready to d_ready
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Apr 2019 02:46:03 +0000 (03:46 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 6 Apr 2019 02:46:03 +0000 (03:46 +0100)
src/add/singlepipe.py
src/add/test_buf_pipe.py

index 7f3abc211846f9375d736a013130897c9a61dae0..42b20654eeb12b32d9efb1bd98da2d24dfce385f 100644 (file)
@@ -530,7 +530,7 @@ class ControlBase:
             return m
 
         # intercept the previous (outgoing) "ready", combine with stage ready
-        m.d.comb += self.p.s_o_ready.eq(self.p._o_ready & self.stage.p_o_ready)
+        m.d.comb += self.p.s_o_ready.eq(self.p._o_ready & self.stage.d_ready)
 
         # intercept the next (incoming) "ready" and combine it with data valid
         m.d.comb += self.n.d_valid.eq(self.n.i_ready & self.stage.d_valid)
index 29d30a889385bc501a25c862bc98380e93733111..82c8ff79ccc55e3e531e7a68bc5bc6c044226e21 100644 (file)
@@ -597,7 +597,7 @@ class ExampleStageDelayCls(StageCls):
         return Signal(16, name="example_output_signal")
 
     @property
-    def p_o_ready(self):
+    def d_ready(self):
         return Const(1)
         return self.count == 2