ovm_factory Class Reference

Inheritance diagram for class ovm_factory:

List of all members.



Public Member Functions

static function void  auto_register ( ovm_object_wrapper obj )
function bit  check_inst_override_exists ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, string full_inst_path )
static function ovm_component  create_component ( string requested_type_name, string parent_inst_path = "", string name, ovm_component parent )
function ovm_component  create_component_by_name ( string requested_type_name, string parent_inst_path = "", string name, ovm_component parent )
function ovm_component  create_component_by_type ( ovm_object_wrapper requested_type, string parent_inst_path = "", string name, ovm_component parent )
static function ovm_object  create_object ( string requested_type_name, string parent_inst_path = "", string name = "" )
function ovm_object  create_object_by_name ( string requested_type_name, string parent_inst_path = "", string name = "" )
function ovm_object  create_object_by_type ( ovm_object_wrapper requested_type, string parent_inst_path = "", string name = "" )
function void  debug_create_by_name ( string requested_type_name, string parent_inst_path = "", string name = "" )
function void  debug_create_by_type ( ovm_object_wrapper requested_type, string parent_inst_path = "", string name = "" )
function ovm_object_wrapper  find_by_name ( string type_name )
function ovm_object_wrapper  find_override_by_name ( string requested_type_name, string full_inst_path )
function ovm_object_wrapper  find_override_by_type ( ovm_object_wrapper requested_type, string full_inst_path )
static function ovm_factory  get ( )
function bit  m_has_wildcard ( string nm )
function void  print ( int all_types = 1 )
static function void  print_all_overrides ( int all_types = 0 )
static function void  print_override_info ( string requested_type_name, string parent_inst_path = "", string name = "" )
function void  register ( ovm_object_wrapper obj )
static function void  set_inst_override ( string full_inst_path, string original_type_name, string override_type_name )
function void  set_inst_override_by_name ( string original_type_name, string override_type_name, string full_inst_path )
function void  set_inst_override_by_type ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, string full_inst_path )
static function void  set_type_override ( string original_type_name, string override_type_name, bit replace = 1 )
function void  set_type_override_by_name ( string original_type_name, string override_type_name, bit replace = 1 )
function void  set_type_override_by_type ( ovm_object_wrapper original_type, ovm_object_wrapper override_type, bit replace = 1 )

Public Attributes


Protected Member Functions

function void  m_debug_create ( string requested_type_name, ovm_object_wrapper requested_type, string parent_inst_path, string name )
function void  m_debug_display ( string requested_type_name, ovm_object_wrapper result, string full_inst_path )
function void  new ( )

Protected Attributes

protected ovm_factory_queue_class  m_inst_override_name_queues [string] 
protected ovm_factory_queue_class  m_inst_override_queues [ ovm_object_wrapper ] 
protected bit  m_lookup_strs [string] 
protected bit  m_types [ ovm_object_wrapper ] 
protected ovm_object_wrapper  m_type_names [string] 
protected ovm_factory_override  m_type_overrides [$] 
protected ovm_factory_override  m_wildcard_inst_overrides [$] 


Member Function Documentation

 static function void
 ovm_factory::auto_register

 (  ovm_object_wrapper obj  ) 

  function bit
 ovm_factory::check_inst_override_exists

 (  ovm_object_wrapper original_type , ovm_object_wrapper override_type , string full_inst_path  ) 

 static function ovm_component
 ovm_factory::create_component

 (  string requested_type_name , string parent_inst_path = "", string name , ovm_component parent  ) 

  function ovm_component
 ovm_factory::create_component_by_name

 (  string requested_type_name , string parent_inst_path = "", string name , ovm_component parent  ) 

  function ovm_component
 ovm_factory::create_component_by_type

 (  ovm_object_wrapper requested_type , string parent_inst_path = "", string name , ovm_component parent  ) 

 static function ovm_object
 ovm_factory::create_object

 (  string requested_type_name , string parent_inst_path = "", string name = ""  ) 

  function ovm_object
 ovm_factory::create_object_by_name

 (  string requested_type_name , string parent_inst_path = "", string name = ""  ) 

  function ovm_object
 ovm_factory::create_object_by_type

 (  ovm_object_wrapper requested_type , string parent_inst_path = "", string name = ""  ) 

  function void
 ovm_factory::debug_create_by_name

 (  string requested_type_name , string parent_inst_path = "", string name = ""  ) 

  function void
 ovm_factory::debug_create_by_type

 (  ovm_object_wrapper requested_type , string parent_inst_path = "", string name = ""  ) 

  function ovm_object_wrapper
 ovm_factory::find_by_name

 (  string type_name  ) 

  function ovm_object_wrapper
 ovm_factory::find_override_by_name

 (  string requested_type_name , string full_inst_path  ) 

  function ovm_object_wrapper
 ovm_factory::find_override_by_type

 (  ovm_object_wrapper requested_type , string full_inst_path  ) 

 static function ovm_factory
 ovm_factory::get

 (   ) 

 protected function void
 ovm_factory::m_debug_create

 (  string requested_type_name , ovm_object_wrapper requested_type , string parent_inst_path , string name  ) 

 protected function void
 ovm_factory::m_debug_display

 (  string requested_type_name , ovm_object_wrapper result , string full_inst_path  ) 

  function bit
 ovm_factory::m_has_wildcard

 (  string nm  ) 

 protected function void
 ovm_factory::new

 (   ) 

  function void
 ovm_factory::print

 (  int all_types = 1  ) 

 static function void
 ovm_factory::print_all_overrides

 (  int all_types = 0  ) 

 static function void
 ovm_factory::print_override_info

 (  string requested_type_name , string parent_inst_path = "", string name = ""  ) 

  function void
 ovm_factory::register

 (  ovm_object_wrapper obj  ) 

 static function void
 ovm_factory::set_inst_override

 (  string full_inst_path , string original_type_name , string override_type_name  ) 

  function void
 ovm_factory::set_inst_override_by_name

 (  string original_type_name , string override_type_name , string full_inst_path  ) 

  function void
 ovm_factory::set_inst_override_by_type

 (  ovm_object_wrapper original_type , ovm_object_wrapper override_type , string full_inst_path  ) 

 static function void
 ovm_factory::set_type_override

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

  function void
 ovm_factory::set_type_override_by_name

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

  function void
 ovm_factory::set_type_override_by_type

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


Member Attribute Documentation

 protected ovm_factory_queue_class  attribute
 ovm_factory::m_inst_override_name_queues[string]

 protected ovm_factory_queue_class  attribute
 ovm_factory::m_inst_override_queues[ ovm_object_wrapper ]

 protected bit  attribute
 ovm_factory::m_lookup_strs[string]

 protected bit  attribute
 ovm_factory::m_types[ ovm_object_wrapper ]

 protected ovm_object_wrapper  attribute
 ovm_factory::m_type_names[string]

 protected ovm_factory_override  attribute
 ovm_factory::m_type_overrides[$]

 protected ovm_factory_override  attribute
 ovm_factory::m_wildcard_inst_overrides[$]