Code Browser Pages:
| //////////////////////////////////////////////// ////s~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s//// ////s www.testbench.in s//// ////s s//// ////s OVM Tutorial s//// ////s s//// ////s~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s//// //////////////////////////////////////////////// class monitor extends ovm_monitor; integer int_cfg; string str_cfg; `ovm_component_utils_begin(monitor) `ovm_field_int(int_cfg, OVM_DEFAULT) `ovm_field_string(str_cfg, OVM_DEFAULT) `ovm_component_utils_end function new(string name, ovm_component parent); super.new(name, parent); endfunction function void build(); super.build(); endfunction endclass |