26 lines
810 B
Systemverilog
26 lines
810 B
Systemverilog
`ifndef TEST_SIMPLE_2_SV
|
|
`define TEST_SIMPLE_2_SV
|
|
|
|
class test_simple_2 extends test_base;
|
|
|
|
`uvm_component_utils(test_simple_2)
|
|
|
|
function new(string name = "test_simple_2", uvm_component parent = null);
|
|
super.new(name,parent);
|
|
endfunction : new
|
|
|
|
function void build_phase(uvm_phase phase);
|
|
super.build_phase(phase);
|
|
|
|
// the sequencer lives at env.agent.seqr (the husk path "seqr.main_phase"
|
|
// never matched, so no sequence ran)
|
|
uvm_config_db#(uvm_object_wrapper)::set(this,
|
|
"env.agent.seqr.main_phase",
|
|
"default_sequence",
|
|
calc_simple_seq::type_id::get());
|
|
endfunction : build_phase
|
|
|
|
endclass
|
|
|
|
`endif
|