1 CS151: Digital Design Chapter 3: Combinational Logic Design 3-2 Beginning Hierarchical Design 3-3 Technology Mapping.

Slides:



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

Overview Part 1 – Gate Circuits and Boolean Equations
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
Overview Part 1 – Gate Circuits and Boolean Equations
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
Combinational Circuits
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
Boolean Algebra and Combinational Logic
Combinational Circuits
CPEN Digital System Design
Henry Hexmoor1 Chapter 3 Henry Hexmoor Types of Logic Circuits Combinational logic circuits: –Outputs depend only on its current inputs. –A combinational.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 3 – Combinational.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Design Of Combinational Logic Circuits
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Overview Part 1 – Design Procedure 3-1 Design Procedure
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 10 – Other Gate Types.
Additional Gates BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 2 – Combinational.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 11 – Design Concepts.
Combinational Logic Design CS341 Digital Logic and Computer Organization F2003.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
NOCTI Review Lesson 4 Objectives:
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 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.
CS231 Boolean Algebra1 K-map Summary K-maps are an alternative to algebra for simplifying expressions. – The result is a minimal sum of products, which.
Chapter 33 Basic Logic Gates. 2 Objectives –After completing this chapter, the student should be able to: Identify and explain the function of the basic.
1 CS 151 Introduction to Digital Design Chapter 2-8 Other Gate Types.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
Chapter 3 Gate-level Minimization. 3-7 NAND and NOR Implementation Digital circuits are frequently constructed with NAND or NOR gates rather than with.
A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map.
TUTORIAL CHAPTER 3 GATE_LEVEL MINIMIZATION PART 2 TA. Arwa Al Saad. 9 November 2013.
CS 1110 Digital Logic Design
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Combinational Circuits.
Boolean Algebra and Reduction Techniques
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
CHAPTER 5 Combinational Logic Analysis
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
Chapter 0 ComBinaTionaL loGic deSign ComBinaTionaL loGic deSign EKT 221 / 4 DIGITAL ELECTRONICS II.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
1 Digital Systems Design Lecture 7 Transformations Factoring - finding a factored form from SOP or POS expression Decomposition - expression of a function.
2016/7/21 Haifeng Liu 2014 Fall College of Computer Science and Technology, Zhejiang University Chapter 3 Combinational Logic Design.
Overview Part 1 – Design Procedure Part 2 – Combinational Logic
MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
Combinational Logic Design
Overview Part 1 – Logic Circuits and Boolean Functions
EE2174: Digital Logic and Lab
Logic Gates.
Overview Part 1 – Gate Circuits and Boolean Equations
Exclusive OR Gate.
Boolean Algebra and Combinational Logic
Overview Part 1 – Design Procedure Beginning Hierarchical Design
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
King Fahd University of Petroleum and Minerals
Chapter 3 – Combinational Logic Design
Logic Gates.
Chapter 3 – Combinational Logic Design
KS4 Electricity – Electronic systems
Combinational Circuits
Combinational Circuits
Presentation transcript:

1 CS151: Digital Design Chapter 3: Combinational Logic Design 3-2 Beginning Hierarchical Design 3-3 Technology Mapping

CS Hierarchical Design To control the complexity of the function mapping inputs to outputs, divide and conquer:  Decompose the function into smaller pieces called blocks  Decompose each block’s function into smaller blocks, repeating as necessary until all blocks are small enough  Any block not decomposed is called a primitive block  The collection of all blocks including the decomposed ones is a hierarchy

CS Example 1: Hierarchy for 16-Word by 1 Bit RAM Chip 16-Word by 1 Bit RAM Chip 4-to-16 Decoder Static RAM Cell C S R Q Q C R Q Q C S R Q S Q SR-Flip-Flop S R Q Q C SR- Latch

CS Example 2: Hierarchy for Parity Tree X 0 X 1 X 2 X 3 X 4 X 5 X 6 X 7 X 8 Z O 9-Input odd function (a) Symbol for circuit B O 3-Input odd function A 0 A 1 A 2 B O 3-Input odd function A 0 A 1 A 2 B O 3-Input odd function A 0 A 1 A 2 B O 3-Input odd function A 0 A 1 A 2 X 0 X 1 X 2 X 3 X 4 X 5 X 6 X 7 X 8 Z O (b) Circuit as interconnected 3-input odd function blocks interconnected exclusive-OR blocks B O A 0 A 1 A 2 (c) 3-input odd function circuit as (d) Exclusive-OR block as interconnected NANDs

