`uvm_info(1,2,3)

1:ID

2:MSG

3:VERBOSITY

如果VERBOSITY级别低于reporter组件定义的级别,就会调用uvm_report_info

uvm macro (常用的)[uvm_info]

举例:

-->    `uvm_info("DRV_RUN",{req.sprint()},UVM_HIGH)

-->    `uvm_info("MY_INFO",$sformatf("pval:%0d",val),UVM_LOW)


也可以自行定制:

`uvm_info_begin("MYID","this is a message for test...",UVM_LOW)

    `uvm_message_add_tag("author”,ZHUHAI)

    `uvm_message_add_object(my_obj)

`uvm_info_end

    

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2022-02-08
  • 2022-12-23
  • 2022-01-21
  • 2021-10-19
  • 2022-01-11
  • 2021-05-22
猜你喜欢
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案