ETE 204 – Digital Electronics

Slides:



Advertisements
Similar presentations
Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Advertisements

CT455: Computer Organization Logic gate
Boolean Algebra and Reduction Techniques
ECE C03 Lecture 21 Lecture 2 Two Level Minimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
ECE 301 – Digital Electronics Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
MULTI-LEVEL GATE NETWORKS
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
Design of Networks with Limited Gate Fan-in
ENGIN112 L11: NAND and XOR Implementation September 26, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 11 NAND and XOR Implementations.
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 3-1 Chapter #2: Two-Level Combinational Logic Section 2.1, Logic Functions.
ECE 331 – Digital System Design Multi-level Logic Circuits and NAND-NAND and NOR-NOR Circuits (Lecture #8) The slides included herein were taken from the.
Canonical Forms and Logic Miniminization
1 EECC341 - Shaaban #1 Lec # 6 Winter Combinational Circuit Analysis Example Given this logic circuit we can : Find corresponding logic.
Chapter 5 Boolean Algebra and Reduction Techniques William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
©2010 Cengage Learning SLIDES FOR CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES This chapter in the book includes: Objectives Study Guide 7.1Multi-Level.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Boolean Algebra and Logic Simplification
Chapter 2: Boolean Algebra and Logic Functions
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
Experiment 2 Questions 1. There are two methods that can be used to generate a complement function using a 2-input NAND gate. Draw a diagram detailing.
EEE324 Digital Electronics Ian McCrumRoom 5B18, Lecture 4: Boolean Algebra.
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
KU College of Engineering Elec 204: Digital Systems Design
ECE 331 – Digital System Design
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
ECE 331 – Digital System Design NAND and NOR Circuits, Multi-level Logic Circuits, and Multiple-output Logic Circuits (Lecture #9) The slides included.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition.
ECE 331 – Digital System Design Constraints in Logic Circuit Design (Lecture #13) The slides included herein were taken from the materials accompanying.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. Circuit Optimization Logic and Computer Design Fundamentals.
Unit 7 Multi-Level Gate Circuits Nand and Nor Gates Fundamentals of Logic Design Roth and Kinny.
ECE 331 – Digital System Design Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
UM EECS 270 Spring 2011 – Taken from Dr.Karem Sakallah Logic Synthesis: From Specs to Circuits Implementation Styles –Random –Regular Optimization Criteria.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions
Multi-Level Gate Networks NAND and NOR Gates
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
TUTORIAL CHAPTER 3 GATE_LEVEL MINIMIZATION PART 2 TA. Arwa Al Saad. 9 November 2013.
ECE 3110: Introduction to Digital Systems
Lecture 09 NAND and XOR Implementations. Overview °Developing NAND circuits °Two-level implementations Convert from AND/OR to NAND (again!) °Multi-level.
05 BA2 Page 1 ECEn/CS 224 Boolean Algebra – Part 2.
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions ECE 301 – Digital Electronics.
1 Lecture 12 More about Combinational Analysis and Design Procedures.
Topic 4 – Switching Circuits. Serial vs. Parallel Transmission Circuit elements can be connected in either a serial or parallel manner. Serial implies.
CEC 220 Digital Circuit Design NAND/NOR Multi-Level Circuits
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
President UniversityErwin SitompulDigital Systems 4/1 Lecture 4 Digital Systems Dr.-Ing. Erwin Sitompul President University
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
1 CS 352 Introduction to Logic Design Lecture 4 Ahmed Ezzat Multi-level Gate Circuits and Combinational Circuit Design Ch-7 + Ch-8.
Lecture 07 Digital logic By Amr Al-Awamry. 4 variables K-Map.
ETE 204 – Digital Electronics Combinational Logic Design Single-bit and Multiple-bit Adder Circuits [Lecture: 9] Instructor: Sajib Roy Lecturer, ETE,ULAB.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
Digital Systems Design 1 Signal Expressions Multiply out: F = ((X + Y)  Z) + (X  Y  Z) = (X  Z) + (Y  Z) + (X  Y  Z)
SLIDES FOR CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
Chapter 2: Boolean Algebra and Logic Functions
Boolean Expressions Lecture No. 10.
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Combinatorial Logic Circuit
King Fahd University of Petroleum and Minerals
CH7 Multilevel Gate Network
CSE 370 – Winter Combinational Implementation - 1
Lecture 5 Logistics Last lecture Today’s lecture
Chapter 3 Overview • Multi-Level Logic
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

ETE 204 – Digital Electronics NAND and NOR Circuits, Multi-level Logic Circuits, and Multiple-output Logic Circuits [Lecture: 8] Instructor: Sajib Roy Lecturer, ETE, ULAB

ETE 204 - Digital Electronics NAND and NOR Circuits Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics CMOS Logic Gates 2-input AND Inverter 2-input NOR 2-input NAND 2-input OR Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics CMOS Logic Gates Number of transistors per logic gate: # of inputs AND / OR NAND / NOR 2 6 4 3 8 10 5 12 Thus, in terms of transistor count, it is “cheaper” to design logic circuits using NAND and NOR gates. Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics The NAND Gate Any logic function can be realized using only NAND gates. It is a functionally complete set of gates. Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics The NOR Gate Any logic function can be realized using only NOR gates. It, too, is a functionally complete set of gates. X X' A B (A+B)' A+B A' B' (A'+B')' = AB Summer 2012 ETE 204 - Digital Electronics

Alternate Logic Gate Symbols Digital circuit designers often find it convenient to use more than one representation for a given logic gate. Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics NAND and NOR Circuits A two-level circuit composed of AND and OR gates is easily converted to a circuit composed of NAND or NOR gates only. AND-OR → NAND-NAND OR-AND → NOR-NOR To do so algebraically, First use F = (F')' Then apply DeMorgan's Theorem Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics NAND Circuit: Example Convert the following SOP expression from the AND-OR form to the NAND-NAND form: F(A,B,C) = A.B' + A'.C' + B.C Summer 2012 ETE 204 - Digital Electronics

NOR Circuit: Example Convert the following POS expression from the OR-AND form to the NOR-NOR form: F(A,B,C) = (A'+B').(A'+C).(B+C') Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics Design a NAND Circuit Find the minimum SOP expression for F. Draw the corresponding AND-OR circuit. Replace all gates with NAND gates, leaving the gate interconnection unchanged. Complement any literals connected directly to the output (OR) gate. Summer 2012 ETE 204 - Digital Electronics

NAND Circuit: Example Design the NAND circuit for the following logic function: F(A,B,C) = S m(0, 3, 4, 5, 6, 7) Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics Design a NOR Circuit Find the minimum POS expression for F. Draw the corresponding OR-AND circuit. Replace all gates with NOR gates, leaving the gate interconnection unchanged. Complement any literals connected directly to the output (AND) gate. Summer 2012 ETE 204 - Digital Electronics

NOR Circuit: Example Design the NAND circuit for the following logic function: F(A,B,C) = S m(2, 4) Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits Thus far we have focused on the realization of optimal logic circuits through the derivation of Minimum Sum of Products (SOP) expressions Minimum Product of Sums (POS) expressions Both forms of Boolean expressions are realized as two- level logic circuits SOP ↔ AND-OR (NAND-NAND) circuit POS ↔ OR-AND (NOR-NOR) circuit There are a maximum of two logic gates between every input and the output(s). Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits A two-level logic circuit is usually efficient for Boolean expressions of a few variables (i.e. inputs). However, as the number of inputs increases, a two- level logic circuit may encounter fan-in problems. Fan-in refers to the number of inputs to a logic gate Whether fan-in is an issue is dependent upon the technology used to implement the logic circuit. Standard TTL and CMOS chips Complex Programmable Logic Device (CPLD) Field Programmable Gate Array (FPGA) Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits A multi-level logic circuit may require fewer logic gates than the logically equivalent two-level logic circuit. Reduced (silicon) area Decreased cost It may require less complex wiring between logic gates Fewer literals results in fewer interconnecting wires It will have a greater propagation delay than the logically equivalent two-level logic circuit. Each additional level adds to the propagation delay Decreased speed Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits: Example Design a logic circuit to realize the following logic function: F(A,B,C) = S m(1, 2, 3, 4, 6) Given the following criteria: 1. Use AND and OR gates only 2. Two- or Three-level circuit only 3. Minimize the number of gates 4. Minimize the number of gate inputs Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits: Example Which design would be possible if the following additional criteria was imposed: 5. Two-input logic gates only Summer 2012 ETE 204 - Digital Electronics

Multi-level Logic Circuits using NAND and NOR gates Summer 2012 ETE 204 - Digital Electronics

Design a Multi-level NAND Circuit Derive a minimum expression for the logic function. Design a multi-level circuit using AND and OR gates. Output gate must be an OR gate. Gates must alternate: AND, OR, AND, OR, … Number the levels starting with the output gate. Replace all gates with NAND gates, leaving the interconnection between gates unchanged. Leave inputs to gates at the even levels unchanged; complement inputs to gates at the odd levels. Summer 2012 ETE 204 - Digital Electronics

Design a Multi-level NAND Circuit Summer 2012 ETE 204 - Digital Electronics

Design a Multi-level NOR Circuit Derive a minimum expression for the logic function. Design a multi-level circuit using AND and OR gates. Output gate must be an AND gate. Gates must alternate: OR, AND, OR, AND, … Number the levels starting with the output gate. Replace all gates with NOR gates, leaving the interconnection between gates unchanged. Leave inputs to gates at the even levels unchanged; complement inputs to gates at the odd levels. Summer 2012 ETE 204 - Digital Electronics

Design a Multi-level NOR Circuit Summer 2012 ETE 204 - Digital Electronics

Multiple-output Logic Circuits Summer 2012 ETE 204 - Digital Electronics

Multiple-output Logic Circuits Thus far, we have focused on designing logic circuits to realize a single logic function. A logic circuit with a single output. However, many logic circuits have multiple outputs. Corresponding to multiple logic functions of the same input variables. Summer 2012 ETE 204 - Digital Electronics

Multiple-output Logic Circuits An optimal logic circuit may not be realized by simply minimizing each of the logic functions independently. Rather, it may be necessary to consider which terms (i.e. logic gates), if any, are common to the logic functions to be realized. Share those logic gates that are in common. Summer 2012 ETE 204 - Digital Electronics

Multiple-output Circuits: Example Design an optimal logic circuit to realize the following logic functions: F(A,B,C) = S m(0, 4, 5) G(A,B,C) = S m(0, 2, 6) Cost = # of logic gates + # of gate inputs Summer 2012 ETE 204 - Digital Electronics

ETE 204 - Digital Electronics Questions? Summer 2012 ETE 204 - Digital Electronics