Change uvm_verbosity in run time

Hi everyone,

Can I change UVM_VERBOSITY during run time? lets say I need UVM_DEBUG prints during 1500ns to 30000ns and rest of the time could be default verbosity, Can I do this UVM? I have tried using +uvm_set_verbosity=uvm_test_top.*,ALL,UVM_DEBUG,time,1500. But it didnt seem like working and doesn’t have end time arg. Can anyone help me?

In reply to kranthi445:

This could be a time scale issue. You should do some experiments to see what timescale the command line is using. If you need a range, then you will need 2 separate switches on the command line to set it back.

Also, UVM_DEBUG was meant for debugging issues with the UVM base class library. You should be using UVM_HIGH.

In reply to dave_59:

Thanks Dave, It is working :)