4-to-1 Mux using Case Sequential Statement
architecture select_statement of mux4to1_8 is
begin
process (a, b, c, d, sel)
begin
case sel is
when "01" => dout <= b ;
when "10" => dout <= c;
when "11" => dout <= d;
when others => dout <= a;
end case;
end process;
end select_statement;
There can be multiple statements for each case; only one statement is needed for each case in this example.
Previous slide
Next slide
Back to first slide
View graphic version