Forum Discussion
Altera_Forum
Honored Contributor
15 years agoReset FIFO from NIOS
Hi!
I have a sopc built system with a fifo, dma and the nios processor. With this I am transferring data from the fifo (that receives data from a custom made data generator) to sdram and further through ethernet. In software, I want to be able to run a system reset that resets the nios processor AND the fifo buffer. I have managed to reset the nios, but the fifo then contains "old" data after the reset. Is it possible in any way to empty the fifo buffer? Thanks in advance for any answers! :-)3 Replies
- Altera_Forum
Honored Contributor
You could always read it until empty :-)
- Altera_Forum
Honored Contributor
Try building you own component using altera fifo megafunction inside it and triggering the reset by a particular reset access.
- Altera_Forum
Honored Contributor
Thank you guys! I'll give it a try.