Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Using /FF as a Half Full flag in depth cascaded FIFO's
Question: If cascading two FIFO's in depth, can the full flag (/FF) of the first FIFO be used as the half full flag for both FIFO's?
No, this is not possible. The reason is that the data in a FIFO does not actually move. For example, if you have two 32K deep FIFOs cascaded by depth and you write 48K words, then you will have filled the first FIFO completely and the 16K of the second FIFO. In this case, the full flag of the first FIFO will be asserted because it is indeed full, while the full flag of the second FIFO will not be asserted. This would seem to be consistent with the behavior we want. However, the problem arrives when you read out of the FIFO. For example, say now that we read 16K words. These 16K words will come from the first FIFO, leaving 16K words left in the first FIFO and another 16K words in the second FIFO. Now, the full flag of the first FIFO will be disabled, even though as a whole we are indeed half full. This is why you cannot use the full flag for this purpose.