Wait on statement
i would need something like :
Wait on SIG1 OR Wait on SIG2 OR Wait on SIG3;
(my entity is asynch and i need to run the process every time a input sig change).
Thanks for your support,
edit : wait on sig1,sig2,sig3 does that ?
as in the process will not proceed until a signal changes? are we talking about one or three signals?
personally I don't like using wait statements. I use a sensitivity list containing those signals so that whenever any of them changes, the process will kick in.
so you could try
Thanks for the reply!
The second code is exactly the behavior i want .... but it doesn't seems to compile... (i use modelsim)
** Error: *******l.vhd(336): near "(": expecting "STRING" or "IDENTIFIER" or "<<"
i used the same syntax than you( just put my signal name)
(i can't use sensitivity list because i need "wait for" to emulate gate delay)
Edit : ok i found
wait on sig1, sig2; -- sensitivity clause, any event on any signal terminates wait
now i am sure ! thanks
|All times are GMT. The time now is 06:37 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.