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.

Slides:



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

ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
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
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.
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
MULTI-LEVEL GATE NETWORKS
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
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.
Example: Given a 4-bit input combination N=N 3 N 2 N 1 N 0, this function produces a 1 output for N=1,2,3,5,7,11,13, and 0 otherwise.  According to the.
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
ECE 301 – Digital Electronics Karnaugh Maps and Determining a Minimal Cover (Lecture #8) The slides included herein were taken from the materials accompanying.
Unit 8 Combinational Circuit Design and Simulation Using Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science.
©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.
ECE 331 – Digital System Design Power Dissipation and Additional Design Constraints (Lecture #14) The slides included herein were taken from the materials.
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
2.7 NAND and NOR logic networks
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.
Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information.
KU College of Engineering Elec 204: Digital Systems Design
ECE 331 – Digital System Design
ECE 331 – Digital System Design NAND and NOR Circuits, Multi-level Logic Circuits, and Multiple-output Logic Circuits (Lecture #9) The slides included.
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.
1 ENGR 254 Lecture DeMorgan Symbol Equivalence.
ECE 331 – Digital System Design Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 4: Logic Optimization Chapter 4.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions
ETE 204 – Digital Electronics
Multi-Level Gate Networks NAND and NOR Gates
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
ECE 3110: Introduction to Digital Systems Combinational-Circuit Synthesis.
ECE 3110: Introduction to Digital Systems
Implementation of SOP/POS Expressions
Lecture 09 NAND and XOR Implementations. Overview °Developing NAND circuits °Two-level implementations Convert from AND/OR to NAND (again!) °Multi-level.
1 Logic Gates and Circuits  Logic Gates Logic Gates  The Inverter The Inverter  The AND Gate The AND Gate  The OR Gate The OR Gate  The NAND Gate.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions ECE 301 – Digital Electronics.
Module –I Switching Function
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
1 Lecture 12 More about Combinational Analysis and Design Procedures.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
CEC 220 Digital Circuit Design NAND/NOR Multi-Level Circuits
ECE 331 – Digital System Design Basic Logic Operations, Boolean Expressions and Truth Tables, and Standard Logic Gates The slides included herein were.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 7 – Karnaugh Maps.
President UniversityErwin SitompulDigital Systems 4/1 Lecture 4 Digital Systems Dr.-Ing. Erwin Sitompul President University
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.
©2010 Cengage Learning SLIDES FOR CHAPTER 8 COMBINATIONAL CIRCUIT DESIGN AND SIMULATION USING GATES Click the mouse to move to the next page. Use the ESC.
Digital Systems Design 1 Signal Expressions Multiply out: F = ((X + Y)  Z) + (X  Y  Z) = (X  Z) + (Y  Z) + (X  Y  Z)
ECE 331 – Digital System Design
SLIDES FOR CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES
Lecture 7 Multi-Level Gate Networks
MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
ECE 301 – Digital Electronics
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Combinatorial Logic Circuit
CH7 Multilevel Gate Network
Presentation transcript:

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 materials accompanying Fundamentals of Logic Design, 6 th Edition, by Roth and Kinney, and were used with permission from Cengage Learning.

Fall 2010ECE Digital System Design2 Multi-level Logic Circuits

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

Fall 2010ECE Digital System Design4 Multi-level Logic Circuits A two-level logic circuit is usually efficient for Boolean expressions of a few variables. However, as the number of inputs increases, a two- level logic circuit may encounter in 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  Field Programmable Gate Array (FPGA)  Complex Programmable Logic Device (CPLD)

Fall 2010ECE Digital System Design5 Multi-level Logic Circuits May require fewer logic gates than the logically equivalent two-level logic circuit.  Reduced (silicon) area  Decreased cost May require less complex wiring between logic gates  Fewer literals results in fewer interconnecting wires Has a greater propagation delay than the logically equivalent two-level logic circuit.  Each additional level adds to the propagation delay  Decreased speed

Fall 2010ECE Digital System Design6 Find a circuit of AND and OR gates to realize Consider solutions with two levels of gates and three levels of gates. Try to minimize the number of gates and the total number of gate inputs. Assume that all variables and their complements are available as inputs. f (a, b, c, d) = Ʃ m(1, 5, 6, 10, 13, 14) Multi-level Logic Circuits Example:

Fall 2010ECE Digital System Design7 First, simplify f by using a Karnaugh map. Multi-level Logic Circuits Example: Minimum SOPMinimum POS

Fall 2010ECE Digital System Design8 This leads directly to a two-level AND-OR logic circuit for the minimum SOP expression. Multi-level Logic Circuit Example:

Fall 2010ECE Digital System Design9 And leads directly to a two-level OR-AND logic circuit for the minimum POS expression. Multi-level Logic Circuit Example:

Fall 2010ECE Digital System Design10 Factoring the minimum SOP expression yields: f = c'd.(a' + b) + cd'.(a + b) Multi-level Logic Circuit Example: Which leads to the three-level OR-AND-OR logic circuit:

Fall 2010ECE Digital System Design11 Multi-level Logic Circuit Example: To get a three-level circuit with an AND gate output, we partially multiply out the POS expression using (X + Y)(X + Z) = X + Y Z: f = [c + d(a′ + b)][c′ + d′(a + b)] This would require four levels of gates to realize; however, if we multiply out d′(a + b) and d(a′ + b), we get f = (c + a′d + bd)(c′ + ad′ + bd′)

Fall 2010ECE Digital System Design12 Multi-level Logic Circuit Example: Which leads to the three-level AND-OR-AND logic circuit:

For this particular example, the best two-level solution had an AND gate at the output, and the best three-level solution had an OR gate at the output. In general, to be sure of obtaining a minimum solution, one must find both the circuit with the AND-gate output and the one with the OR-gate output. Multi-level Logic Circuits

Fall 2010ECE Digital System Design14 NAND-NAND and NOR-NOR Circuits

Fall 2010ECE Digital System Design15 Logic Gates AND and OR Gates  2-input gates realized with 6 CMOS transistors  3-input gates realized with 8 CMOS transistors NAND and NOR Gates  2-input gates realized with 4 CMOS transistors  3-input gates realized with 6 CMOS transistors More cost efficient to design logic circuits using NAND and NOR gates.

Fall 2010ECE Digital System Design16 NAND and NOR Gates F = (ABC)′ = A′ + B′ + C′ F = (A + B + C)′ = A′B′C′

Fall 2010ECE Digital System Design17 Any logic function can be realized using only NAND gates. Consequently, it is said to be a functionally complete set of gates. NAND Gate

Fall 2010ECE Digital System Design18 Any logic function can be realized using only NOR gates. Consequently, it, too, is said to be a functionally complete set of gates. NOR Gate

Fall 2010ECE Digital System Design19 A two-level circuit composed of AND and OR gates is easily converted to a circuit composed of NAND or NOR gates only. Use F = (F′)′ and then apply DeMorgan′s laws: (X 1 + X 2 + … + X n )′ = X 1 ′ X 2 ′…X n ′ (X 1 X 2 …X n )′ = X 1 ′ + X 2 ′ + … + X n ′ NAND-NAND and NOR-NOR Circuits

Fall 2010ECE Digital System Design20 Convert the minimum sum-of-products (AND-OR) form to the equivalent NAND-NAND form. F = A + BC′ + B′CD = [(A + BC′ + B′CD)′ ]′ F = A + BC′ + B′CD = [A′ (BC′)′ (B′CD)′]′ NAND-NAND Circuits Example: Solution:

Fall 2010ECE Digital System Design21 Convert the minimum product-of-sums (OR-AND) form to the equivalent NOR-NOR form. F = (A + B+ C)(A + B′ + C')(A +C' +D) = {[(A + B + C)(A + B′ + C′)(A + C′ + D)]′ }′ F = [(A + B + C)′ + (A + B′ + C′)′ + (A + C′ + D)′]′ NOR-NOR Circuits Example: Solution:

Fall 2010ECE Digital System Design22 Basic Forms for Two-level Circuits

Fall 2010ECE Digital System Design23 Basic Forms for Two-level Circuits

Fall 2010ECE Digital System Design24 Design of NAND-NAND Circuits Find a minimum SOP expression for f. Draw the corresponding AND-OR circuit. Replace all gates with NAND gates, leaving the gate interconnection unchanged. If the output gate has any single literals as inputs, complement these literals.

Fall 2010ECE Digital System Design25 Design a NAND-NAND Circuit Example:

Fall 2010ECE Digital System Design26 Design of NOR-NOR Circuits Find a minimum POS expression for f. Draw the corresponding OR-AND circuit. Replace all gates with NOR gates, leaving the gate interconnection unchanged. If the output gate has any single literals as inputs, complement these literals.

Fall 2010ECE Digital System Design27 Design a NOR-NOR Circuit Example:

28 Design of Multi-level NAND-Gate Circuits Simplify the switching function to be realized. Design a multi-level circuit of AND and OR gates. The output gate must be an OR gate. The gates must alternate: AND, OR, AND, OR, … Number the levels starting with the output gate. The output gate is level 1. Replace all gates with NAND gates, leaving interconnections between gates unchanged. Leave inputs to gates at levels 2, 4, 6, … unchanged; invert literals that appear as inputs to gates at levels 1, 3, 5, …

Fall 2010ECE Digital System Design29 Design of a Multi-level NAND-Gate Circuit

30 Design of Multi-level NOR-Gate Circuits Simplify the switching function to be realized. Design a multi-level circuit of AND and OR gates. The output gate must be an AND gate. The gates must alternate: OR, AND, OR, AND, … Number the levels starting with the output gate. The output gate is level 1. Replace all gates with NOR gates, leaving interconnections between gates unchanged. Leave inputs to gates at levels 2, 4, 6, … unchanged; invert literals that appear as inputs to gates at levels 1, 3, 5, …

Fall 2010ECE Digital System Design31 Design of a Multi-level NOR-Gate Circuit

Fall Logic designers who design complex digital systems often find it convenient to use more than one representation for a given type of gate. Alternate Logic Gate Symbols inverter

ECE Digital System Design33 Conversion to NAND-Gate Circuit AND-OR NAND-NAND

Fall 2010ECE Digital System Design34 Conversion to NOR-Gate Circuit

Fall 2010ECE Digital System Design35 Conversion to NAND-Gate Circuit

Fall 2010ECE Digital System Design36 Multiple-output Circuits

Fall 2010ECE Digital System Design37 Review the material provided in the textbook. (Sections 7.6 – 7.7) Multiple-output Logic Circuits

Fall 2010ECE Digital System Design38 Questions?