////------------------------------------------------------------------------------classuvm_random_sequenceextendsuvm_sequence#(uvm_sequence_item);randprotectedintunsignedl_count=-1;localintunsignedl_exhaustive_seq_kind;localintunsignedmax_kind;randlocalintunsignedl_kind;protectedbitm_success;// Function- get_count//// Returns the count of the number of sub-sequences which are randomly generated.// By default, count is equal to the value from the sequencer's count variable.// However, if the sequencer's count variable is -1, then a random value between// 0 and sequencer.max_random_count (exclusive) is chosen. The sequencer's// count variable is subsequently reset to the random value that was used. If// get_count() is call before the sequence has started, the return value will
////------------------------------------------------------------------------------classuvm_simple_sequenceextendsuvm_sequence#(uvm_sequence_item);protectedranduvm_sequence_itemitem;// new// ---functionnew(stringname="uvm_simple_sequence");super.new(name);// Initialized to avoid potential warnings if this class instance // is randomized without calling its body()item=new;endfunction// body// ----taskbody();