UVM environment with coverage for the APB block
Rebuild your APB testbench the industry way: a UVM agent, scoreboard, constrained-random sequences and functional coverage that tells you when you are done.
What this proves to recruiters
- You can use UVM, the methodology most DV teams use.
- You think in coverage, not just test cases.
- You can structure a testbench so others can reuse it.
Skills you will use
- UVM
- Constrained random
- Functional coverage
- SystemVerilog OOP
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- EDA Playground with a UVM-capable simulator
- Verification Academy (free account) for UVM cookbook
Steps
- Create the sequence item: address, data and read or write, with constraints on valid addresses.
- Write the driver, monitor and sequencer, and put them in an agent.
- Write a scoreboard that predicts register values from writes and checks reads.
- Add a covergroup: every register written and read, and data corners (0, all ones).
- Write a random sequence and a directed sequence, each started by its own test.
- Run until coverage reaches 100% and record the numbers in your README.
Make it stand out
- Add the UVM register model (RAL).
- Run regressions with different seeds from a script.
Put it on your resume
Developed a UVM environment (agent, scoreboard, constrained-random sequences) for an APB block and closed functional coverage at 100%.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 3, “UVM methodology”, of the Design verification roadmap. See also how freshers get into design verification trainee jobs.