MyFPGA Forum

标题: helllo [打印本页]

作者: chindji    时间: 2010-8-25 06:36
标题: helllo
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?




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3