Hardware interview practice
FIFO Returns the Wrong Head Entry
Each column is one rising clock edge. A legal pop is accepted at C2 while the pre-pop 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 pre-pop value 0x31. Instead, actual_data at C3 is 0x47. Rule to apply: A pop response must use the pre-update rd_ptr and head value from its acceptance edge, not the live head after the pointer advances. Which signal should be traced next to test whether the wrong entry was addressed?
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.
