Forum Discussion
Altera_Forum
Honored Contributor
14 years agoclearing fifo and blocking call to fifo
Hi, I have an avalon-ST source streaming data into a onchip FIFO (ST input & MM output). Currently the Nios reads blocks of data using a call to 'altera_avalon_fifo_read_fifo()' and places it ...
Altera_Forum
Honored Contributor
14 years agoAnswering the 2nd question: Loop reading the fifo status until it reports 'data available'. I guess the altera_avalon_fifo_read_fifo() returns the amount read?