ovm_object Class Reference

Inheritance diagram for ovm_object:

Inheritance graph
[legend]
Collaboration diagram for ovm_object:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 new (string name="")
void print (ovm_printer printer=null)
string sprint (ovm_printer printer=null)
void reseed ()
virtual void do_print (ovm_printer printer)
virtual string do_sprint (ovm_printer printer)
virtual void do_record (ovm_recorder recorder)
virtual void do_copy (ovm_object rhs)
virtual bit do_compare (ovm_object rhs, ovm_comparer comparer)
virtual void do_pack (ovm_packer packer)
virtual void do_unpack (ovm_packer packer)
virtual void set_name (string name)
virtual string get_name ()
virtual string get_full_name ()
virtual int get_inst_id ()
virtual ovm_object create (string name="")
virtual string get_type_name ()
virtual ovm_object clone ()
void copy (ovm_object rhs)
bit compare (ovm_object rhs, ovm_comparer comparer=null)
void record (ovm_recorder recorder=null)
int pack (ref bit bitstream[], input ovm_packer packer=null)
int unpack (ref bit bitstream[], input ovm_packer packer=null)
int pack_bytes (ref byte unsigned bytestream[], input ovm_packer packer=null)
int unpack_bytes (ref byte unsigned bytestream[], input ovm_packer packer=null)
int pack_ints (ref int unsigned intstream[], input ovm_packer packer=null)
int unpack_ints (ref int unsigned intstream[], input ovm_packer packer=null)
virtual void set_int_local (string field_name, ovm_bitstream_t value, bit recurse=1)
virtual void set_object_local (string field_name, ovm_object value, bit clone=1, bit recurse=1)
virtual void set_string_local (string field_name, string value, bit recurse=1)
virtual void m_field_automation (ovm_object tmp_data__, int what__, string str__)

Static Public Member Functions

static int get_inst_count ()
static ovm_object_wrapper get_type ()
static void print_field_match (string fnc, string match)
static ovm_status_container init_status ()
static ovm_status_container m_get_status ()

Static Public Attributes

static bit use_ovm_seeding = 1
static bit print_matches = 0

Protected Member Functions

int m_do_data (string arg, inout ovm_bitstream_t lhs, input ovm_bitstream_t rhs, int what, int bits, int flag)
int m_do_data_object (string arg, inout ovm_object lhs, input ovm_object rhs, int what, int flag)
int m_do_data_string (string arg, inout string lhs, input string rhs, int what, int flag)
void m_record_field_object (string arg, ovm_object value, ovm_recorder recorder=null, int flag=OVM_DEFAULT)
int m_do_set (string match, string arg, inout ovm_bitstream_t lhs, input int what, int flag)
int m_do_set_string (string match, string arg, inout string lhs, input int what, int flag)
int m_do_set_object (string match, string arg, inout ovm_object lhsobj, input int what, int flag)
string m_get_function_type (int what)
virtual ovm_report_object m_get_report_object ()
void m_do_field_check (string field)

Static Protected Attributes

static int m_inst_count = 0
static ovm_status_container m_sc = init_status()
static int m_field_array [string]

Private Member Functions

void m_pack (inout ovm_packer packer)
void m_unpack_pre (inout ovm_packer packer)
void m_unpack_post (ovm_packer packer)

Private Attributes

int m_inst_id
string m_leaf_name


Detailed Description

Definition at line 93 of file ovm_object.svh.


Member Function Documentation

ovm_object::new ( string  name = ""  ) 

void ovm_object::print ( ovm_printer  printer = null  ) 

Definition at line 108 of file ovm_object.sv.

string ovm_object::sprint ( ovm_printer  printer = null  ) 

Definition at line 129 of file ovm_object.sv.

void ovm_object::reseed (  ) 

Definition at line 50 of file ovm_object.sv.

void ovm_object::do_print ( ovm_printer  printer  )  [virtual]

string ovm_object::do_sprint ( ovm_printer  printer  )  [virtual]

Definition at line 148 of file ovm_object.sv.

void ovm_object::do_record ( ovm_recorder  recorder  )  [virtual]

Reimplemented in ovm_transaction.

Definition at line 846 of file ovm_object.sv.

void ovm_object::do_copy ( ovm_object  rhs  )  [virtual]

bit ovm_object::do_compare ( ovm_object  rhs,
ovm_comparer  comparer 
) [virtual]

Reimplemented in ovm_urm_override_request, and ovm_urm_override_operator.

Definition at line 637 of file ovm_object.sv.

void ovm_object::do_pack ( ovm_packer  packer  )  [virtual]

Definition at line 732 of file ovm_object.sv.

void ovm_object::do_unpack ( ovm_packer  packer  )  [virtual]

Definition at line 814 of file ovm_object.sv.

void ovm_object::set_name ( string  name  )  [virtual]

Reimplemented in ovm_component.

Definition at line 100 of file ovm_object.sv.

string ovm_object::get_name (  )  [virtual]

Definition at line 84 of file ovm_object.sv.

string ovm_object::get_full_name (  )  [virtual]

Reimplemented in ovm_component.

Definition at line 92 of file ovm_object.sv.

int ovm_object::get_inst_id (  )  [virtual]

Definition at line 68 of file ovm_object.sv.

int ovm_object::get_inst_count (  )  [static]

Definition at line 76 of file ovm_object.sv.

ovm_object_wrapper ovm_object::get_type (  )  [static]

Definition at line 59 of file ovm_object.sv.

virtual ovm_object ovm_object::create ( string  name = ""  )  [virtual]

virtual string ovm_object::get_type_name (  )  [virtual]

ovm_object ovm_object::clone (  )  [virtual]

