2021-06-01 uvm_guide 6

uvm_user_guide_1.2 @2011-2015
6.6.3.2 Setting Verbosity
The uvm_cmdline_processor looks for the +UVM_VERBOSITY option to change the verbosity for all
UVM components. It is also possible to control the verbosity in a much more granular way by using the
+uvm_set_verbosity option. The +uvm_set_verbosity option has a specific format that allows
control over the phases where the verbosity change applies, and in the case of time-consuming phases,
exactly what time it applies. Typically, verbosity is only turned up during time-consuming phases as the test
approaches the time where an error occurs to help in debugging that error. The simulation will run faster if it
is not burdened by generating debug messages earlier on where they are not required.
The +uvm_set_verbosity option is used as follows.
sim_cmd
+uvm_set_verbosity=component_name,id,verbosity,phase_name,optional_time
In a similar fashion, the severity, and also the action taken, can be modified as follows.
sim_cmd +uvm_set_action=component_name,id,severity,action
sim_cmd +uvm_set_severity=component_name,id,current_severity,new_severity

so example
+uvm_set_verbosity=uvm_test_top.env.ahb_system_env.,ALL,UVM_NONE,run
+uvm_set_verbosity=tb_top.pcie_inst
,ALL,UVM_NONE,time,0" 就是设置tb_top下面的pcie_inst的verbosity为UVM_NONE
引申:
uvm_cmdline_processor
https://www.cnblogs.com/jiang-ic/p/10579416.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值