Q088FreeDesign Verification
FIFO Count Changes on Simultaneous Push and Pop
Interview prompt
Question
The FIFO is neither full nor empty, so push and pop are accepted whenever asserted. count shows occupancy after each edge. An accepted push adds one entry, an accepted pop removes one, and simultaneous accepted push and pop leave count unchanged. What causes the mismatch at C3?

Choose one
Answer choices
- A. The first push at C1 is counted twice.
- B. The FIFO rejects both operations and should reduce count to two.
- C. The pop occurs while the FIFO is empty.
- D. The logic counts the push but fails to subtract the simultaneous pop.
