set_report_severity_id_action_hier(UVM_WARNING,"rd_driver",UVM_DISPLAY|UVM_COUNT); 除此之外,uvm也支持在命令行中设置计数目标,设置方式为: <simcommand>+uvm_set_action=<comp>,<id>,<severity>,<action>// 具体例子如:<simcommand>+uvm_set_action="uvm_test_top.fifo_env.rd_agt.drv,rd_driver...
2.set_report_severity_action把 UVM_WARNING 加入计数目标: 3.set_report_severity_action_hier:实现递归 4.如果要移除:env.i_agt.drv.set_report_severity_action(UVM_ERROR, UVM_DISPLAY)。默认就是error嘛! 5.还可以针对id:env.i_agt.drv.set_report_id_action("my_drv", UVM_DISPLAY| UVM_COUNT);...
// Apply to a single level of the componenthierarchy:set_report_severity_action(uvm_severityseverity,uvm_actionaction);set_report_id_action(stringid,uvm_actionaction);set_report_severity_id_action(uvm_severity,stringid,uvm_actionaction);// For instance:// Any `uvm_info() messages from this_...
3.set_report_max_quit_count 当uvm_fatal出现时,表示出现了致命错误,仿真会马上停止; uvm同样支持UVM_ERROR达到一定数量时结束仿真; 4.set_report_severity_action 可以将UVM_WARNING也加入计数; 设置打印 5.set_report_severity_file 输出信息分类输出到不同的日志文件 33.config_db 1.uvm_macros.svh文件通过in...
env.i_agt.set_report_severity_file_hier(UVM_ERROR, error_log); env.i_agt.set_report_severity_file_hier(UVM_FATAL, fatal_log); env.i_agt.set_report_severity_action_hier(UVM_INFO, UVM_DISPLAY| UVM_LOG); env.i_agt.set_report_severity_action_hier(UVM_WARNING, UVM_DISPLAY| UVM_LOG);...
1)set_client,调用的report_object; 2)set_severity,message的severity; 3)set_verbosity,message verbosity信息; 4)set_id,message id值; 5)set_action,message对应的action; 在catcher的过程中,统计caught和throw的fatal,error,warning的个数,供summary调用; ...
uvm_action action); function void set_report_severity_id_action (uvm_severity severity, string id, uvm_action action); //对给定的id, severity 或者(id, severity)对设置ACTIONS,在2中介绍,都是调用handler中对应的函数来实现 17. function void set_report_severity_override(uvm_severity cur_severity,...
env.i_agt.drv.set_report_severity_action(UVM_WARNING, UVM_DISPLAY | UVM_STOP); ... 当env.i_agt.drv中出现UVM_WARNIN时,立即停止仿真,进入交互模式。 命令行中设置UVM断电: <sim command> +uvm_set_action="uvm_test_top.env.i_agt_drv,my_driver,UVM_WARNING,UVM_DISPLAY | UVM_STOP" ...
uvm_action action); function void set_report_severity_id_action (uvm_severity severity, string id, uvm_action action); //对给定的id, severity 或者(id, severity)对设置ACTIONS,在2中介绍,都是调用handler中对应的函数来实现 17. function void set_report_severity_override(uvm_severity cur_severity,...
set_report_id_verbosity set_report_severity_id_verbosity These methods associate the specified verbosity with reports of the given severity, id, or severity-id pair. set_report_severity_action set_report_id_action set_report_severity_id_action These methods associate the specified action or ...