SeanChou Posted October 18, 2011 Report Share Posted October 18, 2011 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) Quote Link to comment Share on other sites More sharing options...
uwes Posted October 18, 2011 Report Share Posted October 18, 2011 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 Quote Link to comment Share on other sites More sharing options...
SeanChou Posted October 20, 2011 Author Report Share Posted October 20, 2011 Thanks Uwes, This is good, however user want to print it there (before `uvm_send) in his format. is that possible to know which type of sequence is selected there? thanks! Quote Link to comment Share on other sites More sharing options...
uwes Posted October 20, 2011 Report Share Posted October 20, 2011 hi, there should be a "SEQLIB/EXEC" message emitted with UVM_FULL verbosity before the sequence is started Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.