当前位置:网站首页>UVM in UVM_ report_ Enabled usage
UVM in UVM_ report_ Enabled usage
2022-06-27 01:25:00 【Alfred. HOO】
uvm_report_enabled
function int uvm_report_enabled(
int verbosity,
uvm_severity severity = UVM_INFO,
string id = "" )
If this severity /id The configured redundancy is greater than or equal to this redundancy , Then return to 1, Otherwise return to 0.
See also get_report_verbosity_level and uvm_report_enabled Global version of .
Example :
if(uvm_report_enabled(UVM_HIGH, UVM_INFO, "MEMDATA")) begin
memlayout = " {\n}";
foreach(mem[iu]) begin
memlayout = %sformatf("%s mem[%0d]: %8h", memlayout, i, mem[i]);
end
memlayout = {memlayout, " }\n"};
end
`uvm_info("MEMDATA", memlayout, UVM_HIGH)
边栏推荐
猜你喜欢

getReader() has already been called for this request

Custom MVC (imported into jar package) + difference from three-tier architecture + reflection + interview questions

Interface test framework practice (I) | requests and interface request construction

How to convert an old keyboard into a USB keyboard and program it yourself?

XSS notes (Part 2)

做了两天的唯美蝴蝶动画

通过Rust语言计算加速技术突破图片识别性能瓶颈

JVM 的指针压缩

理想L9产品力分析:售价45.98万,采用四缸发动机,续航1315公里

福元医药上市在即:募资净额将达到16亿元,胡柏藩为实际控制人
随机推荐
Esp32 add multi directory custom component
Modeling specifications: environment settings
uvm中的config机制方法总结(一)
Keepalived 实现 Redis AutoFailover (RedisHA)11
About Random Numbers
markdown表格(合并)
Solve the problem that only one line of text is displayed or not displayed in u8glib
How to use ch423? Cheap domestic IO expansion chip
Buuctf PWN write UPS (6)
Kept to implement redis autofailover (redisha) 14
玩转OLED,U8g2动画,增长数字和随机三角形等
如何把老式键盘转换成USB键盘并且自己编程?
Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
可视化介绍 Matplotlib 和 Plotnine
memcached基础3
LeetCode 142. 环形链表 II
3線spi屏幕驅動方式
理想L9产品力分析:售价45.98万,采用四缸发动机,续航1315公里
JSON parsing, esp32 easy access to time, temperature and weather
UVM中config_db机制的使用方法