protecteduvm_sequence_itemresponse_queue[$];protectedintresponse_queue_depth=8;protectedbitresponse_queue_error_report_disabled;// Variable: do_not_randomize//// If set, prevents the sequence from being randomized before being executed// by the `uvm_do*() and `uvm_rand_send*() macros,// or as a default sequence.//bitdo_not_randomize;protectedprocessm_sequence_process;localbitm_use_response_handler;staticstringtype_name="uvm_sequence_base";// bits to detect if is_relevant()/wait_for_relevant() are implemented
// from the driver than get_response calls are made. Setting value to 0// disables these errors, while setting it to 1 enables them.functionvoidset_response_queue_error_report_disabled(bitvalue);response_queue_error_report_disabled=value;endfunction// Function: get_response_queue_error_report_disabled//// When this bit is 0 (default value), error reports are generated when// the response queue overflows. When this bit is 1, no such error// reports are generated.functionbitget_response_queue_error_report_disabled();returnresponse_queue_error_report_disabled;endfunction// Function: set_response_queue_depth//// The default maximum depth of the response queue is 8. These method is used// to examine or change the maximum depth of the response queue.//// Setting the response_queue_depth to -1 indicates an arbitrarily deep// response queue. No checking is done.functionvoidset_response_queue_depth(intvalue);response_queue_depth=value;endfunction
protecteduvm_sequence_itemresponse_queue[$];protectedintresponse_queue_depth=8;protectedbitresponse_queue_error_report_enabled;// Variable -- NODOCS -- do_not_randomize//// If set, prevents the sequence from being randomized before being executed// by the `uvm_do*() and `uvm_rand_send*() macros,// or as a default sequence.//// @uvm-compat , provided for compatibility with 1.2bitdo_not_randomize;protectedprocessm_sequence_process;localbitm_use_response_handler;// bits to detect if is_relevant()/wait_for_relevant() are implementedlocalbitis_rel_default;
// '1' enables them.// @uvm-ieee 1800.2-2020 auto 14.2.7.5functionvoidset_response_queue_error_report_enabled(bitvalue);response_queue_error_report_enabled=value;endfunction:set_response_queue_error_report_enabled// @uvm-compat provided for compatibility with 1.2functionvoidset_response_queue_error_report_disabled(bitvalue);response_queue_error_report_enabled=~value;endfunction:set_response_queue_error_report_disabled// Function -- NODOCS -- get_response_queue_error_report_enabled//// When this bit is '1' (default value), error reports are generated when// the response queue overflows. When this bit is '0', no such error// reports are generated.// @uvm-ieee 1800.2-2020 auto 14.2.7.4functionbitget_response_queue_error_report_enabled();returnresponse_queue_error_report_enabled;endfunction:get_response_queue_error_report_enabled// @uvm-compat provided for compatibility with 1.2functionbitget_response_queue_error_report_disabled();return~response_queue_error_report_enabled;endfunction:get_response_queue_error_report_disabled// Function -- NODOCS -- set_response_queue_depth//// The default maximum depth of the response queue is 8. These method is used// to examine or change the maximum depth of the response queue.//// Setting the response_queue_depth to -1 indicates an arbitrarily deep// response queue. No checking is done.// @uvm-ieee 1800.2-2020 auto 14.2.7.7functionvoidset_response_queue_depth(intvalue);response_queue_depth=value;endfunction