vmm_data Class Reference

Inheritance list for class vmm_data:

List of all members.
Typedef at line 664 of file sv/std_lib/vmm.sv.
Defined at line 1286 of file sv/std_lib/vmm.sv.

Public Member Functions

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

Public Attributes

int  data_id 
local vmm_log  log 
vmm_notify  notify 
int  scenario_id 
int  stream_id 

Protected Member Functions

function void  copy_data ( vmm_data to )
function uint  __vmm_byte_size ( int kind = -1 )

Protected Attributes

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

Enum Typedefs

 typedef enum  do_how_e 
 typedef enum  do_what_e 
 typedef enum  notifications_e 


Member Function Documentation

  function vmm_data
 vmm_data::allocate

 (   ) 


 Superseding functions 
 xvc_action :: allocate 


Prototype at line 1314 of file sv/std_lib/vmm.sv.
Defined at line 65 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::byte_pack

 (  ref logic[7:0] bytes, input int unsigned offset = 0, input int kind = -1  ) 


 Superseding functions 
 xvc_action :: byte_pack 


Prototype at line 1326 of file sv/std_lib/vmm.sv.
Defined at line 149 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::byte_size

 (  int kind = -1  ) 


 Superseding functions 
 xvc_action :: byte_size 


Prototype at line 1322 of file sv/std_lib/vmm.sv.
Defined at line 131 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::byte_unpack

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


 Superseding functions 
 xvc_action :: byte_unpack 


Prototype at line 1330 of file sv/std_lib/vmm.sv.
Defined at line 165 of file sv/std_lib/vmm_data.sv.

  function bit
 vmm_data::compare

 (  vmm_data to, output string diff, input int kind = -1  ) 


 Superseding functions 
 xvc_action :: compare 


Prototype at line 1320 of file sv/std_lib/vmm.sv.
Defined at line 115 of file sv/std_lib/vmm_data.sv.

  function vmm_data
 vmm_data::copy

 (  vmm_data to = null  ) 


 Superseding functions 
 xvc_action :: copy 


Prototype at line 1315 of file sv/std_lib/vmm.sv.
Defined at line 77 of file sv/std_lib/vmm_data.sv.

 protected function void
 vmm_data::copy_data

 (  vmm_data to  ) 


 Superseding functions 
 xvc_action :: copy_data 


Prototype at line 1316 of file sv/std_lib/vmm.sv.
Defined at line 89 of file sv/std_lib/vmm_data.sv.

  function void
 vmm_data::display

 (  string prefix =  ) 


Prototype at line 1309 of file sv/std_lib/vmm.sv.
Defined at line 48 of file sv/std_lib/vmm_data.sv.

  function vmm_data
 vmm_data::do_allocate

 (   ) 


Prototype at line 1378 of file sv/std_lib/vmm.sv.
Defined at line 189 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::do_byte_pack

 (  ref logic[7:0] bytes, input int unsigned offset = 0, input int kind = -1  ) 


Prototype at line 1389 of file sv/std_lib/vmm.sv.
Defined at line 223 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::do_byte_size

 (  int kind = -1  ) 


Prototype at line 1385 of file sv/std_lib/vmm.sv.
Defined at line 209 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::do_byte_unpack

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


Prototype at line 1393 of file sv/std_lib/vmm.sv.
Defined at line 232 of file sv/std_lib/vmm_data.sv.

  function bit
 vmm_data::do_compare

 (  vmm_data to, output string diff, input int kind = -1  ) 


Prototype at line 1383 of file sv/std_lib/vmm.sv.
Defined at line 203 of file sv/std_lib/vmm_data.sv.

  function vmm_data
 vmm_data::do_copy

 (  vmm_data to = null  ) 


Prototype at line 1379 of file sv/std_lib/vmm.sv.
Defined at line 195 of file sv/std_lib/vmm_data.sv.

  function bit
 vmm_data::do_is_valid

 (  bit silent = 1, int kind = -1  ) 


Prototype at line 1377 of file sv/std_lib/vmm.sv.
Defined at line 183 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::do_max_byte_size

 (  int kind = -1  ) 


Prototype at line 1386 of file sv/std_lib/vmm.sv.
Defined at line 215 of file sv/std_lib/vmm_data.sv.

  function string
 vmm_data::do_psdisplay

 (  string prefix =  ) 


Prototype at line 1374 of file sv/std_lib/vmm.sv.
Defined at line 176 of file sv/std_lib/vmm_data.sv.

  function bit
 vmm_data::is_valid

 (  bit silent = 1, int kind = -1  ) 


 Superseding functions 
 xvc_action :: is_valid 


Prototype at line 1313 of file sv/std_lib/vmm.sv.
Defined at line 60 of file sv/std_lib/vmm_data.sv.

  function bit
 vmm_data::load

 (  int file  ) 


Prototype at line 1331 of file sv/std_lib/vmm.sv.
Defined at line 239 of file sv/std_lib/vmm_data.sv.

  function uint
 vmm_data::max_byte_size

 (  int kind = -1  ) 


 Superseding functions 
 xvc_action :: max_byte_size 


