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 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 void print_field_match (string fnc, string match)
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 = new
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

Detailed Description

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

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

Definition at line 535 of file ovm_object.sv.

void ovm_object::copy ovm_object  rhs  ) 
 

Definition at line 425 of file ovm_object.sv.

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

Reimplemented in ovm_component, ovm_event_callback, ovm_event, ovm_event_pool, ovm_barrier, ovm_barrier_pool, ovm_factory, ovm_reporter, ovm_urm_override_request, ovm_urm_override_operator, ovm_seq_item_prod_if, ovm_random_sequence, ovm_exhaustive_sequence, ovm_simple_sequence, ovm_sequence_item, ovm_seq_item_cons_if, ovm_seq_prod_if, and ovm_seq_cons_if.

Definition at line 119 of file ovm_object.svh.

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

Reimplemented in ovm_urm_override_request, ovm_urm_override_operator, ovm_random_sequence, ovm_exhaustive_sequence, ovm_sequence_item, ovm_sequencer, and ovm_sequencer_base.

Definition at line 608 of file ovm_object.sv.

void ovm_object::do_copy ovm_object  rhs  )  [virtual]
 

Reimplemented in ovm_event, ovm_event_pool, ovm_barrier, ovm_barrier_pool, ovm_transaction, ovm_urm_override_operator, ovm_random_sequence, ovm_exhaustive_sequence, ovm_sequence_item, ovm_sequencer, and ovm_sequencer_base.

Definition at line 453 of file ovm_object.sv.

void ovm_object::do_pack ovm_packer  packer  )  [virtual]
 

Definition at line 703 of file ovm_object.sv.

void ovm_object::do_print ovm_printer  printer  )  [virtual]
 

Reimplemented in ovm_component, ovm_event, ovm_event_pool, ovm_barrier, ovm_barrier_pool, ovm_transaction, ovm_urm_override_request, ovm_urm_override_operator, ovm_seq_item_prod_if, ovm_random_sequence, ovm_exhaustive_sequence, ovm_simple_sequence, ovm_sequence_item, ovm_seq_item_cons_if, ovm_sequencer, ovm_seq_prod_if, ovm_sequencer_base, ovm_seq_cons_if, and ovm_virtual_sequencer.

Definition at line 639 of file ovm_object.sv.

void ovm_object::do_record ovm_recorder  recorder  )  [virtual]
 

Reimplemented in ovm_transaction, ovm_random_sequence, ovm_exhaustive_sequence, ovm_sequence_item, ovm_sequencer, and ovm_sequencer_base.

Definition at line 817 of file ovm_object.sv.

string ovm_object::do_sprint ovm_printer  printer  )  [virtual]
 

Definition at line 124 of file ovm_object.sv.

void ovm_object::do_unpack ovm_packer  packer  )  [virtual]
 

Definition at line 785 of file ovm_object.sv.

string ovm_object::get_full_name  )  [virtual]
 

Reimplemented in ovm_component, and ovm_sequence_item.

Definition at line 68 of file ovm_object.sv.

string ovm_object::get_name  )  [virtual]
 

Definition at line 60 of file ovm_object.sv.

virtual string ovm_object::get_type_name  )  [virtual]
 

Reimplemented in ovm_component, ovm_connector_base, ovm_env, ovm_root, ovm_urm_override_request, ovm_urm_override_operator, ovm_seq_item_prod_if, ovm_random_sequence, ovm_exhaustive_sequence, ovm_simple_sequence, ovm_sequence_item, ovm_seq_item_cons_if, ovm_sequencer, ovm_seq_prod_if, ovm_seq_cons_if, and ovm_virtual_sequencer.

Definition at line 120 of file ovm_object.svh.

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 880 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 976 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 1140 of file ovm_object.sv.

void ovm_object::m_do_field_check string  field  )  [protected]
 

Definition at line 627 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 237 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 355 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 293 of file ovm_object.sv.

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

Definition at line 617 of file ovm_object.sv.

string ovm_object::m_get_function_type int  what  )  [protected]
 

Definition at line 825 of file ovm_object.sv.

ovm_report_object ovm_object::m_get_report_object  )  [protected, virtual]
 

Reimplemented in ovm_report_object, and ovm_sequence_item.

Definition at line 845 of file ovm_object.sv.

static ovm_status_container ovm_object::m_get_status  )  [static]
 

Definition at line 228 of file ovm_object.svh.

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

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

void ovm_object::m_unpack_post ovm_packer  packer  )  [private]
 

Definition at line 724 of file ovm_object.sv.

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

Definition at line 711 of file ovm_object.sv.

ovm_object::new string  name = ""  ) 
 

Reimplemented in ovm_event_callback, ovm_event, ovm_event_pool, ovm_barrier_pool, ovm_factory, ovm_report_object, ovm_reporter, ovm_scenario_base, ovm_scenario< REQ, RSP >, ovm_scenario_noparam, and ovm_scenario< REQ, REQ >.

Definition at line 39 of file ovm_object.sv.

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

Definition at line 671 of file ovm_object.sv.

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

Definition at line 681 of file ovm_object.sv.

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

Definition at line 692 of file ovm_object.sv.

void ovm_object::print ovm_printer  printer = null  ) 
 

Definition at line 84 of file ovm_object.sv.

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

Definition at line 136 of file ovm_object.sv.

void ovm_object::record ovm_recorder  recorder = null  ) 
 

Definition at line 793 of file ovm_object.sv.

void ovm_object::reseed  ) 
 

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

void ovm_object::set_name string  name  )  [virtual]
 

Reimplemented in ovm_component.

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

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

Definition at line 202 of file ovm_object.sv.

string ovm_object::sprint ovm_printer  printer = null  ) 
 

Definition at line 105 of file ovm_object.sv.

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

Definition at line 750 of file ovm_object.sv.

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

Definition at line 761 of file ovm_object.sv.

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

Definition at line 773 of file ovm_object.sv.


Member Data Documentation

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

Definition at line 232 of file ovm_object.svh.

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

Definition at line 217 of file ovm_object.svh.

string ovm_object::m_leaf_name [private]
 

Definition at line 223 of file ovm_object.svh.

ovm_status_container ovm_object::m_sc = new [static, protected]
 

Definition at line 227 of file ovm_object.svh.

bit ovm_object::print_matches = 0 [static]
 

Definition at line 148 of file ovm_object.svh.

bit ovm_object::use_ovm_seeding = 1 [static]
 

Definition at line 96 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: 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:20:58 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV