X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fadd%2Fexample_buf_pipe.py;h=856fc7ab697ecf1ebbbb1dd726f6eb528f1a5613;hb=c3d0590519b298bebb9cb879eb884c6253749eca;hp=45bed19301a5c46b3213c8ae0217405182f6a215;hpb=6ba0c1a42bfc8362af281aaae60858f05acc991b;p=ieee754fpu.git diff --git a/src/add/example_buf_pipe.py b/src/add/example_buf_pipe.py index 45bed193..856fc7ab 100644 --- a/src/add/example_buf_pipe.py +++ b/src/add/example_buf_pipe.py @@ -110,24 +110,48 @@ 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() # <