Verify a UART with a reference model
Verify a UART design with random data, baud rates and parity, comparing everything it sends against a reference model in the scoreboard.
What this proves to recruiters
- You can verify a design you did not write.
- You use reference models to predict behaviour.
- You find real bugs with random testing.
Skills you will use
- UVM
- Reference models
- Scoreboards
- Debugging
What you need
Nothing to buy: this project only needs a computer and the free software below.
Free software
- EDA Playground
- An open-source UART RTL from GitHub to verify
Steps
- Pick an open-source UART and read its spec as if you had never seen the code.
- Write a verification plan: features, how each will be checked, and coverage points.
- Build the agent to drive bytes and a serial monitor that rebuilds bytes from the TX line.
- Write a reference model that predicts the bits for each byte, baud rate and parity setting.
- Randomise the settings and compare every frame in the scoreboard.
- Insert a bug on purpose (for example a wrong parity bit) and show your testbench catches it.
Make it stand out
- Add error injection: framing and parity errors.
- Write the verification plan as a proper document.
Put it on your resume
Verified a UART with a UVM testbench and reference model across random baud rates and parity; caught injected framing and parity bugs.
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.