svt_ovm_sequence_library Class Reference

Inheritance diagram for class svt_ovm_sequence_library:

List of all members.



Public Member Functions

function void  add_sequence ( ovm_object_wrapper seq_type )
function void  add_sequences ( ovm_object_wrapper seq_types[$] )
static function void  add_typewide_sequence ( ovm_object_wrapper seq_type )
static function void  add_typewide_sequences ( ovm_object_wrapper seq_types[$] )
task   body ( )
function ovm_object  create ( string name = "" )
function void  do_print ( ovm_printer printer )
function void  drop_phase_objection ( )
task   execute ( ovm_object_wrapper wrap )
virtual function ovm_object_wrapper  get_object_type ( )
function void  get_sequences ( ref ovm_object_wrapper seq_types[$] )
static function type_id  get_type ( )
function string  get_type_name ( )
function void  init_sequence_library ( )
static function bit  m_add_typewide_sequence ( ovm_object_wrapper seq_type )
static function bit  m_check ( ovm_object_wrapper seq_type, svt_ovm_sequence_library lib )
function bit  m_dyn_check ( ovm_object_wrapper seq_type )
function void  m_field_automation ( ovm_object tmp_data__, int what__, string str__ )
function void  m_get_config ( )
static function bit  m_static_check ( ovm_object_wrapper seq_type )
function void  new ( string name = "" )
function void  pre_randomize ( )
function void  raise_phase_objection ( )
function void  remove_sequence ( ovm_object_wrapper seq_type )
function unsigned int  select_sequence ( int unsigned max )

Class Parameters

type  REQ = ovm_sequence_item
parameter  RSP = REQ; 

Public Attributes

int unsigned  max_random_count = 10; 
int unsigned  min_random_count = 10; 
bit  m_abort 
static bit  m_fields_checked = 0; 
svt_sequence_lib_mode  selection_mode 
rand int unsigned  select_rand 
randc bit [15:0]   select_randc 
rand int unsigned  sequence_count = 10; 
static const string  type_name = "svt_ovm_sequence_library #(REQ,RSP)"; 

Protected Attributes

static protected ovm_object_wrapper  m_typewide_sequences [$] 
protected int  seqs_distrib [string] = '{default:0}; 
protected ovm_object_wrapper  sequences [$] 
protected int unsigned  sequences_executed 

Member Typedefs

 typedef class  this_type 
 typedef class  type_id 

Constraints

constraint  valid_rand_selection  ( )
constraint  valid_randc_selection  ( )
constraint  valid_sequence_count  ( )


Member Function Documentation

  function void
 svt_ovm_sequence_library::add_sequence

 (  ovm_object_wrapper seq_type  ) 

  function void
 svt_ovm_sequence_library::add_sequences

 (  ovm_object_wrapper seq_types [$]  ) 

 static function void
 svt_ovm_sequence_library::add_typewide_sequence

 (  ovm_object_wrapper seq_type  ) 

 static function void
 svt_ovm_sequence_library::add_typewide_sequences

 (  ovm_object_wrapper seq_types [$]  ) 

  task
 svt_ovm_sequence_library::body

 (   ) 


 Superseded tasks 
 ovm_sequence_item :: body 
 ovm_sequence_base :: body 

  function ovm_object
 svt_ovm_sequence_library::create

 (  string name = ""  ) 


 Superseded functions 
 ovm_object :: create 

  function void
 svt_ovm_sequence_library::do_print

 (  ovm_printer printer  ) 


 Superseded functions 
 ovm_object :: do_print 
 ovm_transaction :: do_print 
 ovm_sequence_item :: do_print 
 ovm_sequence :: do_print 

  function void
 svt_ovm_sequence_library::drop_phase_objection

 (   ) 


Drop the previously-raised objection for the run-time phase

  task
 svt_ovm_sequence_library::execute

 (  ovm_object_wrapper wrap  ) 

 virtual function ovm_object_wrapper
 svt_ovm_sequence_library::get_object_type

 (   ) 


 Superseded functions 
 ovm_object :: get_object_type 
 ovm_sequence_item :: get_object_type 

  function void
 svt_ovm_sequence_library::get_sequences

 (  ref ovm_object_wrapper seq_types [$]  ) 

 static function type_id
 svt_ovm_sequence_library::get_type

 (   ) 


 Superseded functions 
 ovm_object :: get_type 
 ovm_sequence_item :: get_type 

  function string
 svt_ovm_sequence_library::get_type_name

 (   ) 


 Superseded functions 
 ovm_object :: get_type_name 
 ovm_sequence_item :: get_type_name 

  function void
 svt_ovm_sequence_library::init_sequence_library

 (   ) 

 static function bit
 svt_ovm_sequence_library::m_add_typewide_sequence

 (  ovm_object_wrapper seq_type  ) 

 static function bit
 svt_ovm_sequence_library::m_check

 (  ovm_object_wrapper seq_type , svt_ovm_sequence_library lib  ) 

  function bit
 svt_ovm_sequence_library::m_dyn_check

 (  ovm_object_wrapper seq_type  ) 

  function void
 svt_ovm_sequence_library::m_field_automation

 (  ovm_object tmp_data__ , int what__ , string str__  ) 


 Superseded functions 
 ovm_object :: m_field_automation 

  function void
 svt_ovm_sequence_library::m_get_config

 (   ) 

 static function bit
 svt_ovm_sequence_library::m_static_check

 (  ovm_object_wrapper seq_type  ) 

  function void
 svt_ovm_sequence_library::new

 (  string name = ""  ) 


 Superseded functions 
 ovm_object :: new 

  function void
 svt_ovm_sequence_library::pre_randomize

 (   ) 

  function void
 svt_ovm_sequence_library::raise_phase_objection

 (   ) 


Raise the objection for the current run-time phase

  function void
 svt_ovm_sequence_library::remove_sequence

 (  ovm_object_wrapper seq_type  ) 

  function unsigned int
 svt_ovm_sequence_library::select_sequence

 (  int unsigned max  ) 


 Superseding functions 
 svt_sequence_library :: select_sequence 


Class Parameters Documentation

 type  attribute
 svt_ovm_sequence_library::REQ = ovm_sequence_item

 parameter  attribute
 svt_ovm_sequence_library::RSP = REQ


Member Attribute Documentation

 int unsigned  attribute
 svt_ovm_sequence_library::max_random_count = 10

 int unsigned  attribute
 svt_ovm_sequence_library::min_random_count = 10

 bit  attribute
 svt_ovm_sequence_library::m_abort

 static bit  attribute
 svt_ovm_sequence_library::m_fields_checked = 0

 static protected ovm_object_wrapper  attribute
 svt_ovm_sequence_library::m_typewide_sequences[$]

 svt_sequence_lib_mode  attribute
 svt_ovm_sequence_library::selection_mode

 rand int unsigned  attribute
 svt_ovm_sequence_library::select_rand

 randc bit [15:0]   attribute
 svt_ovm_sequence_library::select_randc

 protected int  attribute
 svt_ovm_sequence_library::seqs_distrib[string] = '{default:0}

 protected ovm_object_wrapper  attribute
 svt_ovm_sequence_library::sequences[$]

 protected int unsigned  attribute
 svt_ovm_sequence_library::sequences_executed

 rand int unsigned  attribute
 svt_ovm_sequence_library::sequence_count = 10

 static const string  attribute
 svt_ovm_sequence_library::type_name = "svt_ovm_sequence_library #(REQ,RSP)"


Member Typedef Documentation

 typedef class  svt_ovm_sequence_library::this_type
 Typedefe'd string ==>   svt_ovm_sequence_library#(REQ,RSP)

 typedef class  svt_ovm_sequence_library::type_id
 Typedefe'd string ==>   ovm_object_registry#(svt_ovm_sequence_library)


Member Constraint Documentation

  constraint
 svt_ovm_sequence_library::valid_rand_selection


constraint valid_rand_selection {
         select_rand inside {[0:sequences.size()-1]};
   }

  constraint
 svt_ovm_sequence_library::valid_randc_selection


constraint valid_randc_selection {
         select_randc inside {[0:sequences.size()-1]};
   }

  constraint
 svt_ovm_sequence_library::valid_sequence_count


constraint valid_sequence_count {
      sequence_count inside {[min_random_count:max_random_count]};
   }