vmm_data Class Reference

Inheritance diagram for vmm_data:
Inheritance graph
[legend]
Collaboration diagram for vmm_data:
Collaboration graph
[legend]

List of all members.

Public Types

enum  notifications_e { EXECUTE = 999_999, STARTED = 999_998, ENDED = 999_997 }
enum  do_what_e {
  DO_PRINT = 0x001, DO_COPY = 0x002, DO_COMPARE = 0x004, DO_PACK = 0x010,
  DO_UNPACK = 0x020, DO_ALL = 0xFFF
}
enum  do_how_e {
  DO_NOCOPY = 0x001, DO_REFCOPY = 0x002, DO_DEEPCOPY = 0x004, HOW_TO_COPY = 0x007,
  DO_NOCOMPARE = 0x008, DO_REFCOMPARE = 0x010, DO_DEEPCOMPARE = 0x020, HOW_TO_COMPARE = 0x038,
  DO_NONE = 0x009, DO_REF = 0x012, DO_DEEP = 0x024, _DO_DUMMY
}

Public Member Functions

 new (vmm_log log)
vmm_log set_log (vmm_log log)
void display (string prefix="")
virtual string psdisplay (string prefix="")
virtual bit is_valid (bit silent=1, int kind=-1)
virtual vmm_data allocate ()
virtual vmm_data copy (vmm_data to=null)
virtual bit compare (vmm_data to, output string diff, input int kind=-1)
virtual int unsigned byte_size (int kind=-1)
virtual int unsigned max_byte_size (int kind=-1)
virtual int unsigned byte_pack (ref logic< 7:0 > bytes[], input int unsigned offset=0, input int kind=-1)
virtual int unsigned byte_unpack (const ref logic< 7:0 > bytes[], input int unsigned offset=0, input int len=-1, input int kind=-1)
virtual bit load (int file)
virtual void save (int file)
void do_all (do_what_e what, ref logic< 7:0 > pack[], const ref logic< 7:0 > unpack[])
virtual string do_psdisplay (string prefix="")
virtual bit do_is_valid (bit silent=1, int kind=-1)
virtual vmm_data do_allocate ()
virtual vmm_data do_copy (vmm_data to=null)
virtual bit do_compare (vmm_data to, output string diff, input int kind=-1)
virtual int unsigned do_byte_size (int kind=-1)
virtual int unsigned do_max_byte_size (int kind=-1)
virtual int unsigned do_byte_pack (ref logic< 7:0 > bytes[], input int unsigned offset=0, input int kind=-1)
virtual int unsigned do_byte_unpack (const ref logic< 7:0 > bytes[], input int unsigned offset=0, input int len=-1, input int kind=-1)

Public Attributes

int stream_id
int scenario_id
int data_id
vmm_notify notify

Protected Member Functions

virtual void copy_data (vmm_data to)

Static Protected Attributes

static string __vmm_prefix
static string __vmm_image
static vmm_data __vmm_rhs
static int __vmm_kind
static int __vmm_offset
static int __vmm_len
static bit< 4095:0 > __vmm_maxbits
static bit __vmm_status
static logic< 7:0 > __vmm_bytes []
static bit __vmm_done_user

Private Attributes

vmm_log log

Detailed Description

Definition at line 1050 of file std_lib/vmm.sv.


Member Enumeration Documentation

Enumerator:
DO_NOCOPY 
DO_REFCOPY 
DO_DEEPCOPY 
HOW_TO_COPY 
DO_NOCOMPARE 
DO_REFCOMPARE 
DO_DEEPCOMPARE 
HOW_TO_COMPARE 
DO_NONE 
DO_REF 
DO_DEEP 
_DO_DUMMY 

Definition at line 1123 of file std_lib/vmm.sv.

Enumerator:
DO_PRINT 
DO_COPY 
DO_COMPARE 
DO_PACK 
DO_UNPACK 
DO_ALL 

Definition at line 1116 of file std_lib/vmm.sv.

Enumerator:
EXECUTE 
STARTED 
ENDED 

Definition at line 1063 of file std_lib/vmm.sv.


Member Function Documentation

vmm_data vmm_data::allocate (  )  [virtual]

Reimplemented in xvc_action.

Definition at line 63 of file vmm_data.sv.

int unsigned vmm_data::byte_pack ( ref logic< 7:0 >  bytes[],
input int unsigned  offset = 0,
input int  kind = -1 
) [virtual]

Reimplemented in xvc_action.

Definition at line 137 of file vmm_data.sv.

int unsigned vmm_data::byte_size ( int  kind = -1  )  [virtual]

Reimplemented in xvc_action.

Definition at line 121 of file vmm_data.sv.

int unsigned vmm_data::byte_unpack ( const ref logic< 7:0 >  bytes[],
input int unsigned  offset = 0,
input int  len = -1,
input int  kind = -1 
) [virtual]

Reimplemented in xvc_action.

Definition at line 152 of file vmm_data.sv.

