Multiplexers for general-purpose logic (cont'd)
Implementing functions of n variables using 2n – 1 muxes
- (n – 1) control variables S0 – Sn – 1
- One data variable Sn
- Four possible values for each data input: 0, 1, Sn, Sn'
- Example: F(A,B,C,D) implemented using an 8:1 mux