From: Luke Kenneth Casson Leighton Date: Mon, 18 Mar 2019 12:06:43 +0000 (+0000) Subject: clarify comments X-Git-Tag: ls180-24jan2020~1647 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5bbd15168c3295b8979a6dbb0df126211713e0a;p=ieee754fpu.git clarify comments --- 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() # <