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)
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

void ovm_factory::auto_register ovm_object_wrapper  obj  )  [static]
 

Definition at line 51 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 366 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 378 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 414 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 294 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 305 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 341 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 658 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 668 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 440 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 478 of file ovm_factory.sv.

ovm_factory ovm_factory::get  )  [static]
 

Definition at line 34 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 678 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 723 of file ovm_factory.sv.

ovm_factory::new  )  [protected]
 

Definition at line 44 of file ovm_factory.sv.

void ovm_factory::print int  all_types = 1  ) 
 

Definition at line 545 of file ovm_factory.sv.

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

Definition at line 536 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 647 of file ovm_factory.sv.

void ovm_factory::register ovm_object_wrapper  obj  ) 
 

Definition at line 60 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 227 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 264 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 238 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 91 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 170 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 102 of file ovm_factory.sv.


Member Data Documentation

bit ovm_factory::m_debug_pass [static, private]
 

Definition at line 265 of file ovm_factory.svh.

ovm_factory ovm_factory::m_inst [static, private]
 

Definition at line 255 of file ovm_factory.svh.

ovm_factory_override ovm_factory::m_inst_overrides[$] [protected]
 

Definition at line 262 of file ovm_factory.svh.

bit ovm_factory::m_lookup_strs[string] [protected]
 

Definition at line 258 of file ovm_factory.svh.

ovm_factory_override ovm_factory::m_override_info[$] [private]
 

Definition at line 264 of file ovm_factory.svh.

ovm_object_wrapper ovm_factory::m_type_names[string] [protected]
 

Definition at line 259 of file ovm_factory.svh.

ovm_factory_override ovm_factory::m_type_overrides[$] [protected]
 

Definition at line 261 of file ovm_factory.svh.

bit ovm_factory::m_types[ovm_object_wrapper] [protected]
 

Definition at line 257 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: 1.1.0
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.4.6
Mon Sep 29 14:23:54 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV