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

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_real (string arg, inout real lhs, input real rhs, int what, 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 Member Functions

static void m_delete_field_array ()

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

string m_leaf_name
int m_inst_id

Detailed Description

Definition at line 55 of file ovm_object.svh.


Member Function Documentation

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 449 of file ovm_object.sv.

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

Definition at line 514 of file ovm_object.sv.

string ovm_object::convert2string (  )  [virtual]

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

Definition at line 166 of file ovm_object.sv.

void ovm_object::copy ( ovm_object  rhs  ) 

Definition at line 469 of file ovm_object.sv.

virtual ovm_object ovm_object::create ( string  name = ""  )  [virtual]
bit ovm_object::do_compare ( ovm_object  rhs,
ovm_comparer  comparer 
) [virtual]
void ovm_object::do_copy ( ovm_object  rhs  )  [virtual]
void ovm_object::do_pack ( ovm_packer  packer  )  [virtual]

Definition at line 685 of file ovm_object.sv.

void ovm_object::do_print ( ovm_printer  printer  )  [virtual]
void ovm_object::do_record ( ovm_recorder  recorder  )  [virtual]

Reimplemented in ovm_transaction, ovm_random_sequence, and ovm_exhaustive_sequence.

Definition at line 802 of file ovm_object.sv.

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

Definition at line 155 of file ovm_object.sv.

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

Definition at line 771 of file ovm_object.sv.

string ovm_object::get_full_name (  )  [virtual]

Reimplemented in ovm_component, and ovm_sequence_item.

Definition at line 98 of file ovm_object.sv.

int ovm_object::get_inst_count (  )  [static]

Definition at line 82 of file ovm_object.sv.

int ovm_object::get_inst_id (  )  [virtual]

Definition at line 65 of file ovm_object.sv.

string ovm_object::get_name (  )  [virtual]

Definition at line 90 of file ovm_object.sv.

ovm_object_wrapper ovm_object::get_object_type (  )  [virtual]

Reimplemented in ovm_callbacks< T, CB >.

Definition at line 73 of file ovm_object.sv.

ovm_object_wrapper ovm_object::get_type (  )  [static]

Reimplemented in ovm_callbacks< T, CB >, ovm_objection, and ovm_test_done_objection.

Definition at line 56 of file ovm_object.sv.

virtual string ovm_object::get_type_name (  )  [virtual]

Reimplemented in ovm_barrier, ovm_barrier_pool, ovm_callback, ovm_event, ovm_event_pool, ovm_objection, ovm_test_done_objection, ovm_pool< KEY, T >, ovm_object_string_pool< T >, ovm_port_component< PORT >, ovm_queue< T >, ovm_reporter, ovm_root, ovm_urm_override_request, ovm_urm_override_operator, ovm_agent, ovm_algorithmic_comparator< BEFORE, AFTER, TRANSFORMER >, ovm_driver< REQ, RSP >, ovm_env, ovm_in_order_comparator< T, comp_type, convert, pair_type >, ovm_in_order_built_in_comparator< T >, ovm_in_order_class_comparator< T >, ovm_monitor, ovm_class_pair< T1, T2 >, ovm_built_in_pair< T1, T2 >, ovm_push_driver< REQ, RSP >, ovm_random_stimulus< T >, ovm_scoreboard, ovm_test, ovm_random_sequence, ovm_exhaustive_sequence, ovm_simple_sequence, ovm_sequence_item, ovm_sequencer< REQ, RSP >, ovm_seq_prod_if, ovm_seq_cons_if, tlm_fifo< T >, tlm_analysis_fifo< T >, tlm_req_rsp_channel< REQ, RSP >, ovm_pool< string, T >, ovm_pool< string, ovm_event >, ovm_pool< T, ovm_queue< CB > >, ovm_object_string_pool< ovm_event >, ovm_port_component< this_type >, ovm_in_order_comparator< T >, ovm_in_order_comparator< T, avm_class_comp< T >, avm_class_converter< T >, avm_class_pair< T, T > >, ovm_in_order_comparator< AFTER, ovm_class_comp< AFTER >, ovm_class_converter< AFTER >, ovm_class_pair< AFTER, AFTER > >, ovm_in_order_comparator< T, ovm_class_comp< T >, ovm_class_converter< T >, ovm_class_pair< T, T > >, ovm_in_order_class_comparator< AFTER >, ovm_sequencer< ovm_sequence_item >, tlm_fifo< REQ >, tlm_fifo< RSP >, tlm_fifo< AFTER >, tlm_fifo< ovm_sequence_item >, and tlm_analysis_fifo< AFTER >.

Definition at line 229 of file ovm_object.svh.

ovm_status_container ovm_object::init_status (  )  [static]

Definition at line 505 of file ovm_object.sv.

void ovm_object::m_delete_field_array (  )  [static, protected]

Definition at line 614 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 865 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 1042 of file ovm_object.sv.

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

Definition at line 965 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 1215 of file ovm_object.sv.

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

Definition at line 606 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 275 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 393 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 331 of file ovm_object.sv.

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

Reimplemented in ovm_callbacks< T, CB >.

Definition at line 596 of file ovm_object.sv.

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

Definition at line 810 of file ovm_object.sv.

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

Reimplemented in ovm_report_object.

Definition at line 830 of file ovm_object.sv.

static ovm_status_container ovm_object::m_get_status (  )  [static]

Definition at line 826 of file ovm_object.svh.

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

Definition at line 629 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 838 of file ovm_object.sv.

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

Definition at line 706 of file ovm_object.sv.

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

Definition at line 693 of file ovm_object.sv.

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

Definition at line 653 of file ovm_object.sv.

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

Definition at line 663 of file ovm_object.sv.

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

Definition at line 674 of file ovm_object.sv.

void ovm_object::print ( ovm_printer  printer = null  ) 

Definition at line 114 of file ovm_object.sv.

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

Definition at line 174 of file ovm_object.sv.

void ovm_object::record ( ovm_recorder  recorder = null  ) 

Definition at line 779 of file ovm_object.sv.

void ovm_object::reseed (  ) 

Definition at line 47 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 192 of file ovm_object.sv.

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

Reimplemented in ovm_component.

Definition at line 106 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 212 of file ovm_object.sv.

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

Definition at line 240 of file ovm_object.sv.

string ovm_object::sprint ( ovm_printer  printer = null  ) 

Definition at line 136 of file ovm_object.sv.

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

Definition at line 732 of file ovm_object.sv.

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

Definition at line 745 of file ovm_object.sv.

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

Definition at line 758 of file ovm_object.sv.


Member Data Documentation

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

Definition at line 830 of file ovm_object.svh.

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

Definition at line 817 of file ovm_object.svh.

int ovm_object::m_inst_id [private]

Definition at line 818 of file ovm_object.svh.

string ovm_object::m_leaf_name [private]

Definition at line 775 of file ovm_object.svh.

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

Definition at line 824 of file ovm_object.svh.

bit ovm_object::print_matches = 0 [static]

Definition at line 777 of file ovm_object.svh.

bit ovm_object::use_ovm_seeding = 1 [static]

Definition at line 79 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.1.0
Copyright (c) 2008-2010 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.6.3
IDV SV Filter Version: 2.6.3
Sat Jun 19 11:53:59 2010
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV