ovm_factory Class Reference

Collaboration diagram for ovm_factory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void set_inst_override_by_type (ovm_object_wrapper original_type, ovm_object_wrapper override_type, string full_inst_path)
void set_type_override_by_type (ovm_object_wrapper original_type, ovm_object_wrapper override_type, bit replace=1)
ovm_object create_object_by_type (ovm_object_wrapper requested_type, string parent_inst_path="", string name="")
ovm_component create_component_by_type (ovm_object_wrapper requested_type, string parent_inst_path="", string name, ovm_component parent)
ovm_object_wrapper find_override_by_type (ovm_object_wrapper requested_type, string full_inst_path)
void debug_create_by_type (ovm_object_wrapper requested_type, string parent_inst_path="", string name="")
void set_inst_override_by_name (string original_type_name, string override_type_name, string full_inst_path)
void set_type_override_by_name (string original_type_name, string override_type_name, bit replace=1)
ovm_object create_object_by_name (string requested_type_name, string parent_inst_path="", string name="")
ovm_component create_component_by_name (string requested_type_name, string parent_inst_path="", string name, ovm_component parent)
ovm_object_wrapper find_override_by_name (string requested_type_name, string full_inst_path)
ovm_object_wrapper find_by_name (string type_name)
void debug_create_by_name (string requested_type_name, string parent_inst_path="", string name="")
void print (int all_types=1)
void register (ovm_object_wrapper obj)

Static Public Member Functions

static ovm_factory get ()
static void set_type_override (string original_type_name, string override_type_name, bit replace=1)
static void set_inst_override (string full_inst_path, string original_type_name, string override_type_name)
static ovm_object create_object (string requested_type_name, string parent_inst_path="", string name="")
static ovm_component create_component (string requested_type_name, string parent_inst_path="", string name, ovm_component parent)
static void print_override_info (string requested_type_name, string parent_inst_path="", string name="")
static void print_all_overrides (int all_types=0)
static void auto_register (ovm_object_wrapper obj)

Protected Member Functions

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

Protected Attributes

bit m_types [ovm_object_wrapper]
bit m_lookup_strs [string]
ovm_object_wrapper m_type_names [string]
ovm_factory_override m_type_overrides [$]
ovm_factory_override m_inst_overrides [$]

Private Attributes

ovm_factory_override m_override_info [$]

Static Private Attributes

static ovm_factory m_inst
static bit m_debug_pass


Detailed Description

Definition at line 151 of file ovm_factory.svh.


Member Function Documentation

ovm_factory::new (  )  [protected]

Definition at line 44 of file ovm_factory.sv.

ovm_factory ovm_factory::get (  )  [static]

Definition at line 34 of file ovm_factory.sv.

void ovm_factory::set_inst_override_by_type ( ovm_object_wrapper  original_type,
ovm_object_wrapper  override_type,
string  full_inst_path 
)

Definition at line 259 of file ovm_factory.sv.

void ovm_factory::set_type_override_by_type ( ovm_object_wrapper  original_type,
ovm_object_wrapper  override_type,
bit  replace = 1 
)

Definition at line 116 of file ovm_factory.sv.

ovm_object ovm_factory::create_object_by_type ( ovm_object_wrapper  requested_type,
string  parent_inst_path = "",
string  name = "" 
)

Definition at line 369 of file ovm_factory.sv.

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

Definition at line 449 of file ovm_factory.sv.

ovm_object_wrapper ovm_factory::find_override_by_type ( ovm_object_wrapper  requested_type,
string  full_inst_path 
)

Definition at line 527 of file ovm_factory.sv.

void ovm_factory::debug_create_by_type ( ovm_object_wrapper  requested_type,
string  parent_inst_path = "",
string  name = "" 
)

Definition at line 731 of file ovm_factory.sv.

void ovm_factory::set_inst_override_by_name ( string  original_type_name,
string  override_type_name,
string  full_inst_path 
)

Definition at line 285 of file ovm_factory.sv.

void ovm_factory::set_type_override_by_name ( string  original_type_name,
string  override_type_name,
bit  replace = 1 
)

Definition at line 184 of file ovm_factory.sv.

ovm_object ovm_factory::create_object_by_name ( string  requested_type_name,
string  parent_inst_path = "",
string  name = "" 
)

Definition at line 333 of file ovm_factory.sv.

ovm_component ovm_factory::create_component_by_name ( string  requested_type_name,
string  parent_inst_path = "",
string  name,
ovm_component  parent 
)

Definition at line 413 of file ovm_factory.sv.

ovm_object_wrapper ovm_factory::find_override_by_name ( string  requested_type_name,
string  full_inst_path 
)

Definition at line 489 of file ovm_factory.sv.

ovm_object_wrapper ovm_factory::find_by_name ( string  type_name  ) 

Definition at line 475 of file ovm_factory.sv.

void ovm_factory::debug_create_by_name ( string  requested_type_name,
string  parent_inst_path = "",
string  name = "" 
)

Definition at line 721 of file ovm_factory.sv.

void ovm_factory::print ( int  all_types = 1  ) 

Definition at line 601 of file ovm_factory.sv.

void ovm_factory::register ( ovm_object_wrapper  obj  ) 

Definition at line 67 of file ovm_factory.sv.

void ovm_factory::set_type_override ( string  original_type_name,
string  override_type_name,
bit  replace = 1 
) [static]

Definition at line 98 of file ovm_factory.sv.

void ovm_factory::set_inst_override ( string  full_inst_path,
string  original_type_name,
string  override_type_name 
) [static]

Definition at line 241 of file ovm_factory.sv.

ovm_object ovm_factory::create_object ( string  requested_type_name,
string  parent_inst_path = "",
string  name = "" 
) [static]

Definition at line 315 of file ovm_factory.sv.

ovm_component ovm_factory::create_component ( string  requested_type_name,
string  parent_inst_path = "",
string  name,
ovm_component  parent 
) [static]

Definition at line 394 of file ovm_factory.sv.

void ovm_factory::print_override_info ( string  requested_type_name,
string  parent_inst_path = "",
string  name = "" 
) [static]

Definition at line 703 of file ovm_factory.sv.

void ovm_factory::print_all_overrides ( int  all_types = 0  )  [static]

Definition at line 585 of file ovm_factory.sv.

void ovm_factory::auto_register ( ovm_object_wrapper  obj  )  [static]

Definition at line 51 of file ovm_factory.sv.

void ovm_factory::m_debug_create ( string  requested_type_name,
ovm_object_wrapper  requested_type,
string  parent_inst_path,
string  name 
) [protected]

Definition at line 741 of file ovm_factory.sv.

void ovm_factory::m_debug_display ( string  requested_type_name,
ovm_object_wrapper  result,
string  full_inst_path 
) [protected]

Definition at line 786 of file ovm_factory.sv.


Member Data Documentation

ovm_factory ovm_factory::m_inst [static, private]

Definition at line 257 of file ovm_factory.svh.

Definition at line 259 of file ovm_factory.svh.

bit ovm_factory::m_lookup_strs[string] [protected]

Definition at line 260 of file ovm_factory.svh.

Definition at line 261 of file ovm_factory.svh.

Definition at line 263 of file ovm_factory.svh.

Definition at line 264 of file ovm_factory.svh.

Definition at line 266 of file ovm_factory.svh.

bit ovm_factory::m_debug_pass [static, private]

Definition at line 267 of file ovm_factory.svh.


The documentation for this class was generated from the following files:

Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 2.0.1
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.5.5
Wed Jan 7 19:27:43 2009
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV