Appendix B 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

Digital Circuits.
Assembly Language for Intel-Based Computers, 4 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify and.
Combinational Circuits ENEL 111. Common Combinationals Circuits NAND gates and Duality Adders Multiplexers.
التصميم المنطقي Second Course
1 CS/COE0447 Computer Organization & Assembly Language Logic Design.
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.
Chapter 11_2 (10_2 edition 8) Sequential Circuits etc.
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.
Chapter 4 Gates and Circuits.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
Introduction to Digital Logic Design Appendix A of CO&A Dr. Farag
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
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
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
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.
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.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
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
Logic Gates Digital Electronics.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
Appendix B: Digital Logic
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.
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.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Combinational Circuits and Boolean
Dr.Ahmed Bayoumi Dr.Shady Elmashad
DIGITAL LOGIC CIRCUITS
DIGITAL LOGIC CIRCUITS
XOR, XNOR, and Binary Adders
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
CSE 311 Foundations of Computing I
CS/COE0447 Computer Organization & Assembly Language
XOR, XNOR, & Binary Adders
Combinatorial Logic Circuit
Reading: Hambley Ch. 7 through 7.5
Dr. Clincy Professor of CS
Logic Gates.
13 Digital Logic Circuits.
CS/COE0447 Computer Organization & Assembly Language
Chapter 10.3 and 10.4: Combinatorial Circuits
XOR, XNOR, and Binary Adders
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Computer Architecture
Reading: Hambley Ch. 7 through 7.5
Presentation transcript:

Appendix B 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

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

Irvine, Kip R. Assembly Language for Intel-Based Computers, Printing this Slide Show To print this slide show with black characters on a white background, do the following: Select Print... from the File menu. Select Handouts in the Print what drop-down box. Select 2 or 3 in the Slides per page drop-down box. Select the Pure black and white check box (optional) Click on OK to begin printing. Back to the title page