Altera_Forum
Honored Contributor
16 years agoa problem in using the fifo
Recently, i designed a project, in the project i used fifo ip core. the fifo has wraddr and rdaddr port.
As my understanding , if i read the fifo , these two address should decrease, if i write the fifo , these two address should increase. And i use the signaltap logic analyzer verifed it is right. But when my project runs in the fpga, the fpga is not stable, the problem is caused by the fifo . i use the signaltap test the fifo and found that the fifo 's two address(wraddr and rdaddr)always decreased even i write the fifo . i don't know why? because design time is limited , i have to use the following method to solve this problem: when the fifo is in wrong runing , i reset the fifo. Using this method , i basically solve this problem. Can someone tell me where the fifo 'problem is?