自己做网站销售,大连网站开发需要多少钱,移动公司网络维护,南通建筑人才网‘typedef’ is not expected to be used in this contex 注册前少了分号。
Scope resolution error resolution : 声明指针时 不能与类名同名#xff0c;即 不能声明为adapter.
cannot find member type_id 忘记注册了
拼接运算符使用 关键要加上1b#xff0…‘typedef’ is not expected to be used in this contex 注册前少了分号。
Scope resolution error resolution : 声明指针时 不能与类名同名即 不能声明为adapter.
cannot find member type_id 忘记注册了
拼接运算符使用 关键要加上1b不然拼出来只有1bit
Error casting p_sequencer, please verify that this sequence/sequence item is intended to execute
在搭建UVM环境的时候出现这个错误发现seq0里面 调用了uvm_declare_p_sequencer(my_vsqr) 和seq0.start(p_sequencer.p_sqr0);不一致导致的
将seq0.start(p_sequencer.p_sqr0)改成seq0.start(p_sequencer
SystemVerilog中forever begin end導致的Hang死
forever beginif(expre 1) beginrun();endend
1、如果run()這個task值耗時的當if條件成立時不會hang死。
2、如果if條件不成立肯定會hang死。
3、防守的辦法是給if條件後面加上else分支在else中做一個延時axi_if_cb;如果if條件不成立走一T再進行下一次判斷
forever beginif(expre 1) beginrun();endelse beginaxi_if_cb;endend
寄存器模型同时访问 图中两个寄存器值都是32h1d注释中的方式访问得到的1d而非正确值0000001d0000001d。因为同时访问丢失了一个得到的值是0.
找不到顶层tb
特别离谱filelist模块名和makefile都没问题。
$COMMON_ROOT/vip/tue-master/src/*
$COMMON_ROOT/vip/tue-master/src/tue_pkg.sv
$COMMON_ROOT/vip/tvip-axi-master/scr/tvip_axi_pkg.sv
$COMMON_ROOT/vip/yuu_pkg/yuu_common/include/yuu_common_pkg.sv
$COMMON_ROOT/vip/yuu_pkg/yuu_amba_bak/include/yuu_amba_pkg.sv
$COMMON_ROOT/vip/ahb_vip/ahb_include/yuu_ahb_pkg.sv
$COMMON_ROOT/vip/apb_vip/apb_include/yuu_apb_pkg.sv
$K1_SOC_ROOT/verf/bt/bt_k1/env/k1_env_pkg.sv
$K1_SOC_ROOT/verf/bt/bt_k1/th/harness.sv
$K1_SOC_ROOT/verf/bt/bt_k1/tc/tc_base.sv
最后发现是通配符的问题导致后面的文件都识别不了。
indentifer not in port list 原因是interface例化时最后没加
Error-[UTOPN] Unknown type or port name
The type name SOC_TOP is unknown, or the identifier dut has not been
listed as a port, or the declaration might represent an instance missing
parentheses.
../th/dut_inst.sv, 13
Source info: SOC_TOP dut;
原因模块例化时没加
改成SOC_TOP dut;即可
variable input ports cannot be driven 原因是vip的接口时钟复位是以参数的形式传入的不能用assign来连接
Error-[TCF-CETE] Cannot evaluate the expression
完整报错
Error-[TCF-CETE] Cannot evaluate the expression
../env/k1_scb.sv, 251
(this.cfg.axi_mst_cfg.size (~1sd0))Cannot evaluate the expression in right dimension bound.The expression must be compile time constant.
完整报错
Error-[TCF-CETE] Cannot evaluate the expression
../env/k1_scb.sv, 251
(this.cfg.axi_mst_cfg.size (~1sd0))Cannot evaluate the expression in right dimension bound.The expression must be compile time constant.
原因是运行阶段队列右边大小不能确定 按如下修改即可 Error-[IAP] Illegal assignment pattern
二维数组赋值错误 删除二维数组后的标号 找不到config变量 传入的变量在0,1跳变 一开始忘记写int了直接input i。默认是1bit数据只剩一位也就是0和1.
当fork-join/none遇上for循环fork_for
遇到这么一个问题 因为在for循环中启动fork进程时当前循环会立刻结束进入到下一个循环因此在所有循环体中的i变量都会等于最后一次循环i的值。
解决办法如下
https://zhuanlan.zhihu.com/p/553466412
illegal range in part select Q:无法使用for循环来分段取值, 但是下面这段这么赋值就没问题
A:Verilog取值区间不能两端都是变量改成下面形式即可—— req.data[x : 8];