Forum Discussion
Altera_Forum
Honored Contributor
11 years agoattribute 'event usage within procedure
Hi, I'm having a procedure (non-synthesizable code) and I am trying to use the 'event attribute on a signal declared as input to the procedure: procedure priority_req(signal tb_cont...
Altera_Forum
Honored Contributor
11 years agoIf you want to wait until the the assignment of a signal, you can use:
wait on my_signal'transaction; So in this case it is every time a signal is assigned, even if it is from the same state, eg:
my_signal <= '1';
wait for 10 ns;
my_signal <= '1';
creates 2 'transactions.