Professional Documents
Culture Documents
Lect 12 Testbench Build Concepts
Lect 12 Testbench Build Concepts
Connect
10/17/201
Introduction to OVM and UVM 1
4
How are Test benches Built?
▪ Traditional Verilog Testbenches
▪ Module based – Static Components
▪ Simulator deals with evaluations
▪ Tests/Stimulus uses always/forever blocks to
stimulate (mix of time/no-time consuming methods)
▪ Class Based SystemVerilog Testbenches
▪ Testbench Components are Dynamic
▪ These needs to be instantiated after loading up
simulator
▪ Need to define the order of building and connecting
Testbench components
10/17/201
Introduction to OVM and UVM 2
4
OVM/UVM Build and Connect
10/17/201
Introduction to OVM and UVM 3
4
OVM/UVM Test bench Build
10/17/201
Introduction to OVM and UVM 4
4
Testbench Build
10/17/201
Introduction to OVM and UVM 6
4
Example Build Flow
▪ Test class build method gets called first which builds env class
▪ Simplest example with no config objects
▪ https://github.com/VerificationExcellence/UVMReference/b
lob/master/course_examples/simple_build_test.svh
▪ Example build using config objects
▪ https://github.com/VerificationExcellence/UVMReference/b
lob/master/course_examples/simple_build_config_eg.svh
10/17/201
Introduction to OVM and UVM 7
4
Build and Config
10/17/201
Introduction to OVM and UVM 8
4
Building Next Level Hierarchy
10/17/201
Introduction to OVM and UVM 9
4
Adding Virtual Interface
10/17/201
Introduction to OVM and UVM 10
4
DUT-TB Communication
10/17/201
Introduction to OVM and UVM 11
4
Test bench top
▪ https://github.com/VerificationExcellence/UVMRefere
nce/blob/master/course_examples/simple_tb_top_eg.
svh
10/17/201
Introduction to OVM and UVM 12
4