From d5bbd15168c3295b8979a6dbb0df126211713e0a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 18 Mar 2019 12:06:43 +0000 Subject: [PATCH] clarify comments --- src/add/example_buf_pipe.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/add/example_buf_pipe.py b/src/add/example_buf_pipe.py index 37cf38ba..0f4fb20c 100644 --- a/src/add/example_buf_pipe.py +++ b/src/add/example_buf_pipe.py @@ -110,25 +110,21 @@ class BufferedPipeline: | | +-> r_data -+ """ - # input: strobe comes in from previous stage, ready comes in from next - self.i = IOAckIn() - #self.i.p_valid = Signal() # >>in - comes in from PREVIOUS stage - #self.i.n_ready = Signal() # in<< - comes in from the NEXT stage + self.stage = stage - # output: strobe goes out to next stage, ready comes in from previous + # set up input and output IO ACK (prev/next ready/valid) + self.i = IOAckIn() self.o = IOAckOut() - #self.o.n_valid = Signal() # out>> - goes out to the NEXT stage - #self.o.p_ready = Signal() # <