Home Methodologies OVM Tutorial OVM build in sequences
Main Menu
Home
System Verilog
Verilog
Methodologies
    - OVM Tutorial
        -- OVM Overview
        -- CRV in OVM
        -- OVM Based Env
        -- UVC in OVM
        -- Data Item
        -- Sequence Item Macros
        -- ovm-driver
        -- OVM sequencer
        -- OVM Monitor
        -- OVM Sequences
        -- OVM build in sequences
        -- OVM Do macros
        -- OVM Test
        -- Messaging utilities
    - OVM Example
    - UVM
    - VMM
    - VMM RAL
    - VMM Example
    - AVM Tutorial
Open Vera
Digital Concepts
Verification Basics
Protocols
Scripting
Articles
Videos
Interview Questions
Computer Architechture
C and C++
Blog/Article
AsicGuru Blog
Tags Cloud
Ads
Usefull Sites
Know Your IP/Location
Local Information India
Buy Car/Inverter Batteries
Real Estate India
Sports Accessories India
OVM build in sequences
Share This Articale:

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

 
Login/Register
Register
Sign In
Login with :-
gmail-yahoo-twitter-facebook
| | |  
  •  
  • Bookmark
    ADS