UVM中uvm_config_db与set_config_int混用的问题
验证时,在sim command中使用+uvm_set_config_int命令配置环境参数是一种很常用的方法。但是在使用uvm_set_congfig_int时,不能使用uvm_config_db#(int)::get()来获得参数,必须使用get_config_int()函数或uvm_config_int::get()来获得参数。<sim command> +uvm_set_config_int = <comp>,<field>,<value>//
原创
2021-08-04 14:44:10 ·
2109 阅读 ·
0 评论