Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, 2003. 2 NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.

Slides:



Advertisements
Similar presentations
Basics Combinational Circuits Sequential Circuits
Advertisements

Chapter 2 Logic Circuits.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design.
Appendix B Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
Lecture 20, Slide 1EECS40, Fall 2004Prof. White Lecture #20 ANNOUNCEMENT Midterm 2 Thursday Nov. 18, 12:40 – 2:00 pm A-L initials in F295 Haas Business.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
CSU0014 Assembly Languages Homepage: Textbook: Kip R. Irvine, Assembly Language for Intel-Based Computers,
Homework Problems 1. M1 runs the program P in 1.4 * 9 * ns or ns M2 runs the program P in 1.6*9800*10ns or ns Hence M2 is faster by.
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Assembly Language for x86 Processors 7th Edition
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
Digital Logic Basics Chapter 2 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
The Digital Logic Level
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Logic Gates Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding.
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.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Lecture 4 Introduction to Boolean Algebra. Binary Operators In the following descriptions, we will let A and B be Boolean variables and define a set of.
CS/COE0447 Computer Organization & Assembly Language
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  Boolean postulate  Simplifying boolean equations  Truth tables You will learn: 2.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
School of Computer and Communication Engineering, UniMAP DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Logic Gates and Boolean Algebra Introduction to Logic II.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
K-maps and Decoders Prof. Sin-Min Lee Department of Computer Science.
CHAPTER 3 Simplification of Boolean Functions
Logic Gates and Boolean Algebra
DIGITAL LOGIC CIRCUITS
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
CHAPTER 1 : INTRODUCTION
Jeremy R. Johnson Wed. Sept. 29, 1999
DIGITAL LOGIC CIRCUITS
Reading: Hambley Chapters
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
CSE 311 Foundations of Computing I
BASIC & COMBINATIONAL LOGIC CIRCUIT
CS/COE0447 Computer Organization & Assembly Language
Reading: Hambley Ch. 7 through 7.5
Logic Gates.
13 Digital Logic Circuits.
CS/COE0447 Computer Organization & Assembly Language
Chapter 10.3 and 10.4: Combinatorial Circuits
Special Gates Combinational Logic Gates
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Computer Architecture
Reading: Hambley Ch. 7 through 7.5
Presentation transcript:

Chapter 10_1 Digital Logic

Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators

Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT A = Ā A AND B = A  B A OR B = A + B A XOR B= 1 if and only if one of A or B is 1 A NAND B = NOT ( A AND B) NOR= NOT (A OR B) Truth Tables Boolean Operators

Irvine, Kip R. Assembly Language for Intel-Based Computers, Boolean Algebra Based on symbolic logic, designed by George Boole Boolean expressions created from: – NOT, AND, OR

Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT Inverts (reverses) a boolean value Truth table for Boolean NOT operator: Digital gate diagram for NOT:

Irvine, Kip R. Assembly Language for Intel-Based Computers, AND Truth table for Boolean AND operator: Digital gate diagram for AND:

Irvine, Kip R. Assembly Language for Intel-Based Computers, OR Truth table for Boolean OR operator: Digital gate diagram for OR:

Irvine, Kip R. Assembly Language for Intel-Based Computers, Operator Precedence Examples showing the order of operations:

Irvine, Kip R. Assembly Language for Intel-Based Computers, Truth Tables (1 of 3) A Boolean function has one or more Boolean inputs, and returns a single Boolean output. A truth table shows all the inputs and outputs of a Boolean function Example:  X  Y

Irvine, Kip R. Assembly Language for Intel-Based Computers, Truth Tables (2 of 3) Example: X   Y

Irvine, Kip R. Assembly Language for Intel-Based Computers, Truth Tables (3 of 3) Example: (Y  S)  (X   S) Two-input multiplexer

Basic Identities of Boolean Algebra Basic Postulates A B = B AA + B = B + ACommutative Laws A (B + C) = (A B) + (A C)A + (B C) = (A + B) (A + C)Distributive Laws 1 A = A0 + A = AIdentity Elements A = 0A + = 1Inverse Elements Other Identities 0 A = 01 + A = 1 A A = AA + A = A A (B C) = (A B) CA + (B + C) = (A + B) + CAssociative Laws DeMorgan's Theorem

De Morgan’s Theorem A NOR B = (NOT A) AND (NOT B) A NAND B = (NOT A) OR (NOT B)

Basic Logic Gates

NAND Gates

NOR Gates

Sum of products F = ABC + ABC + ABC

Product of sums (X  Y  Z) = X + Y + Z (De Morgan) 

Product of sums

Simplification of Boolean expression Algebraic simplification Karnaugh maps Quine McKluskey Tables

Algebraic simplification Show how to simplify F = ABC + ABC + ABC To become F = AB + BC = B(A + C)

Simplified implementation of F = ABC + ABC + ABC = B(A + C)

Karnaugh Maps

The use of Karnaugh maps

Overlapping groups F = ABC + ABC + ABC = B(A + C)

The Quine-McKluskey Method

2 nd stage All pairs that differ in one variable

Last stage

Final stage Circle each x that is alone in a column. Then place a square around each X in any row in which there is a circled X. If every column now has either a squared or a circled X, then we are done, and those row elements whose Xs have been marked constitute the minimal expression. ABC + ACD + ABC + ACD

NAND

Multiplexor S2S1F 00D0 01D1 10D2 11D3

Multiplexor implementation

Decoder

Use of decoders To address 1K byte memory using four 256 x 8 bit RAM chips

Small-scale integration Early integrated circuit provided from one to ten gates on a chip. The next slide shows a few examples of these SSI chips.

Programmable Logic Array (PLA)

Programmed PLA

Read-only memory

A 64 bit ROM

Adders

4-Bit Adder

Implementation of an Adder

Multi-output adder The output from each adder depends on the output from the previous adder. Thus there is an increasing delay from the least significant to the most significant bit. For larger adders the accumulated delay can become unacceptably high.

32-Bit Adder using 8-Bit Adders

Carry look ahead