Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I Need ur help plz. how to make simple time delay?

Status
Not open for further replies.

MishaN

Newbie level 1
Joined
Dec 18, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
I Need ur help plz.

hi all

i'm just writing a code for a simple elevator and i have a Q.

how can i make the elevator wait for some time before changing the state; it's just a time delay ...

what is the best way to do it ?

thanks .. :)
 

I Need ur help plz.

case stat1=>
if clkcnt<DelayConst then
clkcnt<=clkcnt+1;
else
state<=stat2;
clkcnt<=(others<='0');
(other opcode......)
end if;

case stat2=>
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top