Forum Discussion
Altera_Forum
Honored Contributor
9 years agoThe error is pretty normal because the while termination condition is indeed undefined.
You should use a FOR loop to loop on the 18 packets and then an IF statement to test the zero condition and increment num_packets. But first of all, consider if your code would be really synthesizable in your device logic: it seems you are using VHDL (which is a logic description language) as a sequential programming language.