Complex ALU

by

 

23 Oct 2006 (Updated )

A Simulator of Complex ALU

y=muxn8_1(x0,x1,x2,x3,x4,x5,x6,x7,sel)
%            Progetto ALU
% 
%       Programma elaborato da
%
% Giovanni DI CECCA & Virginia BELLINO
%      50 / 887           408 / 466
%
%       http://www.dicecca.net

% multiplexer 8:1 a n bit
function y=muxn8_1(x0,x1,x2,x3,x4,x5,x6,x7,sel)
sel_a=[sel(2) sel(3)];
y0=muxn4_1(x0,x1,x2,x3,sel_a);
y1=muxn4_1(x4,x5,x6,x7,sel_a);
y=muxn2_1(y0,y1,sel(1));

Contact us