Protected Course Page
Enter the password to view Day 30 of the UVM 30-Day plan.
Day 30: Project Review and Next Steps — What You've Built and Where to Go
A 30-day SystemVerilog/UVM verification series. Thirty days ago you had SystemVerilog knowledge and a testbench to write. Today you have a self-checking, coverage-driven verification environment for a real DUT. This is the last day, and it is a beginning.
You built a UVM testbench. It has agents, sequences, a scoreboard, a reference model, a register model, coverage, virtual sequences, callbacks, drain-time discipline, and a regression. It catches the bugs it is supposed to catch, and it does not pass on a broken DUT. That is the actual bar for a verification engineer, and thirty days ago it was theoretical. Today it is a file tree on your disk.
This final day is about three things: closing out the capstone, preparing for the interview questions that will actually be asked, and mapping what to learn next so that the next thirty days build on this instead of starting over.
1. The Capstone Retrospective
Look at what you built and answer these questions honestly. If any answer is uncomfortable, that is where your next project should focus.
| Question | What a good answer looks like |
|---|---|
| Can you draw the architecture diagram from memory? | Yes, in under five minutes, without looking at your code. |
| Can you explain every component's job in one sentence? | Yes, and a reader of the code could too, because the components are separated by interface, not by accident. |
| If a bug appears in a random test, do you know where to look first? | Yes — the log at the first mismatch, then the waveform at that time. Not "re-run with UVM_HIGH and hope." |
| Does the regression catch a broken DUT? | Yes — you proved it three times by deliberately breaking the DUT. |
| Is the coverage plan complete and closed? | Yes, or the gaps are documented and justified. Not "we're at 92%." |
| Would a teammate be able to extend this in a week? | Yes, if they read the env, the sequence library, and the coverage model — because each is a small self-contained piece. |
If any answer is "no," the fix is not to add code. It is to make the piece smaller, simpler, or better documented. Testbenches that are hard to extend are hard to extend because they have grown into something no one would design from scratch.
2. Interview Preparation — What Actually Gets Asked
UVM interviews are less about what you have memorized and more about how you reason about a testbench you did not design. The questions below are the ones that come up most often, and the ones a thirty-day course should prepare you for.
Architecture questions
- Why is the driver a component and the transaction an object? Components have phases and hierarchy; objects are data. This is the difference between structure and stimulus.
- Why does the scoreboard live in the env and not in an agent? The env owns everything connecting two or more agents. Agents own one interface; they do not know about each other.
- What is the difference between a virtual sequence and a normal sequence? A virtual sequence has no item port; it starts sub-sequences on real sequencers. A normal sequence drives one interface.
Phases and lifecycle
- Why is build_phase top-down? So a parent exists before its children are built; this makes config_db values set in a parent's build available to child's build.
- Why is connect_phase bottom-up? So all components exist before anything tries to connect them.
- What does drain time do? Holds the phase open after the last objection drop so in-flight traffic completes before the sim ends.
TLM and checking
- Why do monitors use analysis ports, not regular TLM ports? Monitors must never block. Analysis ports are non-blocking and broadcast, so a slow subscriber cannot slow the monitor.
- What happens to a transaction after ap.write(tr)? A reference is written, not a copy. All subscribers see the same object unless the monitor creates a fresh one per write.
- What does mirror(status, UVM_CHECK) do? Reads the DUT via the bus, compares against the model's mirror, and reports a mismatch if they disagree.
Factory and config
- Why type_id::create() and not new()? factory create lets the test override the class. new() bypasses the factory entirely.
- Why does a type override silently do nothing? Either the class is not registered, the override was set after create, or new() was used.
- Why does set(this, "*", ...) sometimes break things? Wildcards deliver to every descendant. When the setting is per-instance, use the instance path.
RAL
- What is the difference between poke() and write()? poke uses backdoor access via HDL path; write goes through the bus. write verifies bus behavior; poke does not.
- Why must the DUT and the model reset together? Otherwise the mirror is stale and every subsequent comparison fails.
- What is a W1C field? Write 1 to clear. Declaring it RW is a bug; the model expects the write to store 1, the DUT clears, and every subsequent read mismatches.
3. What to Learn Next
Thirty days is enough to become a productive UVM user. It is not enough to become an expert. The paths below are the ones that add the most capability per unit of time, in order of typical career value.
| Next topic | Why it matters | Prerequisite |
|---|---|---|
| Portable Stimulus (PSS) | The successor to UVM sequences for complex scenarios. Portable across simulators and to emulation. | Comfortable with sequences and constraints |
| Formal verification | Proves properties that simulation can only sample. Increasingly expected of senior verification engineers. | SVA comfort |
| Performance verification | Throughput, latency, and bandwidth verification. Often the difference between a working DUT and a shippable one. | Solid UVM + a real DUT |
| A protocol deep-dive | Choose one — AXI, PCIe, USB, DDR, or Ethernet — and go from user to expert. Expert-level protocol knowledge is where the highest salaries are. | Comfortable with APB/AXI-Lite |
| Emulation and FPGA prototyping | The bridge between simulation and silicon. UVM runs on emulators with some constraints. | UVM + a real DUT |
| Python for verification | Regression dashboards, log parsing, coverage analysis, test generation. The 10x multiplier that is not in the UVM manual. | Any UVM project |
Pick one. The engineers who try to learn all six at once learn none of them. The engineers who pick one, go deep for three months, and then pick the next become the people whose verification sign-off is trusted.
4. What You Should Do This Week
The single biggest risk of a 30-day course is that it ends with good intentions and no action. The countermeasure is small, concrete, done within a week.
- Rebuild the capstone once from scratch. Not to test your memory — to test whether you have internalized the architecture. It will be faster the second time and it will be better.
- Write one Python script that parses your capstone's regression logs and produces the Day 24 dashboard. Even if it is crude. Getting the automation into your bones matters more than getting it perfect.
- Read one real VIP's documentation, even if you do not use it. Understanding how a commercial VIP is structured is half of integration.
- Find one interview question you cannot answer and use it as the seed for the next 30 days of study.
5. The 30-Day Retrospective
Look back at the whole arc.
| Week | What you built | The idea underneath |
|---|---|---|
| Week 1 | Architecture, phases, sequences, TLM, config_db, factory, agents | UVM is boundaries. Every "weird bug" is a boundary violation. |
| Week 2 | Virtual sequences, advanced scoreboards, coverage, callbacks, end-of-test, debugging | Coordination beats cleverness. Debuggability is a feature. |
| Week 3 | RAL: model, map, adapter, predictor, operations, sequences, callbacks | The register model is the DUT's public API; verify it as carefully as the data path. |
| Week 4 | Protocols, multi-agent, regression, coverage closure, VIP, capstone | Real verification is assembly plus discipline, not a single heroic component. |
The arc is not "learn UVM." It is "learn to build a testbench that can be trusted." UVM is the current vocabulary for that. The vocabulary changes every decade; the discipline does not.
6. Final Quiz
Ten questions spanning the whole 30 days. This is the last quiz.
Congratulations
You finished the 30-day UVM verification plan. That is a real accomplishment — most people who start a 30-day course do not finish it. You have a working testbench, a working register model, a working regression, and a mental model for what a UVM environment is supposed to look like.
The next thirty days are yours. The plan above is a suggestion. The only thing that matters is that you keep building. Every UVM expert you will ever meet got there by building testbenches, breaking them, and building them again. There is no shortcut and there is no substitute.
Good luck.
Series: 30 days of SystemVerilog/UVM verification. Day 30 — the beginning.
No comments:
Post a Comment