-- VHDL code position: p292_exer9_7_when_else.txt -- Note : This is exercise code about when-else statement -- of VHDL -- -- See Also: no -- Debug : no debug --------------------------------------------------------------------------------- PROCESS( a, c, d, e ) BEGIN IF a = '0' AND b= '1' THEN next1 <= "1101"; ELSIF b='1' THEN next1 <= c; ELSE next1 <= "1011"; END IF; END PROCESS;