Async FIFO Verification, Part 2: Bugs That Only Show Up Across Clocks
Async FIFO verification, part 2: cross-clock bugs that pass a scoreboard, flag-lateness SVA, a Gray check on what crosses, 4 clock ratios and 14 VCS runs with planted bugs.
Async FIFO verification, part 2: cross-clock bugs that pass a scoreboard, flag-lateness SVA, a Gray check on what crosses, 4 clock ratios and 14 VCS runs with planted bugs.
Async FIFO verification, part 1: Gray-coded pointers, the full and empty flags, a verification plan and a starter UVM bench with real VCS logs.
A divider and a PLL both make new clocks from one reference, but you cannot check them the same way. A UVM bench with three planted bugs shows why.
In short: A clock monitor is a reusable SystemVerilog/UVM component that watches a clock signal and automatically checks its frequency, duty cycle, and on-the-fly switching, and flags glitches or timeouts. Because it is built as a uvm_monitor inside a uvm_agent, you can plug it into any UVM environment and verify complex clock systems without writing…