集成电路技术分享

 找回密码
 我要注册

QQ登录

只需一步,快速开始

搜索
查看: 2204|回复: 2

Fatal: (vsim-3421) Value

[复制链接]
q281064957 发表于 2010-6-23 11:20:03 | 显示全部楼层 |阅读模式
** Fatal: (vsim-3421) Value 50001 for fire_dly_cnt is out of range 0 to 50000.
#    Time: 403581 ns  Iteration: 2  Process: /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


问题代码如下
when  fire_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 下一条

QQ|小黑屋|手机版|Archiver|fpga论坛|fpga设计论坛 ( 京ICP备20003123号-1 )

GMT+8, 2025-6-21 11:59 , Processed in 0.070058 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表