bit vmm_data::compare ( vmm_data  to,
output string  diff,
input int  kind = -1 
) [virtual]

Definition at line 108 of file vmm_data.sv.

vmm_data vmm_data::copy ( vmm_data  to = null  )  [virtual]

Reimplemented in xvc_action.

Definition at line 75 of file vmm_data.sv.

void vmm_data::copy_data ( vmm_data  to  )  [protected, virtual]

Reimplemented in xvc_action.

Definition at line 87 of file vmm_data.sv.

void vmm_data::display ( string  prefix = ""  ) 

Definition at line 46 of file vmm_data.sv.

void vmm_data::do_all ( do_what_e  what,
ref logic< 7:0 >  pack[],
const ref logic< 7:0 >  unpack[] 
)

Definition at line 1136 of file std_lib/vmm.sv.

vmm_data vmm_data::do_allocate (  )  [virtual]

Definition at line 177 of file vmm_data.sv.

int unsigned vmm_data::do_byte_pack ( ref logic< 7:0 >  bytes[],
input int unsigned  offset = 0,
input int  kind = -1 
) [virtual]

Definition at line 204 of file vmm_data.sv.

int unsigned vmm_data::do_byte_size ( int  kind = -1  )  [virtual]

Definition at line 194 of file vmm_data.sv.

int unsigned vmm_data::do_byte_unpack ( const ref logic< 7:0 >  bytes[],
input int unsigned  offset = 0,
input int  len = -1,
input int  kind = -1 
) [virtual]

Definition at line 211 of file vmm_data.sv.

bit vmm_data::do_compare ( vmm_data  to,
output string  diff,
input int  kind = -1 
) [virtual]

Definition at line 187 of file vmm_data.sv.

vmm_data vmm_data::do_copy ( vmm_data  to = null  )  [virtual]

Definition at line 182 of file vmm_data.sv.

bit vmm_data::do_is_valid ( bit  silent = 1,
int  kind = -1 
) [virtual]

Definition at line 171 of file vmm_data.sv.

int unsigned vmm_data::do_max_byte_size ( int  kind = -1  )  [virtual]

Definition at line 199 of file vmm_data.sv.

string vmm_data::do_psdisplay ( string  prefix = ""  )  [virtual]

Definition at line 166 of file vmm_data.sv.

bit vmm_data::is_valid ( bit  silent = 1,
int  kind = -1 
) [virtual]

Reimplemented in xvc_action.

Definition at line 57 of file vmm_data.sv.

bit vmm_data::load ( int  file  )  [virtual]

Definition at line 220 of file vmm_data.sv.

int unsigned vmm_data::max_byte_size ( int  kind = -1  )  [virtual]

Reimplemented in xvc_action.

Definition at line 132 of file vmm_data.sv.

vmm_data::new ( vmm_log log  VMM_DATA_BASE_NEW_EXTERN_ARGS  ) 

Definition at line 23 of file vmm_data.sv.

string vmm_data::psdisplay ( string  prefix = ""  )  [virtual]

Reimplemented in xvc_action.

Definition at line 51 of file vmm_data.sv.

void vmm_data::save ( int  file  )  [virtual]

Definition at line 293 of file vmm_data.sv.

vmm_log vmm_data::set_log ( vmm_log  log  ) 

Definition at line 39 of file vmm_data.sv.


Member Data Documentation

logic<7:0> vmm_data::__vmm_bytes[] [static, protected]

Definition at line 1113 of file std_lib/vmm.sv.

bit vmm_data::__vmm_done_user [static, protected]

Definition at line 1114 of file std_lib/vmm.sv.

string vmm_data::__vmm_image [static, protected]

Definition at line 1106 of file std_lib/vmm.sv.

int vmm_data::__vmm_kind [static, protected]

Definition at line 1108 of file std_lib/vmm.sv.

int vmm_data::__vmm_len [static, protected]

Definition at line 1110 of file std_lib/vmm.sv.

bit<4095:0> vmm_data::__vmm_maxbits [static, protected]

Definition at line 1111 of file std_lib/vmm.sv.

int vmm_data::__vmm_offset [static, protected]

Definition at line 1109 of file std_lib/vmm.sv.

string vmm_data::__vmm_prefix [static, protected]

Definition at line 1105 of file std_lib/vmm.sv.

vmm_data vmm_data::__vmm_rhs [static, protected]

Definition at line 1107 of file std_lib/vmm.sv.

bit vmm_data::__vmm_status [static, protected]

Definition at line 1112 of file std_lib/vmm.sv.

Definition at line 1060 of file std_lib/vmm.sv.

Definition at line 1056 of file std_lib/vmm.sv.

Definition at line 1062 of file std_lib/vmm.sv.

Definition at line 1059 of file std_lib/vmm.sv.

Definition at line 1058 of file std_lib/vmm.sv.


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

Intelligent Design Verification
Intelligent Design Verification
Project: VMM, Revision: 1.0.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 12:01:51 2010
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV