X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fadd%2Fexample_buf_pipe.py;h=856fc7ab697ecf1ebbbb1dd726f6eb528f1a5613;hb=c3d0590519b298bebb9cb879eb884c6253749eca;hp=37cf38ba769977a1f3c639658d3c386f847a1842;hpb=47537cef175dc213da2bb76ddadbfd38d6bee619;p=ieee754fpu.git diff --git a/src/add/example_buf_pipe.py b/src/add/example_buf_pipe.py index 37cf38ba..856fc7ab 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() # <