Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI noticed that wrusedw[] is more acurate, but if the fifo component is internaly protected from overflow than as soon as wrfull is asserted no more bytes are written. So it trully means that if I want to store 4 bytes I need to setup 7-8 bytes fifo component... that is wrong. Looks like I am forced to build 8 words fifo and use wrusedw[2] to indicate 4th write.
I see the "'last three words of the FIFO may not be usable because of the synchronization pipelines between the clock domains" in the mega wizard configuration window... I missed this before - thanks. I am using original Cyclone device, we can call it Cyclone I :) Not sure why the behaviour of the fifo component would depend on the device I am using... especially if I am using flip-flops and not memory to build the fifo component. Do you know why?