vmm_sb_ds Class Reference

Inheritance list for class vmm_sb_ds:

List of all members.
Defined at line 60 of file sb/vmm_sb_ds.sv.

Public Member Functions

function void  append_callback ( vmm_sb_ds_callbacks cb )
virtual function bit  compare ( vmm_data actual, vmm_data expected )
function void  define_stream ( int stream_id, string descr = "", kind_e kind = EITHER )
virtual function void  describe ( )
virtual function void  display ( string prefix = "" )
virtual function vmm_data  expect_in_order ( vmm_data pkt, int exp_stream_id = 1, int inp_stream_id = 1, bit silent = 0 )
virtual function vmm_data  expect_out_of_order ( vmm_data pkt, int exp_stream_id = 1, int inp_stream_id = 1, bit silent = 0 )
virtual function bit  expect_with_losses ( vmm_data pkt, vmm_data matched, vmm_data lost, int exp_stream_id = 1, int inp_stream_id = 1, bit silent = 0 )
virtual function void  flush ( )
function int  get_n_dropped ( int exp_stream_id = 1, int inp_stream_id = 1 )
function int  get_n_inserted ( int exp_stream_id = 1, int inp_stream_id = 1 )
function int  get_n_matched ( int exp_stream_id = 1, int inp_stream_id = 1 )
function int  get_n_mismatched ( int exp_stream_id = 1, int inp_stream_id = 1 )
function int  get_n_not_found ( int exp_stream_id = 1, int inp_stream_id = 1 )
function int  get_n_orphaned ( int exp_stream_id = 1, int inp_stream_id = 1 )
function int  get_n_pending ( int exp_stream_id = 1, int inp_stream_id = 1 )
virtual function bit  insert ( vmm_data pkt, kind_e kind = INPUT, int exp_stream_id = 1, int inp_stream_id = 1 )
virtual function bit  match ( vmm_data actual, vmm_data expected )
function void  new ( string name )
function vmm_sb_ds_iter  new_sb_iter ( int exp_stream_id = 1, int inp_stream_id = 1 )
function vmm_sb_ds_stream_iter  new_stream_iter ( int exp_stream_id = 1, int inp_stream_id = 1 )
function void  prepend_callback ( vmm_sb_ds_callbacks cb )
virtual function bit  quick_compare ( vmm_data actual, vmm_data expected )
virtual function bit  remove ( vmm_data pkt, kind_e kind = INPUT, int exp_stream_id = 1, int inp_stream_id = 1 )
virtual function void  report ( int exp_stream_id = 1, int inp_stream_id = 1 )
virtual function int  stream_id ( vmm_data pkt, kind_e kind = EITHER )
virtual function bit  transform ( vmm_data in_pkt, vmm_data out_pkts )
function void  unregister_callback ( vmm_sb_ds_callbacks cb )

Public Attributes

bit  Xdefine_stream_calledX 
string  Xexp_stream_descsX 
vmm_sb_ds_exp_streams  Xexp_streamsX 
string  Xinp_stream_descsX 
bit  Xparallel_streamsX 
vmm_sb_ds_callbacks  callbacks 
bit  insert_recursed 
vmm_log  log 
int  n_not_found 
int  n_orphaned 
vmm_notify  notify 
bit  orphaned 

Enum Typedefs

 typedef enum  kind_e 
 typedef enum  notifications_e 
 typedef enum  ordering_e 


Member Function Documentation

  function void
 vmm_sb_ds::append_callback

 (  vmm_sb_ds_callbacks cb  ) 


Prototype at line 137 of file sb/vmm_sb_ds.sv.
Defined at line 1036 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::compare

 (  vmm_data actual, vmm_data expected  ) 


Prototype at line 109 of file sb/vmm_sb_ds.sv.
Defined at line 587 of file sb/vmm_sb_ds.sv.

  function void
 vmm_sb_ds::define_stream

 (  int stream_id, string descr = "", kind_e kind = EITHER  ) 


Prototype at line 90 of file sb/vmm_sb_ds.sv.
Defined at line 336 of file sb/vmm_sb_ds.sv.

 virtual function void
 vmm_sb_ds::describe

 (   ) 


Prototype at line 157 of file sb/vmm_sb_ds.sv.
Defined at line 1224 of file sb/vmm_sb_ds.sv.

 virtual function void
 vmm_sb_ds::display

 (  string prefix = ""  ) 


Prototype at line 158 of file sb/vmm_sb_ds.sv.
Defined at line 1236 of file sb/vmm_sb_ds.sv.

 virtual function vmm_data
 vmm_sb_ds::expect_in_order

 (  vmm_data pkt, int exp_stream_id = 1, int inp_stream_id = 1, bit silent = 0  ) 


Prototype at line 117 of file sb/vmm_sb_ds.sv.
Defined at line 600 of file sb/vmm_sb_ds.sv.

 virtual function vmm_data
 vmm_sb_ds::expect_out_of_order

 (  vmm_data pkt, int exp_stream_id = 1, int inp_stream_id = 1, bit silent = 0  ) 


Prototype at line 127 of file sb/vmm_sb_ds.sv.
Defined at line 883 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::expect_with_losses

 (  vmm_data pkt, vmm_data matched, vmm_data lost, int exp_stream_id = 1, int inp_stream_id = 1, bit silent = 0  ) 


Prototype at line 123 of file sb/vmm_sb_ds.sv.
Defined at line 717 of file sb/vmm_sb_ds.sv.

 virtual function void
 vmm_sb_ds::flush

 (   ) 


