Computer organization at the logic level Some not so famous last words.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Instructor Dr Sameh Abdulatif
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
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Logic Gate Level Combinational Circuits, Part 1. Circuits Circuit: collection of devices physically connected by wires to form a network Net can be: –
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
1 COMP541 Combinational Logic - II Montek Singh Aug 27, 2014.
Logic gate level Part 3: minimizing circuits. Improving circuit efficiency Efficiency of combinatorial circuit depends on number & arrangement of its.
Lecture 3. Boolean Algebra, Logic Gates
Propositional Calculus Math Foundations of Computer Science.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
2.7 NAND and NOR logic networks
Chapter 2: Boolean Algebra and Logic Functions
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
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.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
1 Representation of Logic Circuits EE 208 – Logic Design Chapter 2 Sohaib Majzoub.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #7 COMBINATIONAL LOGIC ANALYSIS.
Combinational Logic 1.
CHAPTER 4 Combinational Logic
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.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
CH51 Chapter 5 Combinational Logic By Taweesak Reungpeerakul.
CS 121 Digital Logic Design Gate-Level Minimization Chapter 3.
05 BA2 Page 1 ECEn/CS 224 Boolean Algebra – Part 2.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Pp244 In Sum-of-Products (SOP) form, basic.
Boolean Algebra and Reduction Techniques
Boolean Algebra and Logic Gates
CEC 220 Digital Circuit Design NAND/NOR Multi-Level Circuits
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
CO5023 Building Circuits from Truth Tables. Build the following… Let’s say we want a circuit which acts as described by the following truth table: We.
1 Ch.3 Logic Gates and Boolean Algebra – Part 1
1 CS 352 Introduction to Logic Design Lecture 4 Ahmed Ezzat Multi-level Gate Circuits and Combinational Circuit Design Ch-7 + Ch-8.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
Combinational Circuits Part 1
De Morgan’s Theorem,.
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Logic Gates.
EI205 Lecture 5 Dianguang Ma Fall 2008.
Princess Sumaya University
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Universal gates.
Logic Gates.
Logic Gates.
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Lecture 5 Logistics Last lecture Today’s lecture
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Chapter 4 Gates and Circuits.
ECE 352 Digital System Fundamentals
Special Gates Combinational Logic Gates
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Chapter 5 Combinational Logic Analysis
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Circuit
ECE 352 Digital System Fundamentals
Presentation transcript:

Computer organization at the logic level Some not so famous last words

Logic diagram of a boolean expression For expression: ((ab + bc’)a)’:

Abbreviating diagram Eliminate inverter(s) – show input as x’ instead of x Since a junction just duplicates the signal from a variable, can just show the same variable as many times as needed; we assume any variable or its complement is available as input to any gate

Abbreviated version of previous diagram

Another example: a’bc  c + a + d)’ Note: diagram assumes (correctly) that XOR has higher precedence than OR and lower than AND

Writing a boolean expression from a logic diagram Label the output of each gate with the appropriate subexpression (we assume inputs have labels) Output of the final gate is the full expression

Construction Boolean expression from a truth table Can write the non-parenthesized OR of ANDs Each AND is a 1 in the result column of the truth table – see example, next slide

Example truth table abcx x = 1 for all ANDed combinations except a’bc and abc’ – so one valid expression is: a’b’c’ + a’b’c + a’bc’ + ab’c’ + ab’c + abc

Dual technique The previous example illustrates that the OR of ANDs might not produce the simplest expression Alternatively, we can take the AND of ORs; each OR is represented by a 0 in the result column – see next slide

Example truth table abcx x = 0 for 011 and 110 – so we take the dual, using complements of 0 and 1, with this result: x = (a+b’+c’)(a’+b’+c)

Gate delay Gate delay: time it takes for output of a gate to respond to change in its input With long string of gates, delay may be significant Reducing the number of gates reduces gate delay

2-level networks Since any boolean expression can be written as the OR of ANDed terms (2-level and/or network), any function can be implemented with a combinational net with ≤ 2 gate delays The same principle applies to the dual; we can transform the AND of ORed terms, if more convenient, giving us a 2-level or/and network

Gate equivalences DeMorgan’s laws tell us that: –(abc)’ = a’+b’+c’ –(a+b+c) = a’b’c’ This leads us to the following equivalences: –an OR gate with inverted inputs is equivalent to a NAND gate –an AND gate with inverted inputs is equivalent to a NOR gate We can replace any AND-OR net with an equivelant NAND-NAND or NAND-NOR net We can make similar replacements for OR-AND nets

Equivalent gates

Minimizing the number of gates Two-level networks are desirable because of their speed We can sometimes reduce the number of gates in a 2-level network and retain the processing speed of 2 gate delays

Example Suppose we start with the 4-input expression a’bd’ + a’c’d’ + a’bc’d’ Recall the absorption properties: –x + xy = x –x(x+y) = x Using commutation and association, we can write the original expression as: a’bd’ + (a’c’d’) + (a’c’d’)b The underlined parts of the expression are recognizable as an ‘x’ term in the first absorption law; thus we can reduce the expression to: a’bc’ + a’c’d’