q281064957 发表于 2010-6-23 11:20:03

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)                                    
请高人指点!!!

q281064957 发表于 2010-6-24 15:50:54

怎么没人来帮忙呀~

Sunlife 发表于 2015-5-27 11:46:06

             大神不在呗
页: [1]
查看完整版本: Fatal: (vsim-3421) Value