Q136FreeDesign Verification
Plan verification for an asynchronous FIFO
Interview prompt
Question
Create a verification plan for an eight-entry asynchronous FIFO. The clocks are unrelated, and full and empty may update after the synchronization latency allowed by the specification. For this exercise reset is a coordinated flush: one common logical reset asserts both domain reset pins together before traffic, and each release is synchronized locally. Configure the read monitor for the documented memory mode: first-word-fall-through data is sampled before the accepted read edge; registered-read data is captured at its documented response latency. Do not infer read timing from the pointer implementation.
What to cover
Requirements
- Exercise assertion and release of reset in both domains, including reset while data is stored.
- Sweep clock ratios, relative phase, and drifting phase.
- Model only accepted writes and reads, and compare read data in order.
- Cover empty/full boundaries, pointer wrap, simultaneous activity, overflow attempts, and underflow attempts.
