wait statement

Joined
Dec 18, 2007
Messages
1
Reaction score
0
helo..i m a big noob here bout vhdl..can u guys trace the problem bout a part of coding here..

proc_motor : process begin
motor <= motor_stop;
wait until rising_edge( clock );
while req_above = '1' loop
motor <= motor_up;
wait until rising_edge( clock );
if i_at_floor = '1'
and ( i_req_up( to_integer( i_cur_floor ) ) = '1'
or i_req_exit( to_integer( i_cur_floor ) ) = '1'

its error states that Process Statement must contain only one Wait Statement. :stupido:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top