Five hand-built patterns carry most testbench structure. A disciplined transaction, a factory, a shared config, callbacks and a phased hierarchy compose into one environment, and each pattern resurfaces as a UVM standard.
Lesson | What gets built |
|---|---|
Copy, compare, print and pack on one self-contained transaction. | |
A creator registry with explicit registration and test-time overrides. | |
One shared config with protected construction and freeze before build. | |
Driver hooks with stacked callbacks for injection and sampling. | |
A named tree with build, connect and run waves. |
The object and factory, the config database, the callback system and the component phases. UVM standardizes these five patterns, and the bench already runs their hand-built versions.