Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNIOS not reading the right FIFO value
Hello guys, i made a 32bits DCFIFO using the megawizard. I made this wrapper to increment the fifo value by each second (my fifo is running at 50mhz) begin
contador <= contador +...
Altera_Forum
Honored Contributor
15 years agoI recommend that you only allow the FIFO to be read when it's not empty. And if a read occurs when the FIFO is empty you assert waitrequest back to the fabric. Otherwise you may end up reading garbage out of the FIFO or cause it to underflow.