Fatal: (vsim-3421) Value
** Fatal: (vsim-3421) Value 50001 for fire_dly_cnt is out of range 0 to 50000.# Time: 403581 nsIteration: 2Process: /hsrg_tb/uut/line__316 File: C:/altera/81/modelsim_ae/examples/hrsg_tb/hrsg_tb/hrsg.vhd
# Fatal error in Process line__316 at C:/altera/81/modelsim_ae/examples/hrsg_tb/hrsg_tb/hrsg.vhd line 330
问题代码如下
whenfire_dly_s0=> fire_dly_cnt<=fire_dly_cnt+1;
if(start='1')then
if(fire_dly_cnt<=50000)then
fire_dly_cnt<=0;
fire_dly_current<=fire_dly_s1;
else
fire_dly<=0;
fire_dly_cnt<=0;
fire_dly_current<=fire_dly_s0;
end if;
else
fire_dly_current<=fire_dly_s0;
end if;
modelsim 仿真时出现上述问题,且我定义的 fire_dly_cnt最大是80000(integer)
请高人指点!!! 怎么没人来帮忙呀~ 大神不在呗
页:
[1]