Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThanks, I have changed it to this:
Z <= '1' WHEN state = A ELSE '0';
Q <= "00" WHEN state = A ELSE
"01" WHEN state = B ELSE
"10" WHEN state = C;
And I am now getting the following errors: Error (10313): VHDL Case Statement error at SM_VHDL.VHD(25): Case Statement choices must cover all possible values of expression. Each case takes into account all 4 binary combinations however... Hmm.