Use of the uvm_set_action in this way can demote the UVM_ERROR ?
command line option :-
simv +UVM_TESTNAME=test1 +uvm_set_action=uvm_test_top._uvc._env._slave_env.env.driver,ALL,ALL,UVM_NO_ACTION’
->From the driver block will i not get any UVM_ERROR and UVM_FATAL because these are having UVM_NONE as VERBOSITY so my above command will demote?
-><Returns 1 if the configured verbosity in uvm_top is greater than verbosity and the action associated with the given severity and id is not UVM_NO_ACTION, else returns 0.>
could explain me above statement ?
Awaiting for early response if possible it would be great.
The uvm_set_action command above turns off/filters all messages from the driver. Demoting usually means lowering the severity of the message. Unfortunately, the uvm_error and uvm_fatal macros have hard coded the message verbosity to UVM_NONE, so if you demote UVM_ERROR/FATAL to UVM_INFO, those messages will be printed unless you change the action to UVM_NO_ACTION.
yes even UVM_ERROR and UVM_FATAL will be turned off. Try this example with and without +uvm_set_action=uvm_test_top.env.mem_scb,ALL,ALL,UVM_NO_ACTION this in the command line.