332:437 Lecture 3 Hardware Design Methodology and Advanced Logic Design http://www.caip.rutgers.edu/~bushnell/dsdwebsite/dsdwebpage.html Hardware design.

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

Gate-Level Minimization
ECE C03 Lecture 21 Lecture 2 Two Level Minimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.

Simplifying Boolean Expressions Using K-Map Method
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Chapter 2: Boolean Algebra and Logic Functions
Lecture 3: Incompletely Specified Functions and K Maps CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer.
EEE324 Digital Electronics Ian McCrumRoom 5B18, Lecture 4: Boolean Algebra.
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
Department of Computer Engineering
Optimization Algorithm
Two-Level Simplification Approaches Algebraic Simplification: - algorithm/systematic procedure is not always possible - No method for knowing when the.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 4: Logic Optimization Chapter 4.
Gate-Level Minimization
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
C.S.Choy39 TERMINOLOGY Minterm –product term containing all input variables of a function in either true or complementary form Maxterm – sum term containing.
1 Gate Level Minimization EE 208 – Logic Design Chapter 3 Sohaib Majzoub.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Karnaugh Maps (K maps).
CEC 220 Digital Circuit Design Implicants Wed, Sept. 23 CEC 220 Digital Circuit Design Slide 1 of 10.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
CHAPTER 6 Quine-McCluskey Method
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
CHAPTER 3 Simplification of Boolean Functions
Lecture 3: Incompletely Specified Functions and K Maps
ELEC Digital Logic Circuits Fall 2014 Logic Minimization (Chapter 3)
Chapter 2: Boolean Algebra and Logic Functions
ECE 2110: Introduction to Digital Systems
Computer Organisation
Lecture 5 Topics Canonical or Standard Forms of Functions
Lecture #6 EGR 277 – Digital Logic
ECE 3110: Introduction to Digital Systems
QUINE-McCLUSKEY METHOD
Plotting functions not in canonical form
CS 352 Introduction to Logic Design
COMP211 Computer Logic Design Lecture 3. Combinational Logic 2
ECE 2110: Introduction to Digital Systems
Optimized Implementation of Logic Function
EEL 3705 / 3705L Digital Logic Design
ECE 331 – Digital System Design
Basics Combinational Circuits Sequential Circuits
Lecture 3: Incompletely Specified Functions and K Maps
Optimized Implementation of Logic Function
ECE 616 Advanced FPGA Designs
ECE 434 Advanced Digital Systems
Instructor: Alexander Stoytchev
BASIC & COMBINATIONAL LOGIC CIRCUIT
Instructor: Alexander Stoytchev
Digital Logic & Design Dr. Waseem Ikram Lecture 12.
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
CHAPTER 5 KARNAUGH MAPS 5.1 Minimum Forms of Switching Functions
SYEN 3330 Digital Systems Chapter 2 – Part 4 SYEN 3330 Digital Systems.
Combinatorial Logic Circuit
Optimization Algorithm
Optimized Implementation of Logic Function
COE 202: Digital Logic Design Combinational Logic Part 3
Minimization of Switching Functions
Dr. Clincy Professor of CS
Instructor: Alexander Stoytchev
Overview Part 2 – Circuit Optimization
Instructor: Alexander Stoytchev
Karnaugh Maps (K maps).
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Lecture 3: Incompletely Specified Functions and K Maps
Presentation transcript:

332:437 Lecture 3 Hardware Design Methodology and Advanced Logic Design http://www.caip.rutgers.edu/~bushnell/dsdwebsite/dsdwebpage.html Hardware design methodology Fault avoidance during design Design documentation History of logic design Logic design definitions Karnaugh Maps Summary Material from An Engineering Approach to Digital Design, By William I. Fletcher, Prentice-Hall Inc. 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Hardware Design Methodology Very important, exists at every hardware manufacturer Iterative Design Process Problem definition – need a clear, concise English statement System Requirements – created from problem definition Reliability Cost Weight Power consumption Physical size Performance (Speed) Maintainability Compatibility with existing designs 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 System Partitioning Break into manageable subsystems, each to be designed by teams of engineers Subsystem must be easy to handle Based on hardware performance requirements & propagation delay or Based on reliability requirements (aerospace) Flight-critical Mission-critical Convenience-functions 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Hardware Concept Development Create several candidate designs High-level analysis Analyze each candidate architecture Reliability estimate Cost estimate Weight estimate Testability estimate Power estimate Eliminate some candidate designs PROBLEM: Need detailed information to get reliable estimates 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Hardware and Software Specifications “Detailed plan for a design that can meet certain requirements” Hardware software design & analysis Carry out for each candidate design that survived High-Level Analysis Keep analyzing designs as they are filled out to make sure that they meet system requirements Testing & Design for Testability Search for faults of all types Design mistakes Implementation mistakes Component defects 1/14/2019 Bushnell: Digital Systems Design Lecture 3

