vmm_sb_ds Class Reference

Inheritance diagram for class vmm_sb_ds:

List of all members.



Public Member Functions

function void  append_callback ( vmm_sb_ds_callbacks cb )
function bit  compare ( vmm_data actual, vmm_data expected )
function void  define_stream ( int stream_id, string descr = "", vmm_sb_ds :: kind_e kind = EITHER )
function void  describe ( )
function void  display ( string prefix = "" )
function vmm_data  expect_in_order ( vmm_data pkt, int exp_stream_id = -1, int inp_stream_id = -1, bit silent = 0 )
function vmm_data  expect_out_of_order ( vmm_data pkt, int exp_stream_id = -1, int inp_stream_id = -1, bit silent = 0 )
function bit  expect_with_losses ( input vmm_data pkt, output vmm_data matched, output vmm_data lost[], input int exp_stream_id, input int inp_stream_id, input bit silent )
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 )
function bit  insert ( vmm_data pkt, vmm_sb_ds :: kind_e kind = INPUT, int exp_stream_id = -1, int inp_stream_id = -1 )
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 )
function bit  quick_compare ( vmm_data actual, vmm_data expected )
function bit  remove ( vmm_data pkt, vmm_sb_ds :: kind_e kind = INPUT, int exp_stream_id = -1, int inp_stream_id = -1 )
function void  report ( int exp_stream_id = -1, int inp_stream_id = -1 )
function int  stream_id ( vmm_data pkt, vmm_sb_ds :: kind_e kind = EITHER )
function bit  transform ( input vmm_data in_pkt, output vmm_data out_pkts[] )
function void  unregister_callback ( vmm_sb_ds_callbacks cb )

Public Attributes

vmm_log  log 
vmm_notify  notify 
bit  Xdefine_stream_calledX = 0; 
vmm_sb_ds_exp_streams  Xexp_streamsX [ int ] 
string  Xexp_stream_descsX [ int ] 
string  Xinp_stream_descsX [ int ] 
bit  Xparallel_streamsX = 0; 

Member 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  ) 

  function bit
 vmm_sb_ds::compare

 (  vmm_data actual , vmm_data expected  ) 

  function void
 vmm_sb_ds::define_stream

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

  function void
 vmm_sb_ds::describe

 (   ) 

  function void
 vmm_sb_ds::display

 (  string prefix = ""  ) 

  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  ) 

  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  ) 

  function bit
 vmm_sb_ds::expect_with_losses

 (  input vmm_data pkt , output vmm_data matched , output vmm_data lost [], input int exp_stream_id , input int inp_stream_id , input bit silent  ) 

  function void
 vmm_sb_ds::flush

 (   ) 

  function int
 vmm_sb_ds::get_n_dropped

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::get_n_inserted

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::get_n_matched

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::get_n_mismatched

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::get_n_not_found

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::get_n_orphaned

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::get_n_pending

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function bit
 vmm_sb_ds::insert

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

  function bit
 vmm_sb_ds::match

 (  vmm_data actual , vmm_data expected  ) 

  function void
 vmm_sb_ds::new

 (  string name  ) 

  function vmm_sb_ds_iter
 vmm_sb_ds::new_sb_iter

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function vmm_sb_ds_stream_iter
 vmm_sb_ds::new_stream_iter

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function void
 vmm_sb_ds::prepend_callback

 (  vmm_sb_ds_callbacks cb  ) 

  function bit
 vmm_sb_ds::quick_compare

 (  vmm_data actual , vmm_data expected  ) 

  function bit
 vmm_sb_ds::remove

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

  function void
 vmm_sb_ds::report

 (  int exp_stream_id = -1, int inp_stream_id = -1  ) 

  function int
 vmm_sb_ds::stream_id

 (  vmm_data pkt , vmm_sb_ds :: kind_e kind = EITHER  ) 

  function bit
 vmm_sb_ds::transform

 (  input vmm_data in_pkt , output vmm_data out_pkts []  ) 

  function void
 vmm_sb_ds::unregister_callback

 (  vmm_sb_ds_callbacks cb  ) 


Member Attribute Documentation

 vmm_log  attribute
 vmm_sb_ds::log

 vmm_notify  attribute
 vmm_sb_ds::notify

 bit  attribute
 vmm_sb_ds::Xdefine_stream_calledX = 0

 vmm_sb_ds_exp_streams  attribute
 vmm_sb_ds::Xexp_streamsX[ int ]

 string  attribute
 vmm_sb_ds::Xexp_stream_descsX[ int ]

 string  attribute
 vmm_sb_ds::Xinp_stream_descsX[ int ]

 bit  attribute
 vmm_sb_ds::Xparallel_streamsX = 0


Member Typedef Documentation

 typedef enum  vmm_sb_ds::kind_e
EITHER
INPUT
EXPECT

 typedef enum  vmm_sb_ds::notifications_e
INSERTED(999_000)
EMPTY
MATCHED
MISMATCHED
DROPPED
NOT_FOUND
ORPHANED

 typedef enum  vmm_sb_ds::ordering_e
IN_ORDER
WITH_LOSSES
OUT_ORDER