8 typedef uvm_component_registry #(
cl_scb_test_cmp_ooo #(ATYPE, suffix), $sformatf(
"cl_scb_test_cmp_ooo_%s", suffix)) type_id;
10 static function type_id get_type();
11 return type_id::get();
14 virtual function uvm_object_wrapper get_object_type();
15 return type_id::get();
21 extern function new(
string name =
"cl_scb_test_cmp_ooo", uvm_component parent = null);
22 extern virtual function void pre_build();
26 extern virtual function void drive_stimuli(
string queue,
string producer, stim_wrapper stim);
30 function cl_scb_test_cmp_ooo::new(
string name =
"cl_scb_test_cmp_ooo", uvm_component parent = null);
31 super.new(name, parent);
34 function void cl_scb_test_cmp_ooo::pre_build();
36 this.syoscb_cfgs.syoscb_cfg[0].set_compare_type(pk_syoscb::SYOSCB_COMPARE_OOO);
37 endfunction: pre_build
39 function void cl_scb_test_cmp_ooo::drive_stimuli(
string queue,
string producer, stim_wrapper stim);
40 if(queue ==
"Q2") begin
44 foreach(stim.items[i]) begin
45 scb_env.syoscb[0].add_item(queue, producer, stim.items[i]);
47 endfunction: drive_stimuli
An "a" type item which used a mix of do_compare implementation and field macros.
A "b" type item which used a mix of do_compare implementation and field macros.
Base class for field macro/manual do_compare comparison tests.
A "b" type item which used a manual do_compare implementation instead of field macros.
An "a" type item which used a manual do_compare implementation instead of field macros.
A "b" type item which used a field macros instead of manually implementing do_compare.
An "a" type item which used a field macros instead of manually implementing do_compare.
Base class for specializations of cl_scb_test_cmp_base using OOO compare.