Forum Discussion
Altera_Forum
Honored Contributor
14 years agowait 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.
3 Replies
- Altera_Forum
Honored Contributor
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? - Altera_Forum
Honored Contributor
--- 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 - Altera_Forum
Honored Contributor
ok thank you, here in my program i'm using wait statement so i got confused by the above thread......once again thank you