-- -- author: Claudio Talarico -- file: mux-rtl-a.vhd -- comments: this code implements a 2:1 mux -- architecture rtl of mux is begin mux_p: process(a,b,s) begin if(s='0') then z <= a; else z <= b; end if; end process mux_p; end rtl;