Download presentation
Presentation is loading. Please wait.
Published byElfreda Andrews Modified over 8 years ago
1
1 Digital Logic Design (41-135) Chapter 6 Combinational Circuit Building Blocks Younglok Kim Dept. of Electrical Engineering Sogang University Spring 2006
2
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 2 Chapter Objectives Multiplexers Combinational subcircuits Encoding & decoding
3
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 3 2-to-1 Multiplexer f s w 0 w 1 (c) Sum-of-products circuit (b) Truth table 0 1 f s w 0 w 1 (d) Circuit with transmission gates w 0 w 1 f s (a) Graphical symbol f s w 0 w 1 0 1
4
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 4 4-to-1 Multiplexer (b) Truth table w 0 w 1 f s 1 w 0 w 1 00 01 s 0 w 2 w 3 10 11 0 0 1 1 1 0 1 fs 1 0 s 0 w 2 w 3 (c) Circuit (a) Graphic symbol f s 1 w 0 w 1 s 0 w 2 w 3
5
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 5 Larger Multiplexers 0 w 0 w 1 0 1 w 2 w 3 0 1 f 0 1 s 1 s w 8 w 11 s 1 w 0 s 0 w 3 w 4 w 7 w 12 w 15 s 3 s 2 f (a) 4-to-1 multiplexer(b) 16-to-1 multiplexer
6
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 6 Applications of Multiplexers: Crossbars x 1 0 1 x 2 0 1 s y 1 y 2 (a) 2x2 crossbar switch (b) Implementation using multiplexers x 1 x 2 y 1 y 2 s
7
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 7 Programmable Switch of FPGA (a) A FPGA cell (b) Implementation using pass transistors (c) Implementation using multiplexers Storage cell built by several TRs Larger size
8
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 8 Synthesis of Logic Functions: XOR (a) Implementation using a 4-to-1 multiplexer f w 1 0 1 0 1 w 2 1 0 0 0 1 1 1 0 1 fw 1 0 w 2 1 0 (b) Modification 0 1 0 0 1 1 1 0 1 fw 1 0 w 2 1 0 0 1 f w 1 w 2 w 2 f w 2 w 1
9
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 9 3-Input Majority Function (a) Modified truth table (b) Circuit w 3 w 3 0 0 0 1 1 1 0 1 fw 1 0 w 2 1 00 01 10 11 0 0 0 1 00 01 10 11 0 1 1 1 w 1 w 2 w 3 f 0 0 0 0 1 1 1 1 f w 1 0 w 2 1 w 3 Output is true/false when a majority of inputs are true/false, respectively.
10
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 10 3-input XOR with 2-to-1 Multiplexers (a) Truth table 00 01 10 11 0 1 1 0 00 01 10 11 1 0 0 1 w 1 w 2 w 3 f 0 0 0 0 1 1 1 1 w 2 w 3 w 2 w 3 (b) Circuit f w 3 w 1 w 2
11
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 11 3-input XOR with 4-to-1 Multiplexers (a) Truth table (b) Circuit 00 01 10 11 0 1 1 0 00 01 10 11 1 0 0 1 w 1 w 2 w 3 f 0 0 0 0 1 1 1 1 w 3 w 3 w 3 w f w 1 w 2 w 3 3
12
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 12 Shannon’s Expansion Theorem Any Boolean function can be written in the form Where cofactors are written by The complexity may vary depending on the choice of i
13
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 13 Multiplier Synthesis (b) Circuit 00 01 10 11 0 0 0 1 00 01 10 11 0 1 1 1 w 1 w 2 w 3 f 0 0 0 0 1 1 1 1 0 1 f w 1 w 2 w 3 w 2 w 3 + (a) Truth table f w 3 w 1 w 2
14
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 14 Examples 3-input majority function Example for
15
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 15 Expansion with Two Variables By using
16
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 16 Examples 6.6 (a) Using a 2-to-1 multiplexer (b) Using a 4-to-1 multiplexer
17
Digital Logic Design Ch.6 Combinational Circuit Building Blocks 17 Example 6.7 3-Input Majority Function w 2 0 w 3 1 f w 1
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.