Skip to content

Instantly share code, notes, and snippets.

@sagar5258
Created April 30, 2016 11:33
//Output:
UVM_INFO @ 0: reporter [RNTST] Running test test...
UVM_INFO testbench.sv(117) @ 0: uvm_test_top [uvm_test_top] TEST set_inst_override_by_name
#### Factory Configuration (*)
No instance overrides are registered with this factory
Type Overrides:
Requested Type Override Type
-------------- -------------
A A_ovr
B B_override
All types registered with the factory: 45 total
(types without type names will not be printed)
Type Name
---------
A
A_ovr
B
B_override
B_ovr
environment
snps_uvm_reg_bank_group
snps_uvm_reg_map
test
(*) Types with no associated type name will be printed as <unknown>
####
UVM_INFO testbench.sv(11) @ 0: uvm_test_top.env.a1 [uvm_test_top.env.a1] A new
UVM_INFO testbench.sv(24) @ 0: uvm_test_top.env.a1 [uvm_test_top.env.a1] A_ovr new
UVM_INFO testbench.sv(38) @ 0: reporter [B_override] B new
UVM_INFO testbench.sv(51) @ 0: reporter [B_override] B_ovr new
UVM_INFO testbench.sv(64) @ 0: reporter [B_override] B_override new
UVM_INFO testbench.sv(38) @ 0: reporter [B_override] B new
UVM_INFO testbench.sv(51) @ 0: reporter [B_override] B_ovr new
UVM_INFO testbench.sv(64) @ 0: reporter [B_override] B_override new
UVM_INFO testbench.sv(38) @ 0: reporter [B_ovr] B new
UVM_INFO testbench.sv(51) @ 0: reporter [B_ovr] B_ovr new
UVM_INFO testbench.sv(28) @ 0: uvm_test_top.env.a1 [uvm_test_top.env.a1] HELLO from override class 'A_ovr'
UVM_INFO testbench.sv(68) @ 0: reporter [b1] HELLO from override class 'B_override'
UVM_INFO testbench.sv(68) @ 0: reporter [b2] HELLO from override class 'B_override'
UVM_INFO testbench.sv(55) @ 0: reporter [b3] HELLO from override class 'B_ovr'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment