DescriptionQ095
Q095DVASIC interview problem
FIFO Returns the Wrong Head Entry
TechniquesDVWaveform DebuggingFIFO
DifficultyEasy
TopicWaveform Debugging
LanguageSystemVerilog
Format4 choices
01
Problem
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?
02
