ovm_component Class Reference

Inheritance diagram for class ovm_component:

List of all members.



Public Member Functions

function void  accept_tr ( ovm_transaction tr, time accept_time = 0 )
virtual task   all_dropped ( ovm_objection objection, ovm_object source_obj, int count )
function void  apply_config_settings ( bit verbose = 0 )
function integer  begin_child_tr ( ovm_transaction tr, integer parent_handle = 0, string stream_name = "main", string label = "", string desc = "", time begin_time = 0 )
function integer  begin_tr ( ovm_transaction tr, string stream_name = "main", string label = "", string desc = "", time begin_time = 0 )
function void  build ( )
function void  check ( )
function void  check_config_usage ( bit recurse = 1 )
function ovm_object  clone ( )
function void  configure ( )
function void  connect ( )
function ovm_object  create ( string name = "" )
function ovm_component  create_component ( string requested_type_name, string name )
function ovm_object  create_object ( string requested_type_name, string name = "" )
function ovm_component  create_unit ( string type_name, string inst_name )
function void  do_flush ( )
function void  do_func_phase ( ovm_phase phase )
function void  do_kill_all ( )
function void  do_print ( ovm_printer printer )
function void  do_resolve_bindings ( )
task   do_task_phase ( ovm_phase phase )
virtual function void  dropped ( ovm_objection objection, ovm_object source_obj, int count )
function void  end_of_elaboration ( )
function void  end_tr ( ovm_transaction tr, time end_time = 0, bit free_handle = 1 )
function void  export_connections ( )
function void  extract ( )
static function ovm_component  find_component ( string comp_match )
static function void  find_components ( string comp_match, ref ovm_component comps[$] )
function void  flush ( )
function ovm_component  get_child ( string name )
static function ovm_component  get_component ( int ele )
function bit  get_config_int ( string field_name, inout ovm_bitstream_t value )
function bit  get_config_object ( string field_name, inout ovm_object value, input bit clone )
function bit  get_config_string ( string field_name, inout string value )
function int  get_first_child ( ref string name )
function string  get_full_name ( )
function int  get_next_child ( ref string name )
function int  get_num_children ( )
static function int  get_num_components ( )
function ovm_component  get_parent ( )
static function void  global_stop_request ( )
function int  has_child ( string name )
function void  import_connections ( )
function void  kill ( )
function ovm_component  lookup ( string name )
function void  new ( string name, ovm_component parent )
function void  post_new ( )
function void  pre_run ( )
function void  print_config_settings ( string field = "", ovm_component comp = null, bit recurse = 0 )
function void  print_override_info ( string requested_type_name, string name = "" )
virtual function void  raised ( ovm_objection objection, ovm_object source_obj, int count )
function integer  record_error_tr ( string stream_name = "main", ovm_object info = null, string label = "error_tr", string desc = "", time error_time = 0, bit keep_active = 0 )
function integer  record_event_tr ( string stream_name = "main", ovm_object info = null, string label = "event_tr", string desc = "", time event_time = 0, bit keep_active = 0 )
function void  report ( )
function void  resolve_bindings ( )
task   restart ( )
task   resume ( )
task   run ( )
function void  set_config_int ( string inst_name, string field_name, ovm_bitstream_t value )
function void  set_config_object ( string inst_name, string field_name, ovm_object value, bit clone = 1 )
function void  set_config_string ( string inst_name, string field_name, string value )
function void  set_inst_override ( string relative_inst_path, string original_type_name, string override_type_name )
function void  set_inst_override_by_type ( string relative_inst_path, ovm_object_wrapper original_type, ovm_object_wrapper override_type )
function void  set_int_local ( string field_name, ovm_bitstream_t value, bit recurse = 1 )
function void  set_name ( string name )
function void  set_report_default_file_hier ( OVM_FILE file )
function void  set_report_id_action_hier ( string id, ovm_action action )
function void  set_report_id_file_hier ( string id, OVM_FILE file )
function void  set_report_severity_action_hier ( ovm_severity severity, ovm_action action )
function void  set_report_severity_file_hier ( ovm_severity severity, OVM_FILE file )
function void  set_report_severity_id_action_hier ( ovm_severity severity, string id, ovm_action action )
function void  set_report_severity_id_file_hier ( ovm_severity severity, string id, OVM_FILE file )
function void  set_report_verbosity_level_hier ( int verbosity )
static function void  set_type_override ( string original_type_name, string override_type_name, bit replace = 1 )
static function void  set_type_override_by_type ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, bit replace = 1 )
function void  start_of_simulation ( )
function string  status ( )
task   stop ( string ph_name )
task   suspend ( )

