Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFIFO into SOPC PIO
I'm currently attempting to gather the output from an FFT, and pass it into Nios for processing etc., the output comes in bursts of 8192 12-bit values. The FFT output running into a DCFIFO, wi...
Altera_Forum
Honored Contributor
14 years agoDon't use a PIO. Expose the FIFO directly to Nios II so that you will read the correct number of samples out of the FIFO. You can tie the FIFO empty signal to waitrequest to make sure you don't attempt to read nonexistant samples. The FIFO output connects directly to readdata and you pop the FIFO with read and not empty assumimg you are using a lookahead FIFO.