Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFurther puzzles: after a reset (with plenty of cycles after reset goes false) I write 3 bytes in then start reading them out. The first byte is always 0 regardless of what I wrote in. The second byte I read is the first byte I wrote in. As soon as I read the second byte the rdempty signal goes true so my code thinks there are no more bytes. But later when I write more in and then read them out I get that 3rd byte that I originally wrote.
It seems like the internal logic of the fifo is all off by one byte, both what it stores and what the rdempty reports. Am I crazy or what?