Q024FreeDesign Verification
FIFO Returns the Wrong Head Entry
Interview prompt
Question
Each column shows one rising clock edge. A legal pop is accepted at C2 while the FIFO head is 0x31. By C3 the live head has advanced to 0x47, but the response to the C2 pop must still return the captured value 0x31. Instead, actual_data at C3 is 0x47. A pop response must use the pre-update rd_ptr and head value from its acceptance edge. Which signal would you trace next to check whether the response addressed the wrong entry?

Choose one
Answer choices
- A. The write-data bus of an unrelated register.
- B. The interrupt enable bit.
- C. The APB PREADY signal.
- D. The pre-update rd_ptr and memory read address captured for the C2 response.
