% Progetto ALU
%
% Programma elaborato da
%
% Giovanni DI CECCA & Virginia BELLINO
% 50 / 887 408 / 466
%
% http://www.dicecca.net
% multiplexer 4:1
function y=mux4_1(x0,x1,x2,x3,sel)
s0=sel(2);
s1=sel(1);
s0_n=~s0;
s1_n=~s1;
y=mux4(x0,x1,x2,x3,s0,s1,s0_n,s1_n);