1 / 36

ECE2030 Introduction to Computer Engineering Lecture 10: Building Blocks for Combinational Logic (1) Timing Diagram, Mu

ECE2030 Introduction to Computer Engineering Lecture 10: Building Blocks for Combinational Logic (1) Timing Diagram, Mux/DeMux. Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech. N inputs. M outputs. Combinational circuits. Combinational Logic.

guillermo
Download Presentation

ECE2030 Introduction to Computer Engineering Lecture 10: Building Blocks for Combinational Logic (1) Timing Diagram, Mu

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE2030 Introduction to Computer EngineeringLecture 10: Building Blocks for Combinational Logic (1) Timing Diagram, Mux/DeMux Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech

  2. N inputs M outputs Combinational circuits Combinational Logic • Outputs, “at any time”, are determined by the input combination • When input changed, output changed immediately • Real circuits is imperfect and have “propagation delay” • A combinational circuit • Performs logic operations that can be specified by a set of Boolean expressions • Can be built hierarchically

  3. Timing Diagram • Describe the functionality of a logic circuit across time • Represented by a waveform • For combinational logic, Output is a function of inputs

  4. A B Timing Diagram of an AND Gate (Output=AB) Time t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 Output (No Delay) Note that the Output change can occur “at any Time” for Combinational logic

  5. t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 Timing Diagram Example Y A F X B Z A B X Y Z F

  6. t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 F = A B F Timing Diagram Example Y A F X B Z A B

  7. N inputs M outputs Combinational circuits Combinational Logic • Outputs, “at any time”, are determined by the input combination • We will discuss • Multiplexers / De-Multiplexers • Decoders / Encoders • Comparators • Parity Checkers / Generators • Binary Adders / Subtractors • Integer Multipliers

  8. En A0 A1 F 4-to-1 Mux A2 A3 S1 S0 Multiplexers (Mux) • Functionality: Selection of a particular input • Route 1 of N inputs (A) to the output F • Require selection bits (S) • En(able) bit can disable the route and set F to 0

  9. Multiplexers (Mux) w/out Enable A0 A1 F 4-to-1 Mux A2 A3 S1 S0

  10. Multiplexers (Mux) w/out Enable A0 A1 F 4-to-1 Mux A2 A3 S1 S0

  11. Logic Diagram of a 4-to-1 Mux S1 S0 F A0 A1 A2 A3

  12. En A0 A1 F 4-to-1 Mux A2 A3 S1 S0 Multiplexers (Mux) w/ Enable

  13. En 4-to-1 Mux w/ Enable Logic S1 S0 F A0 A1 A2 A3

  14. En 4-to-1 Mux w/ Enable Logic S1 S0 F A0 A1 Reduce one Gate Delay by using 4-input AND gate for the 2nd level A2 A3 En

  15. 4-to-1 Mux using Transmission Gates S1 S0 A0 A1 F A2 A3

  16. 4-to-1 Mux using Transmission Gates S1 S0=0 A0 A0 A1 F A2 A2 A3

  17. 4-to-1 Mux using Transmission Gates S1=0 S0=0 A0 A0 A0 A1 F A2 A2 A2 A3

  18. 4-to-1 Mux using Transmission Gates S1 S0=1 A0 A0 A1 F A2 A2 A3

  19. 4-to-1 Mux using Transmission Gates S1=1 S0=1 A0 A0 A1 A1 F A2 A2 A3 A3

  20. En S1=1 S0=1 A0 A0 A1 A2 A2 F A3 4-to-1 Mux using Transmission Gates with Enable (F=0 when En=0)

  21. En=1 X=S0 Y=S0 X=En· S0 Y=En + En·S0 = En + S0 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) A0 X Y A1 En=0 X=0 Y=1 (To disable both TG)

  22. X=En· S0 Y=En + En·S0 = En + S0 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) S0 A0 En X X Y Y A1

  23. X=En· S0 Y=En + En·S0 = En + S0 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) S0 A0 En A1 A2 A3

  24. S1 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) S0 A0 En F A1 A2 A3

  25. X=En· S0 Y=En + En·S0 = En + S0 Simplified 4-to-1 Mux using TGs with Enable (F=Z when En=0) En S1 S0 A0 A0 X F Y A1 A2 A2 Only Disable the 2nd level A3

  26. Quadruple 2-to-1 Line Mux En A[3:0] A3..0 2-to-1 Mux (4-bit bus) F[3:0] B3..0 B[3:0] SEL

  27. A3 A2 A1 F3 F2 F1 B3 B2 B1 Quadruple 2-to-1 Line Mux A0 F0 Fx=Ax·En·SEL+Bx·En·SEL SEL B0 En

  28. A0 A1 A2 8-to-1 Mux F A3 A4 A5 A6 A7 S2 S1 S0 B C A Design Canonical Form w/ MUX Each input in a MUX is a minterm 0 1 1 0 0 0 1 1

  29. Design Canonical Form w/ MUX

  30. C Vdd Design Canonical Form w/ MUX En C A0 A1 F 4-to-1 Mux 0 A2 1 A3 S1 S0 B A

  31. Design Canonical Form w/ MUX

  32. A Vdd Design Canonical Form w/ MUX En A0 A1 F 4-to-1 Mux A2 A A3 S1 S0 C B

  33. A0 A1 F 4-to-1 Mux A2 A3 S1 S0 Demultiplexers (DeMux) D0 D1 1-to-4 DeMux A D2 D3 S1 S0

  34. DeMux Operations D0 D1 1-to-4 DeMux A D2 D3 S1 S0

  35. S1 D0 S0 D1 D2 D3 A DeMux Operations

  36. S1 D0 S0 D1 D2 D3 En A DeMux Operations w/ Enable

More Related