Jump to content

Recommended Posts

Posted

Hi UVM experts,

My question is listed below mainly for debug purpose, could anyone give some hint how to do. thanks!

`uvm_create(my_lib)

my_lib.min_random_count=1;

my_lib.max_random_count=1;

my_lib.randomize();

// Problem: Could I know which sequcne is selected and print it out here?

`uvm_send(my_lib)

Posted

hi,

with UVM_FULL verbosity you should be getting quite some infos:

UVM_INFO /home/uwes/src/uvm/distrib/src/seq/uvm_sequence_library.svh(688) @ 0: uvm_test_top.sequencer@@simple_seq_lib_RST [sEQLIB/START] Starting sequence library simple_seq_lib_RST in reset phase: 10 iterations in mode UVM_SEQ_LIB_RAND

UVM_INFO /home/uwes/src/uvm/distrib/src/seq/uvm_sequence_library.svh(754) @ 10: uvm_test_top.sequencer@@simple_seq_lib_RST [sEQLIB/END] Ending sequence library in phase reset

UVM_INFO /home/uwes/src/uvm/distrib/src/seq/uvm_sequence_library.svh(688) @ 10: uvm_test_top.sequencer@@simple_seq_lib_CFG [sEQLIB/START] Starting sequence library simple_seq_lib_CFG in configure phase: 10 iterations in mode UVM_SEQ_LIB_RANDC

UVM_INFO /home/uwes/src/uvm/distrib/src/seq/uvm_sequence_library.svh(754) @ 20: uvm_test_top.sequencer@@simple_seq_lib_CFG [sEQLIB/END] Ending sequence library in phase configure

you may also switch on transaction recording and see the sequences/hierarchy in the waveform

/uwe

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...