Randomly select built in ovm_rgm_sequences

Hi,

I am a newbie to the OVM world and I am still trying to get my head in it. I would like to write a test case that randomly selects the built in ovm_rgm_sequences(ovm_rgm_read_all_reg_seq, write_all_reg_seq,walking_one_zero_seq etc.) and execute them.
Any hint or help is greatly appreciated!

Thanks.

First, If you are staring a testbench fromn scratch, we strongly recommend using the UVM register package that has been back-ported to OVM. This will make eventual migration to UVM much simpler. See http://go.mentor.com/uvm-register-for-ovm

To answer your question, simply put the desired sequences in an array and randomly select them. See Exploiting Sequence Polymorphism.

In reply to dave_59:

Thank you, I am looking in to UVM now and also sequence polymorphism worked wonderfully.