System Integration and Test Combine hardware & software in a system prototype Example – software that never created problems on a hardware emulator may cause problems on the actual hardware Usually due to assumptions coded in the emulator that are not fulfilled by the actual hardware 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Fault Avoidance During Design Requirements Design Review Conceptual Design Review Specifications Design Review Important to have a testable design Detailed Design Review – most important Final Design Review – last checkpoint in design process Check that working prototype meets specifications Parts Selection Trade-off Part cost vs. part failure rate Part availability vs. failure rate Cost of a part failure Has critical impact on system reliability and availability 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Design Rules and Documentation Packaging Testing Electrical Shielding Circuit Layout Documentation Must be clear & correct 1/14/2019 Bushnell: Digital Systems Design Lecture 3

History of Logic Design 340 BC – Logic invented by Aristotle 1854 – George Boole recognized that Aristotleian logic can be represented symbolically as Boolean algebra 1938 – Claude Shannon showed that switching circuits could be analyzed using Boolean algebra 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Duality Axioms and Theorems – come in pairs Get one of the pair from the other by: Replacing AND with OR Replacing OR with AND Replacing 1 with 0 Replacing 0 with 1 If E is a valid Boolean expression, then Ed (its dual) is also valid 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Canonical Forms Literal – switching variable or its complement (e.g., x or y) Product Term or Implicant – series of literals related by AND operator Sum Term – Series of literals related by OR operator 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Karnaugh Maps Terminology Logical Adjacency – 2 product terms that differ in just 1 variable f (A, B, C, D) = … + A B C D + A B C D + … (A + A) (B C D) B C D Minterm # 5 13 A 1 B C D Minterm A B C D 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Karnaugh Maps Let t be a product term in some SOP representation of f t is an implicant if the input patterns that make t a 1 always make f a 1 t is a prime implicant if deletion of any literal term from t creates a product term that is not an implicant of f Key observation: In a minimal SOP form for f (), all product terms are prime implicants Variable-Entered Karnaugh Map – invented by Maurice Karnaugh of IBM 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Karnaugh Map 00 1 01 11 10 AB CD 3 2 4 5 7 6 12 13 15 14 8 9 f (A, B, C, D) = S (0, 3, 2, 5, 7, 11, 12, 13, 14) f (A, B, C, D) = P (1, 4, 6, 8, 9, 10, 15) 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Sum of Products (SOP) and Product of Sums (POS) x z y T 2 1 z x y O 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Sum of Products (SOP) and Product of Sums (POS) Minimal 2-level SOP form: No equivalent expression with fewer products No equivalent expression with the same # of products but smaller # of variables in products 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Simplifying Kmaps Determine smallest set of groups that covers all minterms Note: Cover first the 1’s you can’t cover any other way (these are essential prime implicants) Example: f (A, B, C) = Sm (0, 3, 4, 5, 6, 7) Note: Covers can overlap AB C 1 01 11 10 00 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Can Also Use Minimal POS Group 0’s Realize each group as a sum term with variables being complements of the SOP term Example 1: f (A, B) = A + B f (A, B) = (A + B) A B 1 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Example 2 f (A, B, C, D) = PM (1, 3, 4, 5, 6, 7, 8, 9, 13, 15) f = (A + D) (A + B) (B + D) (A + B + C) AB CD 00 01 11 10 1 3 2 4 5 7 6 12 13 15 14 8 9 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Incompletely Specified Functions What if not all 2N combinations happen? Introduce don’t cares into K-maps – represent as X’s 2N input patterns f (w, x, y, z) = Sm (0, 7, 8, 10, 12) + d (2, 6, 11) d signifies a don’t care or X value Logic Circuit N 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Differing Circuit Cost Measures # logic gates and # gate inputs # of inputs on a printed circuit board # of VLSI chips needed for the circuit Chip area required by the circuit on a VLSI chip Power required by the circuit on a VLSI chip We used to use 1, 2, and 3. Now we use 4 and 5 (entire circuit is on 1 chip) 1 – traditional 2 – 1980’s 3 and 4 – 1990’s # chip inputs, 4, and 5 – 21st Century 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Critically Important Issues Reduce circuit power consumption Make the circuit fast – get rid of all unnecessary gate delays, keep total wire length short Make it possible to test the circuit – get rid of all unnecessary or redundant logic and insert extra hardware to make testing possible To find minimal circuit realization: Find minimal SOP realization Find minimal POS realization Choose smaller of 1 and 2 or use Quine-McCluskey algorithm to optimize logic 1/14/2019 Bushnell: Digital Systems Design Lecture 3

Bushnell: Digital Systems Design Lecture 3 Summary Hardware design methodology Fault avoidance during design Design documentation History of logic design Logic design definitions Karnaugh Maps 1/14/2019 Bushnell: Digital Systems Design Lecture 3