Altera_Forum
Honored Contributor
9 years agoavalon streaming pipeline and ready cycles
Hello,
Good day! hope you are all doing great!! :) I have a problem of creating avalon streaming component. Building piplelined delayed component that has both source and sink ports and support backpressure to deal with TSE ip core. In order to do that I created a VHDL file and created a new component in QSys, define the st signals such as data, valid, ready, startofpacket and endofpacket signals for input and output. I looked into qsys avst delay but unfortunetly it doesnt support backpressure. Do I need to add Timing Adapters before and after my avst component pipelined stages, if so and how to do that? In the code, I check if the in_valid signal is asserted and then just pass the data, startofpacket and endofpacket signals through pipelined stages(N stages). what i notice is tha packets flow correctly with lower burst chunks, but when I have large burst, it starts to lose some portion of packets or overwrite others. So, I believe there's something I miss with dealing with ready signal and ready latency as well. What I want to do in clear words is to have a core between two streaming cores as Qsys streaming Delay Stage that receive streamed data from sink port, process it and send it to the source port. and that processing takes some clocks that why I need it pipelined. Thank you in advance. it would be greatly appreciated Kind regards,