Prototype at line 129 of file sb/vmm_sb_ds.sv.
Defined at line 989 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_dropped

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 149 of file sb/vmm_sb_ds.sv.
Defined at line 1125 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_inserted

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 141 of file sb/vmm_sb_ds.sv.
Defined at line 1067 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_matched

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 145 of file sb/vmm_sb_ds.sv.
Defined at line 1097 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_mismatched

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 147 of file sb/vmm_sb_ds.sv.
Defined at line 1111 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_not_found

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 151 of file sb/vmm_sb_ds.sv.
Defined at line 1139 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_orphaned

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 153 of file sb/vmm_sb_ds.sv.
Defined at line 1157 of file sb/vmm_sb_ds.sv.

  function int
 vmm_sb_ds::get_n_pending

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 143 of file sb/vmm_sb_ds.sv.
Defined at line 1083 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::insert

 (  vmm_data pkt, kind_e kind = INPUT, int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 95 of file sb/vmm_sb_ds.sv.
Defined at line 381 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::match

 (  vmm_data actual, vmm_data expected  ) 


Prototype at line 105 of file sb/vmm_sb_ds.sv.
Defined at line 575 of file sb/vmm_sb_ds.sv.

  function void
 vmm_sb_ds::new

 (  string name  ) 


Prototype at line 83 of file sb/vmm_sb_ds.sv.
Defined at line 312 of file sb/vmm_sb_ds.sv.

  function vmm_sb_ds_iter
 vmm_sb_ds::new_sb_iter

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 132 of file sb/vmm_sb_ds.sv.
Defined at line 1004 of file sb/vmm_sb_ds.sv.

  function vmm_sb_ds_stream_iter
 vmm_sb_ds::new_stream_iter

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 134 of file sb/vmm_sb_ds.sv.
Defined at line 1012 of file sb/vmm_sb_ds.sv.

  function void
 vmm_sb_ds::prepend_callback

 (  vmm_sb_ds_callbacks cb  ) 


Prototype at line 136 of file sb/vmm_sb_ds.sv.
Defined at line 1019 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::quick_compare

 (  vmm_data actual, vmm_data expected  ) 


Prototype at line 107 of file sb/vmm_sb_ds.sv.
Defined at line 581 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::remove

 (  vmm_data pkt, kind_e kind = INPUT, int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 99 of file sb/vmm_sb_ds.sv.
Defined at line 480 of file sb/vmm_sb_ds.sv.

 virtual function void
 vmm_sb_ds::report

 (  int exp_stream_id = 1, int inp_stream_id = 1  ) 


Prototype at line 156 of file sb/vmm_sb_ds.sv.
Defined at line 1191 of file sb/vmm_sb_ds.sv.

 virtual function int
 vmm_sb_ds::stream_id

 (  vmm_data pkt, kind_e kind = EITHER  ) 


Prototype at line 86 of file sb/vmm_sb_ds.sv.
Defined at line 329 of file sb/vmm_sb_ds.sv.

 virtual function bit
 vmm_sb_ds::transform

 (  vmm_data in_pkt, vmm_data out_pkts  ) 


Prototype at line 102 of file sb/vmm_sb_ds.sv.
Defined at line 566 of file sb/vmm_sb_ds.sv.

  function void
 vmm_sb_ds::unregister_callback

 (  vmm_sb_ds_callbacks cb  ) 


Prototype at line 138 of file sb/vmm_sb_ds.sv.
Defined at line 1053 of file sb/vmm_sb_ds.sv.


Member Attribute Documentation

  bit  attribute
 vmm_sb_ds::Xdefine_stream_calledX


Defined at line 65 of file sb/vmm_sb_ds.sv.

  string  attribute
 vmm_sb_ds::Xexp_stream_descsX


Defined at line 64 of file sb/vmm_sb_ds.sv.

  vmm_sb_ds_exp_streams  attribute
 vmm_sb_ds::Xexp_streamsX


Defined at line 62 of file sb/vmm_sb_ds.sv.

  string  attribute
 vmm_sb_ds::Xinp_stream_descsX


Defined at line 63 of file sb/vmm_sb_ds.sv.

  bit  attribute
 vmm_sb_ds::Xparallel_streamsX


Defined at line 66 of file sb/vmm_sb_ds.sv.

 local  vmm_sb_ds_callbacks  attribute
 vmm_sb_ds::callbacks


Defined at line 73 of file sb/vmm_sb_ds.sv.

 local  bit  attribute
 vmm_sb_ds::insert_recursed


Defined at line 71 of file sb/vmm_sb_ds.sv.

  vmm_log  attribute
 vmm_sb_ds::log


Defined at line 75 of file sb/vmm_sb_ds.sv.

 local  int  attribute
 vmm_sb_ds::n_not_found


Defined at line 68 of file sb/vmm_sb_ds.sv.

 local  int  attribute
 vmm_sb_ds::n_orphaned


Defined at line 70 of file sb/vmm_sb_ds.sv.

  vmm_notify  attribute
 vmm_sb_ds::notify


Defined at line 76 of file sb/vmm_sb_ds.sv.

 local  bit  attribute
 vmm_sb_ds::orphaned


Defined at line 69 of file sb/vmm_sb_ds.sv.


Member Enum Typedef Documentation

 typedef enum
 vmm_sb_ds::kind_e

EITHER
INPUT
EXPECT


Defined at line 78 of file sb/vmm_sb_ds.sv.

 typedef enum
 vmm_sb_ds::notifications_e

INSERTED = 999
EMPTY
MATCHED
MISMATCHED
DROPPED
NOT_FOUND
ORPHANED


Defined at line 81 of file sb/vmm_sb_ds.sv.

 typedef enum
 vmm_sb_ds::ordering_e

IN_ORDER
WITH_LOSSES
OUT_ORDER


Defined at line 112 of file sb/vmm_sb_ds.sv.