Forum Discussion
Altera_Forum
Honored Contributor
12 years agoJust trying to write compact code... only for curiosity.
Looking at the when/else examples of the books, I allways observed that a just single statement is presented. What happens if someone is interested to write something like the code bellow? Is it possible?
statement_a_1; statement_a_2; ... when signal = a else
statement_b_1; statement_b_2; ... when signal = b else
...
statement_z_1; statement_z_2;
Regards Jaraqui