【UVM源码学习】uvm_globals

简介: 【UVM源码学习】uvm_globals

uvm_globals,定义了一些uvm的全局基类、全局方法,其中很多是间接调用uvm_root下的方法。


序号 方法 描述
1 run_test 测试用例的入口,获取uvm_root并调用其run_test(testname),testname可以直接指定或通过命令行仿真选项"+UVM_TESTNAME=testname"传入
2 refresh_test 获取uvm_root并调用其refresh_test(testname),该task用以在restore之后跑不同的test,还没整明白
3 uvm_test_done 全局变量,uvm_test_done_objection::get()
4 global_stop_request 相当于uvm_test_top.stop_request(),具体请参考uvm_objection.stop_request(
5 set_global_timeout 获取uvm_root并覆盖掉其timeout值
6 set_global_stop_timeout 获取uvm_test_done_objection并覆盖掉其stop_timeout值
7 uvm_get_report_object 返回全局的uvm_report_object,即uvm_root
8 uvm_report_enabled 返回uvm_root.uvm_report_enabled
9 uvm_report 调用uvm_root的uvm_report进行信息打印
10 m__uvm_report_dpi DPI-C,调用uvm_report
11 uvm_report_info 调用uvm_root的uvm_report_info进行信息打印
12 uvm_report_warning 调用uvm_root的uvm_report_warning进行信息打印
13 uvm_report_error 调用uvm_root的uvm_report_error进行信息打印
14 uvm_report_fatal 调用uvm_root的uvm_report_fatal进行信息打印
15 uvm_process_report_message 调用uvm_root的uvm_process_report_messgae
16 uvm_string_to_severity 设置打印信息的严重程度
17 uvm_string_to_action 设置uvm action
18 set_config_int 调用uvm_root的set_config_int
19 set_config_object 调用uvm_root的set_config_object
20 set_config_string 调用uvm_root的set_config_string
21 uvm_is_match 比较两个字符串,第一个字符串允许有通配符*及单个字符通配符?,第二个参数不允许有通配符,匹配成功返回1,失败返回0
22 uvm_string_to_bits 把输入的字符串转换为bit向量
23 uvm_bits_to_string 把输入的bit向量转换为字符串
24 uvm_wait_for_nba_region 等待NBA或插入#0来消除变量之间的竞争
25 uvm_split_string 以指定分隔符把对字符串进行分隔,返回分隔结果(字符串类型的队列)
26 uvm_enum_wrapper 该class主要实现了一个方法from_name,根据名称返回枚举类型的值
27 *verdi* 其他verdi自定义的方法


目录
相关文章
|
索引
【UVM源码学习】uvm_packer
【UVM源码学习】uvm_packer
534 0
【UVM源码学习】uvm_object_globals
【UVM源码学习】uvm_object_globals
99 0
【UVM源码学习】uvm_object_globals
【UVM源码学习】uvm_comparer
【UVM源码学习】uvm_comparer
414 0
【UVM源码学习】uvm_comparer
【UVM源码学习】uvm_coreservice
【UVM源码学习】uvm_coreservice
183 0
|
算法
【UVM源码学习】uvm_spell_chkr
【UVM源码学习】uvm_spell_chkr
131 0
【UVM源码学习】uvm_spell_chkr
【UVM源码学习】uvm_object
【UVM源码学习】uvm_object
85 0
【UVM源码学习】uvm_object
|
安全
【UVM源码学习】uvm_links
【UVM源码学习】uvm_links
107 0
【UVM源码学习】uvm_links
|
存储 C语言
【UVM源码学习】uvm_misc
【UVM源码学习】uvm_misc
100 0
【UVM源码学习】uvm_misc
【UVM源码学习】uvm_event
【UVM源码学习】uvm_event
227 0
【UVM源码学习】uvm_event
|
测试技术 数据库 容器
【UVM源码学习】uvm_resource
【UVM源码学习】uvm_resource
131 0
【UVM源码学习】uvm_resource