MyFPGA Forum

 找回密码
 注册
搜索
查看: 2227|回复: 0
打印 上一主题 下一主题

helllo

[复制链接]
跳转到指定楼层
1#
发表于 2010-8-25 06:36:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
The following is excerpted from Reset_Delay.v of the project de2-d5m
always@(posedge iCLK or negedge iRST)
begin
if(!iRST)
begin
Cont <= 0;
oRST_0 <= 0;
oRST_1 <= 0;
oRST_2 <= 0;
end
else
begin
if(Cont!=32'h13FFFFF) Cont <= Cont+1;
if(Cont>=32'h1FFFFF) oRST_0 <= 1;
if(Cont>=32'h2FFFFF) oRST_1 <= 1;
if(Cont>=32'h13FFFFF) oRST_2 <= 1;
end
end
I don't understand why it sets cont as 32'h1FFFFF,32'h2FFFFF,2'h13FFFFF.
Can anybody help me?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-5-16 16:19 , Processed in 0.038700 second(s), 15 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

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