Maker Pro
Maker Pro

4 bit alu

can you tell me how to make a4 bit alu. i know that the fulladders
will be cascaded easley but i dont understand how to implement the
mux





thanks for helping.
 
K

krw

Jan 1, 1970
0
[email protected]>,
[email protected] says...>
can you tell me how to make a4 bit alu. i know that the fulladders
will be cascaded easley but i dont understand how to implement the
mux

With a multiplexor?

If S=1 then A <= X else A <= Y
or
A = (S AND X) or (/S AND Z)

Where: S = Input select (scalar)
X, Y = Inputs buses (vector)
A = Result bus (vector)
 
Top