Prototype at line 1323 of file sv/std_lib/vmm.sv.
Defined at line 142 of file sv/std_lib/vmm_data.sv.

  function string
 vmm_data::psdisplay

 (  string prefix =  ) 


 Superseding functions 
 vmm_rw_access :: psdisplay 
 vmm_scenario :: psdisplay 
 vmm_ms_scenario :: psdisplay 
 xvc_action :: psdisplay 


Prototype at line 1310 of file sv/std_lib/vmm.sv.
Defined at line 53 of file sv/std_lib/vmm_data.sv.

  function void
 vmm_data::save

 (  int file  ) 


Prototype at line 1332 of file sv/std_lib/vmm.sv.
Defined at line 312 of file sv/std_lib/vmm_data.sv.

  function vmm_log
 vmm_data::set_log

 (  vmm_log log  ) 


Prototype at line 1307 of file sv/std_lib/vmm.sv.
Defined at line 41 of file sv/std_lib/vmm_data.sv.

 protected function uint
 vmm_data::__vmm_byte_size

 (  int kind = -1  ) 


Prototype at line 1347 of file sv/std_lib/vmm.sv.
Defined at line 126 of file sv/std_lib/vmm_data.sv.

  function void
 vmm_data::do_all

 (  do_what_e what, ref logic[7:0] pack, const ref logic[7:0] unpack  ) 


Defined at line 1371 of file sv/std_lib/vmm.sv.

  function void
 vmm_data::new

 (  vmm_log log  ) 


 Superseding functions 
 vmm_rw_access :: new 
 vmm_rw_burst :: new 
 vmm_sb_ds_pkts :: new 
 vmm_scenario :: new 
 vmm_ms_scenario :: new 
 xvc_action :: new 


Prototype at line 1301 of file sv/std_lib/vmm.sv.
Defined at line 24 of file sv/std_lib/vmm_data.sv.


Member Attribute Documentation

 int  attribute
 vmm_data::data_id


Defined at line 1292 of file sv/std_lib/vmm.sv.

 local vmm_log  attribute
 vmm_data::log


 Superseding attributes 
 vmm_rw_access :: log 
 vmm_ms_scenario :: log 


Defined at line 1288 of file sv/std_lib/vmm.sv.

 vmm_notify  attribute
 vmm_data::notify


Defined at line 1294 of file sv/std_lib/vmm.sv.

 int  attribute
 vmm_data::scenario_id


 Superseding attributes 
 vmm_scenario :: scenario_id 


Defined at line 1291 of file sv/std_lib/vmm.sv.

 int  attribute
 vmm_data::stream_id


 Superseding attributes 
 vmm_scenario :: stream_id 


Defined at line 1290 of file sv/std_lib/vmm.sv.

 static protected logic[7:0]  attribute
 vmm_data::__vmm_bytes[]


Defined at line 1345 of file sv/std_lib/vmm.sv.

 static protected bit  attribute
 vmm_data::__vmm_done_user


Defined at line 1346 of file sv/std_lib/vmm.sv.

 static protected string  attribute
 vmm_data::__vmm_image


Defined at line 1338 of file sv/std_lib/vmm.sv.

 static protected int  attribute
 vmm_data::__vmm_kind


Defined at line 1340 of file sv/std_lib/vmm.sv.

 static protected int  attribute
 vmm_data::__vmm_len


Defined at line 1342 of file sv/std_lib/vmm.sv.

 static protected bit[4095:0]  attribute
 vmm_data::__vmm_maxbits


Defined at line 1343 of file sv/std_lib/vmm.sv.

 static protected int  attribute
 vmm_data::__vmm_offset


Defined at line 1341 of file sv/std_lib/vmm.sv.

 static protected string  attribute
 vmm_data::__vmm_prefix


Defined at line 1337 of file sv/std_lib/vmm.sv.

 static protected vmm_data  attribute
 vmm_data::__vmm_rhs


Defined at line 1339 of file sv/std_lib/vmm.sv.

 static protected bit  attribute
 vmm_data::__vmm_status


Defined at line 1344 of file sv/std_lib/vmm.sv.


Member Enum Typedef Documentation

 typedef enum
 vmm_data::do_how_e
DO_NOCOPY = 1
DO_REFCOPY = 2
DO_DEEPCOPY = 4
HOW_TO_COPY = 7
DO_NOCOMPARE = 8
DO_REFCOMPARE = 16
DO_DEEPCOMPARE = 32
HOW_TO_COMPARE = 56
DO_NONE = 9
DO_REF = 18
DO_DEEP = 36
_DO_DUMMY


Defined at line 1367 of file sv/std_lib/vmm.sv.

 typedef enum
 vmm_data::do_what_e
DO_PRINT = 1
DO_COPY = 2
DO_COMPARE = 4
DO_PACK = 16
DO_UNPACK = 32
DO_ALL = 4095


Defined at line 1354 of file sv/std_lib/vmm.sv.

 typedef enum
 vmm_data::notifications_e
EXECUTE = 999
STARTED = 999
ENDED = 999


Defined at line 1298 of file sv/std_lib/vmm.sv.