Reimplemented in ovm_component, ovm_class_pair< T1, T2 >, and ovm_built_in_pair< T1, T2 >.

Definition at line 429 of file ovm_object.sv.

void ovm_object::copy ( ovm_object  rhs  ) 

Definition at line 449 of file ovm_object.sv.

bit ovm_object::compare ( ovm_object  rhs,
ovm_comparer  comparer = null 
)

Definition at line 564 of file ovm_object.sv.

void ovm_object::record ( ovm_recorder  recorder = null  ) 

Definition at line 822 of file ovm_object.sv.

int ovm_object::pack ( ref bit  bitstream[],
input ovm_packer  packer = null 
)

Definition at line 700 of file ovm_object.sv.

int ovm_object::unpack ( ref bit  bitstream[],
input ovm_packer  packer = null 
)

Definition at line 779 of file ovm_object.sv.

int ovm_object::pack_bytes ( ref byte unsigned  bytestream[],
input ovm_packer  packer = null 
)

Definition at line 710 of file ovm_object.sv.

int ovm_object::unpack_bytes ( ref byte unsigned  bytestream[],
input ovm_packer  packer = null 
)

Definition at line 790 of file ovm_object.sv.

int ovm_object::pack_ints ( ref int unsigned  intstream[],
input ovm_packer  packer = null 
)

Definition at line 721 of file ovm_object.sv.

int ovm_object::unpack_ints ( ref int unsigned  intstream[],
input ovm_packer  packer = null 
)

Definition at line 802 of file ovm_object.sv.

void ovm_object::m_pack ( inout ovm_packer  packer  )  [private]

Definition at line 676 of file ovm_object.sv.

void ovm_object::m_unpack_pre ( inout ovm_packer  packer  )  [private]

Definition at line 740 of file ovm_object.sv.

void ovm_object::m_unpack_post ( ovm_packer  packer  )  [private]

Definition at line 753 of file ovm_object.sv.

void ovm_object::print_field_match ( string  fnc,
string  match 
) [static]

Definition at line 160 of file ovm_object.sv.

void ovm_object::set_int_local ( string  field_name,
ovm_bitstream_t  value,
bit  recurse = 1 
) [virtual]

Reimplemented in ovm_component.

Definition at line 178 of file ovm_object.sv.

void ovm_object::set_object_local ( string  field_name,
ovm_object  value,
bit  clone = 1,
bit  recurse = 1 
) [virtual]

Definition at line 198 of file ovm_object.sv.

void ovm_object::set_string_local ( string  field_name,
string  value,
bit  recurse = 1 
) [virtual]

Definition at line 226 of file ovm_object.sv.

void ovm_object::m_field_automation ( ovm_object  tmp_data__,
int  what__,
string  str__ 
) [virtual]

Definition at line 646 of file ovm_object.sv.

int ovm_object::m_do_data ( string  arg,
inout ovm_bitstream_t  lhs,
input ovm_bitstream_t  rhs,
int  what,
int  bits,
int  flag 
) [protected]

Definition at line 909 of file ovm_object.sv.

int ovm_object::m_do_data_object ( string  arg,
inout ovm_object  lhs,
input ovm_object  rhs,
int  what,
int  flag 
) [protected]

Definition at line 1011 of file ovm_object.sv.

int ovm_object::m_do_data_string ( string  arg,
inout string  lhs,
input string  rhs,
int  what,
int  flag 
) [protected]

Definition at line 1183 of file ovm_object.sv.

void ovm_object::m_record_field_object ( string  arg,
ovm_object  value,
ovm_recorder  recorder = null,
int  flag = OVM_DEFAULT 
) [protected]

Definition at line 882 of file ovm_object.sv.

int ovm_object::m_do_set ( string  match,
string  arg,
inout ovm_bitstream_t  lhs,
input int  what,
int  flag 
) [protected]

Definition at line 261 of file ovm_object.sv.

int ovm_object::m_do_set_string ( string  match,
string  arg,
inout string  lhs,
input int  what,
int  flag 
) [protected]

Definition at line 317 of file ovm_object.sv.

int ovm_object::m_do_set_object ( string  match,
string  arg,
inout ovm_object  lhsobj,
input int  what,
int  flag 
) [protected]

Definition at line 379 of file ovm_object.sv.

string ovm_object::m_get_function_type ( int  what  )  [protected]

Definition at line 854 of file ovm_object.sv.

ovm_report_object ovm_object::m_get_report_object (  )  [protected, virtual]

Reimplemented in ovm_report_object.

Definition at line 874 of file ovm_object.sv.

ovm_status_container ovm_object::init_status (  )  [static]

Definition at line 559 of file ovm_object.sv.

static ovm_status_container ovm_object::m_get_status (  )  [static]

Definition at line 239 of file ovm_object.svh.

void ovm_object::m_do_field_check ( string  field  )  [protected]

Definition at line 656 of file ovm_object.sv.


Member Data Documentation

bit ovm_object::use_ovm_seeding = 1 [static]

Definition at line 98 of file ovm_object.svh.

bit ovm_object::print_matches = 0 [static]

Definition at line 156 of file ovm_object.svh.

int ovm_object::m_inst_count = 0 [static, protected]

Definition at line 225 of file ovm_object.svh.

int ovm_object::m_inst_id [private]

Definition at line 226 of file ovm_object.svh.

string ovm_object::m_leaf_name [private]

Definition at line 232 of file ovm_object.svh.

ovm_status_container ovm_object::m_sc = init_status() [static, protected]

Definition at line 238 of file ovm_object.svh.

int ovm_object::m_field_array[string] [static, protected]

Definition at line 243 of file ovm_object.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:47 2009
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV