Digital Design - Combinational Logic Design Chapter 2 - Combinational Logic Design.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

L14: Boolean Logic and Basic Gates
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Logical Design.
SOP and POS Forms Notation.
Documentation Standards
CSIS 3510 Computer Organization and Architecture Topics covered in this lecture: –Review of De’Morgan’s Theorem –Using De’Morgan’s Theorem –Building a.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 2 Logic Circuits.
1 Microprocessors vs. Custom Digital Circuits Why would anyone ever need to design new digital circuits? Microprocessors are readily available, inexpensive,
Chapter 3 Basic Logic Gates 1.
EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
Microprocessors vs. Custom Digital Circuits
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Chapter 2: Combinational Logic Design Slides to accompany the textbook Digital Design, First.
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Chapter 2: Combinational Logic Design Slides to accompany the textbook Digital Design, First.
Chapter 4 Gates and Circuits.
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 -Part 2.
Digital Design – Physical Implementation Chapter 7 - Physical Implementation.
Faculty of Computer Science © 2006 CMPUT 229 Digital Logic From Switches to Memories.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 2 Combinational Logic Design.
Combinational Logic Design Process
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Slides to accompany the textbook Digital Design, First Edition, by Frank Vahid, John Wiley.
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Chapter 2: Combinational Logic Design Slides to accompany the textbook Digital Design, First.
Lecture 13 Problems (Mano)
Chapter 2: Boolean Algebra and Logic Functions
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 2: Combinational Logic Design
Chapter 4 Gates and Circuits.
Boolean Algebra and Digital Logic
Chapter 3 Digital Logic Structures. 3-2 Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000):
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
Outline Analysis of Combinational Circuits Signed Number Arithmetic
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Elementary Digital Logic Apps O/S Arch  Arch Logic Digital Analog.
Logic Gates How Boolean logic is implemented. Transistors used as switches to implement Boolean logic: ANDOR Logic with Transistors.
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5) Dr. Costas Kyriacou and Dr. Konstantinos Tatas ACOE161 - Digital Logic.
The Digital Logic Level
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #7 COMBINATIONAL LOGIC ANALYSIS.
1 CS151: Digital Design Chapters 4, 5 Review. CS Question 1 Design a combinational circuit for a Roller-Coaster ride in an amusement park. The design.
DIGITAL LOGIC ELECTRICITY, GATES, COMPONENTS. DIGITAL LOGIC READING: APPENDIX C THROUGH C.3 The Student shall be able to: Define voltage, current, resistance,
Chapter 3 (part 2) Basic Logic Gates 1.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Chapter 2: Combinational Logic Design Slides to accompany the textbook Digital Design, First.
June 2005Computer Architecture, Background and MotivationSlide 1 Part I Background and Motivation.
Computer Architecture From Microprocessors To Supercomputers
Boolean Algebra and Logic Gates CSE-1108 Ahsanullah University of Science and Technology (AUST)
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Chapter 3 Digital Logic Structures
Computer Code.
Logic Gates and Boolean Algebra
Chapter 2: Boolean Algebra and Logic Functions
DIGITAL LOGIC CIRCUITS
Working with DIGITAL Information
Instructor:Po-Yu Kuo 教師:郭柏佑
Princess Sumaya University
Number Systems Decimal (base 10) { }
Logic Gates.
Boolean Algebra.
Instructor:Po-Yu Kuo 教師:郭柏佑
Chapter 2 Introduction to Logic Circuits
Part I Background and Motivation
13 Digital Logic Circuits.
Logic Gates.
Logic Circuits I Lecture 3.
Presentation transcript:

Digital Design - Combinational Logic Design Chapter 2 - Combinational Logic Design

2 Digital Design Combinational Logic Design Figure 2.1 Motion-in-the-dark-detector system: (a) system block diagram, (b) implementation using a microprocessor, (c) implementation using a custom digital circuit.

3 Digital Design Combinational Logic Design 9V battery connected to light bulbOhms Law V = IR I = V/R I = 9V/2 Ohms I = 4.5 A

4 Digital Design Combinational Logic Design The evolution of switches: Relays (1930s) Vacuum tubes (1940s) Discrete transistors (1950s) Integrated circuit (IC) containing transistors (1960s--present). IC’s originally held about ten transistors; now they can hold almost one billion.

5 Digital Design Combinational Logic Design Figure 2.3 (b) Simple View of a Switch

6 Digital Design Combinational Logic Design Figure 2.4 CMOS transistors: (left) transistor on silicon, (right top) nMOS transistor symbol with indication of conducting when gate=1, (right bottom) pMOS transistor symbol conducts when gate=0

7 Digital Design Combinational Logic Design Figure 2.5 CMOS transistor operation analogy -- Crossing a river may be too difficult, until just enough stepping stones are attracted into one pathway

8 Digital Design Combinational Logic Design Figure 2.6 Having the right building blocks can make all the difference when building things.

9 Digital Design Combinational Logic Design Figure 2.7 Basic logic gates.

10 Digital Design Combinational Logic Design NOT x F time x F Behavior and Timing OR F x y F x y AND Logic Gate

11 Digital Design Combinational Logic Design Figure 2.11 Seatbelt Warning Circuit Figure 2.11 Timing diagram for seatbelt warning circuit

12 Digital Design Combinational Logic Design Figure 2.13 Seatbelt warning circuit with person sensor. Figure 2.14 Extended seatbelt warning circuit.

13 Digital Design Combinational Logic Design Commutative: a + b = b + a a * b = b * a Distributive a*(b + c) = a*b + a*c a+(b * c) = (a+b) * (a+c) Associative (a + b) + c = a + (b + c) (a * b) * c = a * (b * c) Identity 0 + a = a + 0 = a 1 * a = a * 1 = a Complement a + a’ = 1 a * a’ = 0 Boolean Algebra – Basic Properties

14 Digital Design Combinational Logic Design Null elements a + 1 = 1 a * 0 = 0 Idempotent Law a + a = a a * a = a Involution Law (a’)’ = a DeMorgan’s Law (a + b)’ = a’b’ (ab)’ = a’ + b’ Boolean Algebra – Additional Properties

15 Digital Design Combinational Logic Design Truth Table InputsOutputs abF F = ab + a’ a=0 and b=0, F = 0*0 + 1 = = 1 a=0 and b=1, F = 0*1 + 1 = = 1 a=1 and b=0, F = 1*0 + 0 = = 0 a=1 and b=1, F = 1*1 + 0 = = 1

16 Digital Design Combinational Logic Design Even Parity for Three-bit Generator InputsOutputs abcP P = a’b’c + a’bc’ + ab’c’ + abc

17 Digital Design Combinational Logic Design Figure 2.18 Seven-segment display (left), sample numbers 0, 1 and 2 (center), and connections of inputs to segments (right)

18 Digital Design Combinational Logic Design Table bit binary number to seven-segment display truth table

19 Digital Design Combinational Logic Design Combinational Logic Design Process

20 Digital Design Combinational Logic Design Three 1s pattern detector Step 1: Capture the function y = abc + bcd + cde + def + efg + fgh Step 2: Convert to equations Skip this as we have the equations. Step 3: Implement as a gate-based circuit

21 Digital Design Combinational Logic Design Step 1: Capture the function Step 2: Convert to equations y = a’bc + ab’c + abc’ + abc z = a’b’c + a’bc’ + ab’c’ + abc Number-of-1s counter gate-based circuit

22 Digital Design Combinational Logic Design Number-of-1s counter gate-based circuit Step 3: Implement as a gate-based circuit

23 Digital Design Combinational Logic Design Figure 2.22 Sprinkler valve controller block diagram.

24 Digital Design Combinational Logic Design Sprinkler valve controller circuit (actually a 3x8 decoder with enable) Step 1: Capture the function d0 = a’b’c’e d1 = a’b’ce d2 = a’bc’e d3 = a’bce d4 = ab’c’e d5 = ab’ce d6 = abc’e d7 = abce Step 2: Convert to equations Skip this as we have the equations. Step 3: Implement as a gate-based circuit

25 Digital Design Combinational Logic Design Figure 2.24 NAND, NOR, XOR and XNOR

26 Digital Design Combinational Logic Design Figure x4 decoder: (a) outputs for possible input combinations, (b) internal design

27 Digital Design Combinational Logic Design Figure 2.26 sing a 6x64 decoder to interface a microprocessor and a column of lights for a New Year’s Eve display

28 Digital Design Combinational Logic Design Figure 2.27 A multiplexer is like a railyard switch, determining which input track connects to the single output track, according to the switch’s control lever.

29 Digital Design Combinational Logic Design Figure x1 multiplexer block symbol (left), connections for s0=0 and s0=1 (middle), and internal design (right).

30 Digital Design Combinational Logic Design Figure x1 multiplexer block symbol (left) and internal design (right).

31 Digital Design Combinational Logic Design Figure 2.30 Mayor’s vote display system implemented using a 4x1 mux.

32 Digital Design Combinational Logic Design Figure 2.31 Four 2x1 muxes for selecting among 4-bit data items A or B (left), and a simpler way to represent the same component using a 4-bit 2x1 mux component (right).

33 Digital Design Combinational Logic Design Figure 2.32 Above-mirror display using an 8-bit 4x1 mux.

34 Digital Design Combinational Logic Design Figure 2.33 Schematic for 2x4 drawn using a popular commercial schematic capture tool.

35 Digital Design Combinational Logic Design Figure 2.34 Simulation: (a) begins with us defining the inputs signal over time, (b) automatically generates the output waveforms when we ask the simulator to simulate the circuit.

36 Digital Design Combinational Logic Design Figure 2.35 OR gate timing diagram: (a) without gate delay, (b) with gate delay.