OVM build in sequences :
OVM provides built-in three build in sequences. In addition to user-defined sequences. All of them are derived from ovm_sequence. Default_sequence in ovm is ovm_random_sequence. ovm_exhaustive_sequence randomly cycles through the whole sequence associative array without selecting a duplicate.
|
index
|
Name
|
Description
|
|
[0]
|
ovm_random_sequence
|
executes a random number of sequences (does not call itself)
|
|
[1]
|
ovm_exhaustive_sequence
|
executes each sequence until all are done (except random and simple)
|
|
[2]
|
ovm_simple_sequence
|
executes a single data transaction
|
If we want to run any user defined custom sequence we need to set the ovm_default_sequence property of the sequence to the sequence we want to run. something like this in your ovm_test
- set_config_string("mem_tb_inst0.m_env0.m_sequencer", "default_sequence", "mem_write_read_bitflip_seq");
if you dont set or change the default sequence in your testcase by default it will run the ovm_random_sequence.
|
| Keywords :
|
|
This Articles is written/submitted by puneet (Puneet Aggarwal). You can also contribute to Asicguru.com. Click here to start
|
Prev << OVM Sequences
|
Next >> OVM Do macros
|