RTL Studio Open IDE

5.5 · UVM CLASS

Mission: APB register field coverage 100%

Exercise all APB register fields via UVM RAL and reach 100% field coverage with LCOV.

Video coming soon. This lesson page stays at the same URL when the lecture publishes.

What you practice

Mission: APB register field coverage 100% (5.5). Exercise all APB register fields via UVM RAL and reach 100% field coverage with LCOV. It is in RAL coverage — Part 5 · AMBA APB and UVM RAL of the UVM Masterclass. APB protocol, register abstraction, and the roadmap to AXI.

The UVM bench compiles in that same browser SystemVerilog simulator. You edit the test in the IDE, run Verilator, and read the log beside the waveform.

Run it in the Verilog IDE

  1. Open the UVM workspace in the IDE. The DUT and the testbench compile together in the browser.
  2. Run the SystemVerilog simulation with Verilator and read the phase and scoreboard lines in the log.
  3. When the check is on pins rather than a print, open the VCD next to that log.
  4. Edit the sequence, driver, or scoreboard in the IDE and rerun. You stay in the same simulator.

The lesson is done when the simulation matches Mission: APB register field coverage 100%. Change the source, run the Verilog simulator again, and read the waveform without leaving the IDE. Simulation guide · Yosys guide.