ECE2030 Introduction to Computer Engineering Lecture 10: Building Blocks for Combinational Logic (1) Timing Diagram, Mux/DeMux Prof. Hsien-Hsin Sean Lee.

Slides:



Advertisements
Similar presentations
Encoders Three-state devices Multiplexers
Advertisements

Modular Combinational Logic
ECE2030 Introduction to Computer Engineering Lecture 13: Building Blocks for Combinational Logic (4) Shifters, Multipliers Prof. Hsien-Hsin Sean Lee School.
Multiplexer. A multiplexer (MUX) is a device which selects one of many inputs to a single output. The selection is done by using an input address. Hence,
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
ECE2030 Introduction to Computer Engineering Lecture 9: Combinational Logic, Mixed Logic Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
COE 202: Digital Logic Design Combinational Circuits Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
1 CS 140 Lecture 12 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego.
CS 140 Lecture 11 Professor CK Cheng 5/09/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
CS 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 12 Professor CK Cheng 11/07/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
Combinational Logic Building Blocks
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Hamming Code, K-maps-Multiplexer Midterm 1 Revision
ECE 331 – Digital System Design
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
Multiplexer MUX. 2 Multiplexer Multiplexer (Selector)  2 n data inputs,  n control inputs,  1 output  Used to connect 2 n points to a single point.
 Combinational circuit that selects binary information from one of many input lines and directs information to a single output line.
Combinational Circuits
Combinational Circuits
1 CSE 140 Lecture 12 Standard Combinational Modules Professor CK Cheng CSE Dept. UC San Diego.
Combinational Logic Chapter 4.
Chapter 3 Decoder and Encoder Digital Logic Design III
Combinational Logic Design
Combinational and Sequential Logic Circuits.
Combinational Circuit – Arithmetic Circuit
Combinational Circuits
ECE2030 Introduction to Computer Engineering Lecture 16: Finite State Machines Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
ECE2030 Introduction to Computer Engineering Lecture 12: Building Blocks for Combinational Logic (3) Adders/Subtractors, Parity Checkers Prof. Hsien-Hsin.
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
Digital Logic Problems (II) Prof. Sin-Min Lee Department of Mathematics and Computer Science.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Combinational Design, Part 3: Functional Blocks
1 Combinational Logic Design Digital Computer Logic Kashif Bashir
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Kuliah Rangkaian Digital Kuliah 6: Blok Pembangun Logika Kombinasional Teknik Komputer Universitas Gunadarma.
Multiplexers and Demultiplexers, and Encoders and Decoders
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 6 Multiplexers,
Multiplexers and Demultiplexers
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
Decoders, Encoders, Multiplexers
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
CO UNIT-I. 2 Multiplexers: A multiplexer selects information from an input line and directs the information to an output line A typical multiplexer has.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 7 Dr. Shi Dept. of Electrical and Computer Engineering.
ECE2030 Introduction to Computer Engineering Lecture 6: Canonical (Standard) Forms Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits
1 Combinational Logic EE 208 – Logic Design Chapter 4 Sohaib Majzoub.
Combinational Circuit Design. Digital Circuits Combinational CircuitsSequential Circuits Output is determined by current values of inputs only. Output.
Digital System Design Multiplexers and Demultiplexers, and Encoders and Decoders.
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #8 FUNCTIONS OF COMBINATIONAL LOGIC (ENCODER & DECODER, MUX & DEMUX)
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
Digital Design Lecture 8 Combinatorial Logic (Continued)
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Multiplexers & Decoders By: Jason Pitts CS 147 Spring 2010.
CSE 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 6 Multiplexers,
MSI Circuits.
EKT 124 MUX AND DEMUX.
CS221: Digital Logic Design Combinational Circuits 3
Combinational Functions and Circuits
Combinational Circuit Design
Lecture 4: Combinational Functions and Circuits
Digital System Design Combinational Logic
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
ECE2030 HW-6.
Presentation transcript:

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

2 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 Combinational circuits N inputs M outputs

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 Timing Diagram of an AND Gate (Output=AB) Time A B Output (No Delay) t0t1t2t3t4t5t6t7t8t9t10t11t12 Note that the Output change can occur “at any Time” for Combinational logic

5 Timing Diagram Example X Y Z F A B A B X Y Z F t0t1t2t3t4t5t6t7t8t9t10

6 Timing Diagram Example X Y Z F A B A B F ABF F = A  B t0t1t2t3t4t5t6t7t8t9t10

7 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 Combinational circuits N inputs M outputs

8 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 F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 En 4-to-1Mux

9 Multiplexers (Mux) w/out Enable F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 4-to-1Mux S1S0A3A2A1A0F 00XXX00 01XX0X0 10X0XX0 110XXX0 00XXX11 01XX1X1 10X1XX1 111XXX1

10 Multiplexers (Mux) w/out Enable S1S0F 00A0 01A1 10A2 11A3 F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 4-to-1Mux

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

12 Multiplexers (Mux) w/ Enable EnS1S0F 0XX0 100A0 101A1 110A2 111A3 F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 En 4-to-1Mux

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

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

15 4-to-1 Mux using Transmission Gates A0 A1 A2 A3 S0 S1 F S1S0F 00A0 01A1 10A2 11A3

16 4-to-1 Mux using Transmission Gates A0 A1 A2 A3 S0=0 S1 F S1S0F 00A0 01A1 10A2 11A3 A0 A2

17 4-to-1 Mux using Transmission Gates A0 A1 A2 A3 F S1S0F 00A0 01A1 10A2 11A3 A0 A2 A0 A2 S0=0 S1=0

18 4-to-1 Mux using Transmission Gates A0 A1 A2 A3 S0=1 S1 F S1S0F 00A0 01A1 10A2 11A3 A0 A2

19 4-to-1 Mux using Transmission Gates A0 A1 A2 A3 F S1S0F 00A0 01A1 10A2 11A3 A0 A2 A1 A3 S0=1 S1=1

20 4-to-1 Mux using Transmission Gates with Enable (F=0 when En=0) A0 A1 A2 A3 A0 A2 S0=1 S1=1 EnS1S0F 0XX0 100A0 101A1 110A2 111A3 F En

21 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) A0 A1 EnS1S0F 0XXZ 100A0 101A1 110A2 111A3 En=0X=0 Y=1 (To disable both TG) X Y X=En· S0 En=1X=S0 Y=S0 Y=En + En·S0 = En + S0

22 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) A0 A1 EnS1S0F 0XXZ 100A0 101A1 110A2 111A3 X Y X=En· S0 En S0 Y=En + En·S0 = En + S0X Y

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

24 4-to-1 Mux using Transmission Gates with Enable (F=Z when En=0) A0 A1 En S0 A2 A3 FEnS1S0F 0XXZ 100A0 101A1 110A2 111A3 S1

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

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

27 Quadruple 2-to-1 Line Mux EnSELF[3:0] 0X A[3:0] 11B[3:0] SEL B0B0 A0A0 F0F0 B3B3 A3A3 F3F3 B1B1 A1A1 F1F1 B2B2 A2A2 F2F2 En F x =A x ·En·SEL+B x ·En·SEL

28 Design Canonical Form w/ MUX F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 8-to-1Mux S2S2 A4A4 A5A5 A6A6 A7A Each input in a MUX is a minterm ABC

29 Design Canonical Form w/ MUX ABF

30 Design Canonical Form w/ MUX ABF 00C 01C F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 En 4-to-1Mux A B CC0 1 Vdd

31 Design Canonical Form w/ MUX BCF

32 Design Canonical Form w/ MUX BCF A A F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 En 4-to-1Mux B CAA Vdd

33 Demultiplexers (DeMux) F A0A0 A1A1 A2A2 A3A3 S1S1 S0S0 4-to-1Mux A D0D0 D1D1 D2D2 D3D3 S1S1 S0S0 1-to-4DeMux

34 DeMux Operations S1S0D3D2D1D A 0100A0 100A00 11A000 A D0D0 D1D1 D2D2 D3D3 S1S1 S0S0 1-to-4DeMux

35 DeMux Operations S1S0D3D2D1D A 0100A0 100A00 11A000 D1 D2 D3 A S1 S0

36 DeMux Operations w/ Enable EnS1S0D3D2D1D0 0XX A 10100A0 1100A00 111A000 D1 D2 D3 A S1 S0 En