CS Hierarchy for Parity Tree Example Example: 9-input parity tree  Top Level: 9 inputs, one output  2nd Level: Four 3-bit odd parity trees in two levels  3rd Level: Two 2-bit exclusive-OR functions  Primitives: Four 2-input NAND gates  Design requires 4 X 2 X 4 = 32 2-input NAND gates

CS Reusable Functions and CAD functional blocks Whenever possible, we try to decompose a complex design into common, reusable functional blocks These blocks  Reduce the complexity to present the circuit diagram  are verified and well-documented  are placed in libraries for future use

CS Top-Down versus Bottom-Up A top-down design proceeds from an abstract, high-level specification to a more and more detailed design by decomposition and successive refinement A bottom-up design starts with detailed primitive blocks and combines them into larger and more complex functional blocks Designs usually proceed from both directions simultaneously  Top-down design answers: What are we building?  Bottom-up design answers: How do we build it? Top-down controls complexity while bottom-up focuses on the details

CS Technology Mapping Mapping Procedures  To NAND gates  To NOR gates  Mapping to multiple types of logic blocks in covered in the reading supplement: Advanced Technology Mapping.

CS NAND Gate The basic NAND gate has the following symbol, illustrated for three inputs:  AND-Invert (NAND) NAND represents NOT AND, i. e., the AND function with a NOT applied. The symbol shown is an AND- Invert. The small circle (“bubble”) represents the invert function. What does the truth table for NAND look like? X Y Z ZYX)Z,Y,X(F 

CS NAND Gates (continued) Applying DeMorgan's Law gives Invert-OR 1 (NAND) This NAND symbol is called Invert-OR, since inputs are inverted and then ORed together. AND-Invert 2 and Invert-OR both represent the NAND gate. Having both makes visualization of circuit function easier. A NAND gate with one input degenerates to an inverter. X Y Z ZYX)Z,Y,X(F  1.Also called NOT-OR 2.Also called AND-NOT

CS Mapping to NAND gates Assumptions:  Gate loading and delay are ignored  Cell library contains an inverter and n-input NAND gates, n = 2, 3, …  An AND, OR, inverter schematic for the circuit is available The mapping is accomplished by:  Replacing AND and OR symbols,  Pushing inverters through circuit fan-out points, and  Canceling inverter pairs

CS NAND Mapping Algorithm 1. Replace ANDs and ORs: 2. Repeat the following pair of actions until there is at most one inverter between : a. A circuit input or driving NAND gate output, and b. The attached NAND gate inputs.

CS NAND Mapping Example

CS NOR Gate The basic NOR gate has the following symbol, illustrated for three inputs:  OR-Invert (NOR) NOR represents NOT - OR, i. e., the OR function with a NOT applied. The symbol shown is an OR- Invert. The small circle (“bubble”) represents the invert function. What does the truth table for NOR look like? X Y Z ZYX)Z,Y,X(F  + 

CS NOR Gate (continued) Applying DeMorgan's Law gives Invert-AND (NOR) This NOR symbol is called Invert-AND, since inputs are inverted and then ANDed together. OR-Invert and Invert-AND both represent the NOR gate. Having both makes visualization of circuit function easier. A NOR gate with one input degenerates to an inverter. X Y Z

CS Mapping to NOR gates Assumptions:  Gate loading and delay are ignored  Cell library contains an inverter and n-input NOR gates, n = 2, 3, …  An AND, OR, inverter schematic for the circuit is available The mapping is accomplished by:  Replacing AND and OR symbols,  Pushing inverters through circuit fan-out points, and  Canceling inverter pairs

CS NOR Mapping Algorithm 1. Replace ANDs and ORs: 2. Repeat the following pair of actions until there is at most one inverter between : a. A circuit input or driving NAND gate output, and b. The attached NAND gate inputs.

CS NOR Mapping Example