Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
880 Views

wait statement

hii, can we use wait statement in vhdl for assigning values to a variable? if possible please give the syntax... thank you for spending your great time.

0 Kudos
3 Replies
Highlighted
Valued Contributor III
3 Views

waits are not used for assigning anything to anything, they just wait for a specified length of time or until a specific event. 

 

What are you tying to do?
0 Kudos
Highlighted
Valued Contributor III
3 Views

 

--- Quote Start ---  

hii, can we use wait statement in vhdl for assigning values to a variable? if possible please give the syntax... thank you for spending your great time. 

--- Quote End ---  

 

 

No. A wait statement does what it says it 'waits', it suspends that process. Variable are assigned with the variable assignment := like this 

 

x := 2; 

 

Kevin Jennings
0 Kudos
Highlighted
Valued Contributor III
3 Views

ok thank you, here in my program i'm using wait statement so i got confused by the above thread......once again thank you

0 Kudos