1. Implement a 16:1 multiplexer by 4:1 multiplexers, and implement

 

 

I0

I4

I8

I12

 
Implementation of 16:1 Mux:

 

 

I1

I5

I9

I13

 

F

 

 

I3

I7

I11

I15

 

 

I2

I6

I10

I14

 
           

I0 …I15 are minterms. To implement F, just set the corresponding input

I [0,1,3,5,8,12,14,15] = 1, others are zeros.

 
 

 

 

 

 

 


2. Based on the above, if you have another 1:16 decoder, but you cannot directly input 1 or 0 to the multiplexers, what to do?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Let I [0,1,3,5,8,12,14,15] = Out [0,1,3,5,8,12,14,15] (in-order connection)

 

Let other inputs of Mux have out of order connection with the outputs of DEC. For example, I2 can be connected with any Outi except Out2.