Public Attributes

static bit  m_config_set = 1; 
ovm_phase  m_curr_phase = null; 
string  m_name 
ovm_component  m_parent 
static bit  print_config_matches = 0; 
bit  print_enabled = 1; 
int unsigned  recording_detail = OVM_NONE; 

Protected Member Functions

function void  do_accept_tr ( ovm_transaction tr )
function void  do_begin_tr ( ovm_transaction tr, string stream_name, integer tr_handle )
function void  do_end_tr ( ovm_transaction tr, integer tr_handle )
function integer  m_begin_tr ( ovm_transaction tr, integer parent_handle = 0, bit has_parent = 0, string stream_name = "main", string label = "", string desc = "", time begin_time = 0 )

Protected Attributes

protected int  enable_stop_interrupt = 0; 
protected ovm_object_string_pool  event_pool 
protected bit  m_build_done = 0; 
protected ovm_component  m_children [string] 
protected ovm_component  m_children_by_handle [ ovm_component ] 
protected ovm_config_setting  m_configuration_table [$] 
protected event  m_kill_request 
protected process  m_phase_process 


Member Function Documentation

  function void
 ovm_component::accept_tr

 (  ovm_transaction tr , time accept_time = 0  ) 

 virtual task
 ovm_component::all_dropped

 (  ovm_objection objection , ovm_object source_obj , int count  ) 


 Superseding tasks 
 ovm_root :: all_dropped 

  function void
 ovm_component::apply_config_settings

 (  bit verbose = 0  ) 

  function integer
 ovm_component::begin_child_tr

 (  ovm_transaction tr , integer parent_handle = 0, string stream_name = "main", string label = "", string desc = "", time begin_time = 0  ) 

  function integer
 ovm_component::begin_tr

 (  ovm_transaction tr , string stream_name = "main", string label = "", string desc = "", time begin_time = 0  ) 

  function void
 ovm_component::build

 (   ) 


 Superseding functions 
 svt_agent :: build 
 svt_driver :: build 
 svt_env :: build 
 svt_monitor :: build 
 ovm_port_component_base :: build 
 ovm_sequencer_base :: build 
 ovm_sequencer_param_base :: build 
 ovm_sequencer :: build 
 svt_sequencer :: build 
 svt_mem_sequencer :: build 
 svt_component :: build 
 svt_traffic_arbiter :: build 
 svt_xactor :: build 
 tlm_fifo_base :: build 

  function void
 ovm_component::check

 (   ) 

  function void
 ovm_component::check_config_usage

 (  bit recurse = 1  ) 

  function ovm_object
 ovm_component::clone

 (   ) 


 Superseded functions 
 ovm_object :: clone 

  function void
 ovm_component::configure

 (   ) 

  function void
 ovm_component::connect

 (   ) 


 Superseding functions 
 svt_agent :: connect 
 ovm_algorithmic_comparator :: connect 
 svt_env :: connect 
 ovm_in_order_comparator :: connect 
 ovm_sequencer_param_base :: connect 
 ovm_sequencer :: connect 
 svt_debug_opts_intercept_analysis :: connect 
 svt_debug_opts_intercept_blocking_get :: connect 
 svt_debug_opts_intercept_blocking_get_peek :: connect 
 svt_debug_opts_intercept_blocking_peek :: connect 
 svt_debug_opts_intercept_blocking_put :: connect 
 svt_debug_opts_intercept_get :: connect 
 svt_debug_opts_intercept_get_peek :: connect 
 svt_debug_opts_intercept_nonblocking_get :: connect 
 svt_debug_opts_intercept_nonblocking_get_peek :: connect 
 svt_debug_opts_intercept_nonblocking_peek :: connect 
 svt_debug_opts_intercept_nonblocking_put :: connect 
 svt_debug_opts_intercept_peek :: connect 
 svt_debug_opts_intercept_put :: connect 
 tlm_req_rsp_channel :: connect 

  function ovm_object
 ovm_component::create

 (  string name = ""  ) 


 Superseded functions 
 ovm_object :: create 
 Superseding functions 
 ovm_seq_cons_if :: create 
 ovm_seq_prod_if :: create 
 tlm_req_rsp_channel :: create 

  function ovm_component
 ovm_component::create_component

 (  string requested_type_name , string name  ) 

  function ovm_object
 ovm_component::create_object

 (  string requested_type_name , string name = ""  ) 

  function ovm_component
 ovm_component::create_unit

 (  string type_name , string inst_name  ) 

 protected function void
 ovm_component::do_accept_tr

 (  ovm_transaction tr  ) 

 protected function void
 ovm_component::do_begin_tr

 (  ovm_transaction tr , string stream_name , integer tr_handle  ) 

 protected function void
 ovm_component::do_end_tr

 (  ovm_transaction tr , integer tr_handle  ) 

  function void
 ovm_component::do_flush

 (   ) 

  function void
 ovm_component::do_func_phase

 (  ovm_phase phase  ) 

  function void
 ovm_component::do_kill_all

 (   ) 

  function void
 ovm_component::do_print

 (  ovm_printer printer  ) 


 Superseded functions 
 ovm_object :: do_print 
 Superseding functions 
 ovm_sequencer_base :: do_print 
 ovm_sequencer_param_base :: do_print 
 ovm_seq_cons_if :: do_print 
 ovm_seq_prod_if :: do_print 

  function void
 ovm_component::do_resolve_bindings

 (   ) 

  task
 ovm_component::do_task_phase

 (  ovm_phase phase  ) 


 Superseding tasks 
 ovm_env :: do_task_phase 
 ovm_port_component_base :: do_task_phase 

 virtual function void
 ovm_component::dropped

 (  ovm_objection objection , ovm_object source_obj , int count  ) 

  function void
 ovm_component::end_of_elaboration

 (   ) 


 Superseding functions 
 ovm_scenario_driver :: end_of_elaboration 
 ovm_push_driver :: end_of_elaboration 

  function void
 ovm_component::end_tr

 (  ovm_transaction tr , time end_time = 0, bit free_handle = 1  ) 

  function void
 ovm_component::export_connections

 (   ) 

  function void
 ovm_component::extract

 (   ) 


 Superseding functions 
 svt_driver :: extract 
 svt_monitor :: extract 
 svt_mem_sequencer :: extract 
 svt_component :: extract 
 svt_xactor :: extract 

 static function ovm_component
 ovm_component::find_component

 (  string comp_match  ) 

 static function void
 ovm_component::find_components

 (  string comp_match , ref ovm_component comps [$]  ) 

  function void
 ovm_component::flush

 (   ) 


 Superseding functions 
 ovm_in_order_comparator :: flush 
 tlm_fifo_base :: flush 
 tlm_fifo :: flush 

  function ovm_component
 ovm_component::get_child

 (  string name  ) 

 static function ovm_component
 ovm_component::get_component

 (  int ele  ) 

  function bit
 ovm_component::get_config_int

 (  string field_name , inout ovm_bitstream_t value  ) 

  function bit
 ovm_component::get_config_object

 (  string field_name , inout ovm_object value , input bit clone  ) 

  function bit
 ovm_component::get_config_string

 (  string field_name , inout string value  ) 

  function int
 ovm_component::get_first_child

 (  ref string name  ) 

  function string
 ovm_component::get_full_name

 (   ) 


 Superseded functions 
 ovm_object :: get_full_name 

  function int
 ovm_component::get_next_child

 (  ref string name  ) 

  function int
 ovm_component::get_num_children

 (   ) 

 static function int
 ovm_component::get_num_components

 (   ) 

  function ovm_component
 ovm_component::get_parent

 (   ) 

 static function void
 ovm_component::global_stop_request

 (   ) 

  function int
 ovm_component::has_child

 (  string name  ) 

  function void
 ovm_component::import_connections

 (   ) 

  function void
 ovm_component::kill

 (   ) 

  function ovm_component
 ovm_component::lookup

 (  string name  ) 

 protected function integer
 ovm_component::m_begin_tr

 (  ovm_transaction tr , integer parent_handle = 0, bit has_parent = 0, string stream_name = "main", string label = "", string desc = "", time begin_time = 0  ) 

  function void
 ovm_component::new

 (  string name , ovm_component parent  ) 


 Superseding functions 
 ovm_agent :: new 
 ovm_driver :: new 
 ovm_scenario_driver :: new 
 ovm_env :: new 
 ovm_in_order_comparator :: new 
 avm_in_order_built_in_comparator :: new 
 ovm_in_order_built_in_comparator :: new 
 ovm_in_order_class_comparator :: new 
 ovm_monitor :: new 
 ovm_port_component_base :: new 
 ovm_push_driver :: new 
 ovm_random_stimulus :: new 
 avm_random_stimulus :: new 
 ovm_scoreboard :: new 
 ovm_sequencer_base :: new 
 ovm_sequencer_param_base :: new 
 ovm_push_sequencer :: new 
 ovm_sequencer :: new 
 ovm_scenario_controller :: new 
 ovm_seq_cons_if :: new 
 ovm_seq_prod_if :: new 
 ovm_subscriber :: new 
 avm_subscriber :: new 
 ovm_test :: new 
 svt_traffic_arbiter :: new 
 svt_debug_opts_intercept_no_op_imp :: new 
 svt_downstream_imp :: new 
 svt_non_abstract_component :: new 
 tlm_fifo_base :: new 
 sequencer_analysis_fifo :: new 
 tlm_analysis_fifo :: new 
 analysis_fifo :: new 
 tlm_transport_channel :: new 

  function void
 ovm_component::post_new

 (   ) 

  function void
 ovm_component::pre_run

 (   ) 

  function void
 ovm_component::print_config_settings

 (  string field = "", ovm_component comp = null, bit recurse = 0  ) 

  function void
 ovm_component::print_override_info

 (  string requested_type_name , string name = ""  ) 

 virtual function void
 ovm_component::raised

 (  ovm_objection objection , ovm_object source_obj , int count  ) 


 Superseding functions 
 ovm_root :: raised 

  function integer
 ovm_component::record_error_tr

 (  string stream_name = "main", ovm_object info = null, string label = "error_tr", string desc = "", time error_time = 0, bit keep_active = 0  ) 

  function integer
 ovm_component::record_event_tr

 (  string stream_name = "main", ovm_object info = null, string label = "event_tr", string desc = "", time event_time = 0, bit keep_active = 0  ) 

  function void
 ovm_component::report

 (   ) 


 Superseding functions 
 svt_agent :: report 
 svt_env :: report 

  function void
 ovm_component::resolve_bindings

 (   ) 


 Superseding functions 
 ovm_port_component :: resolve_bindings 

  task
 ovm_component::restart

 (   ) 

  task
 ovm_component::resume

 (   ) 

  task
 ovm_component::run

 (   ) 


 Superseding tasks 
 svt_agent :: run 
 ovm_scenario_driver :: run 
 svt_driver :: run 
 svt_env :: run 
 ovm_in_order_comparator :: run 
 svt_monitor :: run 
 ovm_sequencer_param_base :: run 
 ovm_push_sequencer :: run 
 svt_sequencer :: run 
 svt_component :: run 
 svt_traffic_arbiter :: run 

  function void
 ovm_component::set_config_int

 (  string inst_name , string field_name , ovm_bitstream_t value  ) 

  function void
 ovm_component::set_config_object

 (  string inst_name , string field_name , ovm_object value , bit clone = 1  ) 

  function void
 ovm_component::set_config_string

 (  string inst_name , string field_name , string value  ) 

  function void
 ovm_component::set_inst_override

 (  string relative_inst_path , string original_type_name , string override_type_name  ) 

  function void
 ovm_component::set_inst_override_by_type

 (  string relative_inst_path , ovm_object_wrapper original_type , ovm_object_wrapper override_type  ) 

  function void
 ovm_component::set_int_local

 (  string field_name , ovm_bitstream_t value , bit recurse = 1  ) 


 Superseded functions 
 ovm_object :: set_int_local 

  function void
 ovm_component::set_name

 (  string name  ) 


 Superseded functions 
 ovm_object :: set_name 

  function void
 ovm_component::set_report_default_file_hier

 (  OVM_FILE file  ) 

  function void
 ovm_component::set_report_id_action_hier

 (  string id , ovm_action action  ) 

  function void
 ovm_component::set_report_id_file_hier

 (  string id , OVM_FILE file  ) 

  function void
 ovm_component::set_report_severity_action_hier

 (  ovm_severity severity , ovm_action action  ) 

  function void
 ovm_component::set_report_severity_file_hier

 (  ovm_severity severity , OVM_FILE file  ) 

  function void
 ovm_component::set_report_severity_id_action_hier

 (  ovm_severity severity , string id , ovm_action action  ) 

  function void
 ovm_component::set_report_severity_id_file_hier

 (  ovm_severity severity , string id , OVM_FILE file  ) 

  function void
 ovm_component::set_report_verbosity_level_hier

 (  int verbosity  ) 

 static function void
 ovm_component::set_type_override

 (  string original_type_name , string override_type_name , bit replace = 1  ) 

 static function void
 ovm_component::set_type_override_by_type

 (  ovm_object_wrapper original_type , ovm_object_wrapper override_type , bit replace = 1  ) 

  function void
 ovm_component::start_of_simulation

 (   ) 

  function string
 ovm_component::status

 (   ) 

  task
 ovm_component::stop

 (  string ph_name  ) 

  task
 ovm_component::suspend

 (   ) 


Member Attribute Documentation

 protected int  attribute
 ovm_component::enable_stop_interrupt = 0

 protected ovm_object_string_pool  attribute
 ovm_component::event_pool

 protected bit  attribute
 ovm_component::m_build_done = 0

 protected ovm_component  attribute
 ovm_component::m_children[string]

 protected ovm_component  attribute
 ovm_component::m_children_by_handle[ ovm_component ]

 static bit  attribute
 ovm_component::m_config_set = 1

 protected ovm_config_setting  attribute
 ovm_component::m_configuration_table[$]

 ovm_phase  attribute
 ovm_component::m_curr_phase = null


 Superseding attributes 
 ovm_root :: m_curr_phase 

 protected event  attribute
 ovm_component::m_kill_request

 string  attribute
 ovm_component::m_name

 ovm_component  attribute
 ovm_component::m_parent

 protected process  attribute
 ovm_component::m_phase_process

 static bit  attribute
 ovm_component::print_config_matches = 0

 bit  attribute
 ovm_component::print_enabled = 1

 int unsigned  attribute
 ovm_component::recording_detail = OVM_NONE