Concept Flow - FIFO full and empty flags
Start
Check write pointer == read pointer?
Is FIFO empty?
Set empty=1
Allow write?
Update pointers
Repeat checks
The FIFO uses write and read pointers to track data. When pointers are equal, FIFO can be empty or full, distinguished by additional logic. Flags full and empty are set accordingly.
