ece15_12_2012_6

# ece15_12_2012_6 - Steering Logic Use of...

This preview shows pages 1–3. Sign up to view the full content.

1 ECE 15A Fundamentals of Logic Design Lecture 12 Malgorzata Marek-Sadowska Electrical and Computer Engineering Department UCSB 2 Steering Logic Use of Multiplexer/Demultiplexer in Digital Systems So far, we've only seen point-to-point connections among gates Mux/Demux used to implement multiple source/multiple destination interconnect A B Z Y Multiplexers Demultiplexers 3 Multiplexers This block performs the function of selecting one of the data inputs to appear at the output dependent on the state of some binary coded control inputs. Example: A 4 way multiplexer will have 2 control bits C0 and C1 and an output function Q=C 0’C1’D0+C0’C1D1+C0C1’D2+C0C1D3 D0 D1 D2 D3 C0 C1 Q Data Output Data Inputs Control Inputs D0 D1 D2 D3 C0 C1 Q 4 Multiplexer: Example S1 S0 Y 0 0 D0 0 1 D1 1 0 D2 1 1 D3 S0 and S1 are decoded to select a particular AND gate. S0 S1 D0 D1 D2 D3 Y 5 Multiplexers/Selectors Z = A' I + A I 01 Z = A' B' I0 + A' B I1 + A B' I2 + A B I3 Z = A' B' C' I0 + A' B' C I1 + A' B C' I2 + A' B C I3 + A B' C' I4 + A B' C I5 + A B C' I6 + A B C I7 In general, Z = m I 2 -1 n k=0 k k in minterm shorthand form for a 2 :1 Mux n 2:1 mux I 0 I 1 A Z I 0 A I 1 I 2 I 3 B Z 4:1 mux I 0 A I 1 I 2 I 3 B Z 8:1 mux C I 4 I 5 I 6 I 7 6 Multiplexer/Selector Large multiplexers can be implemented by cascaded smaller ones Alternative 8:1 Mux Implementation 0 1 S 0 1 S 0 1 S 0 1 S 0 1 S1 2 3 S0 C BA I 0 I 1 I 2 I 3 I 4 I 5 I 6 I 7 C C C Z 4:1 mux 4:1 mux 8:1 mux 2:1 mux 0 1 2 3 0 1 2 3 S S 1 S 0 S 1 S 0 Z A C B I 0 I 1 I 2 I 3 I 4 I 5 I 6 I 7 0 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 7 Realizing Boolean function with a multiplexer x2 x1 x0 f 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 3x8 MUX x2 x1 x0 8 Realizing Boolean function with multiplexes x2 x1 x0 f 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 x0 x1 x2 9 Multiplexer/Selector as a general purpose logic 2 :1 multiplexer can implement any function of n variables
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

ece15_12_2012_6 - Steering Logic Use of...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online