CPS3340 COMPUTER ARCHITECTURE Fall Semester, 2013 09/05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

CT455: Computer Organization Logic gate
CS2100 Computer Organisation
Chapter 2 Logic Circuits.
Boolean Algebra and Logic Gate
Microprocessors vs. Custom Digital Circuits
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 3 Dr. Shi Dept. of Electrical and Computer Engineering.
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Boolean Algebra and Logic Gates1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
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.
1 CHAPTER 4: PART I ARITHMETIC FOR COMPUTERS. 2 The MIPS ALU We’ll be working with the MIPS instruction set architecture –similar to other architectures.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
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.
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Lecture 7 Topics –Boolean Algebra 1. Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /10/2013 Lecture 5: Combinational Logic Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE.
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)
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 2.
WELCOME. LOGIC GATE WHAT WE ARE GOING TO LEARN? The Logic Gate. Analogue and Digital signal. Bit and Byte. Boolean Theorem. Description and Circuit analyses.
LOGIC GATES & BOOLEAN ALGEBRA
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
CPS3340 Computer Architecture Fall Semester, 2013
CS/COE0447 Computer Organization & Assembly Language
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
Appendix C Basics of Digital Logic Part I. Florida A & M University - Department of Computer and Information Sciences Modern Computer Digital electronics.
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Computer Architecture & Operations I
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
CSIS-110 Introduction to Computer Science
Digital Logic.
Morgan Kaufmann Publishers
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Digital Technology.
Logic Gates.
Digital Logic.
Digital Signals Digital Signals have two basic states:
Jeremy R. Johnson Wed. Sept. 29, 1999
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Schematics 201 Lecture Topic: Electrical Symbols
CS/COE0447 Computer Organization & Assembly Language
Logic Gates.
CS Chapter 3 (3A and ) Part 3 of 8
Logic Gates.
Digital Logic.
13 Digital Logic Circuits.
Logic Gates By Dr.Mazin Alzewary
Logic Gates.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Dept. of Electrical and Computer Eng., NCTU
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE CENTRAL STATE UNIVERSITY, WILBERFORCE, OH 1

Review  Last Class  Assignment 1  Power Wall  IC manufacture  Amdahl’s Law  This Class  Basics of Logic Design  Next Class  Combinational Logic 2

0s and 1s  Modern Computers are Digital  1  Corresponding to a high voltage  Signal Asserted  Logical True  0  Corresponding to low voltage  Signal Deasserted  Logical False  0s and 1s are complimentary  0’s inverse is 1  1’s inverse is 0 3

Units  Bit  0 or 1  Byte (B)  8 bits ( )  Kilo (KB)  1024 bytes  Mega (MB)  1,048,576 bytes  Giga (GB)  1,073741,824 bytes  Tera (TB)  1,099,511,628,000 bytes 4

Combinational Logic and Sequential Logic  Combinational Logic  A logic system whose blocks do not contain memory and hence compute the same output given the same input  Sequential Logic  A group of logic elements that contain memory and hence whose value depends on the inputs as well as the current contents of the memory 5

Boolean Logic -- AND  AND (Logical Product)  Its output = 1, only if both inputs are 1  Truth table ABA·B

Boolean Logic -- OR  OR (Logical Sum)  Its output = 1 if either input = 1  Truth table ABA+B

Boolean Logic -- NOT  NOT (Logical Inversion) or ~A  The output is the opposite of the input  Truth Table A~A

Order of Precedence  Precedence Rule  Parentheses (Highest)  NOT  AND  OR  Example 9

Boolean Logic  Any Boolean Logic function can be implemented with only NOT, AND, OR functions  NOT, AND, OR functions are the basic logic functions  Others can be implemented by the basic logic functions NOT, AND, OR 10

Truth Table  Example from the book: 11

Answer 12  In class exercise : Show the logic equations for the logic functions, D, E, and F Implement D and F

Boolean Logic Laws  Identity Law  Zero and One Law  Inverse Law  Commutative Law 13

Boolean Logic Laws (cont.)  Associative Laws  Distributive Laws  De Morgan’s Laws 14

How to prove a logical law?  One approach: Truth table Truth table for de Morgan Laws 15

Gates  Gates  basic digital building blocks which correspond to and perform the basic logical functions  AND  OR  NOT  Complex digital functions that make up a computer are built from these basic digital building blocks 16

Simplification of NOT Gate 17

In Class Exercise  Design a Combinational Logic to implement the following logical expression 18

NAND  NAND  Its output = 1, only if both inputs are not 1  Boolean Expression: A B  Truth Table  The NAND functions has traditionally been the universal gate in digital circuits. It is simple to implement in hardware and can be used to construct the other gates. ABC

NOR  NOR  Its output = 1, only if no inputs are not 1  Boolean Expression: A + B  Truth Table ABC

XOR  XOR is EXCLUSIVE-OR  Its output = 1 if the inputs are different and equal 0 if all are the same. Boolean Expression: A  B  Truth Table Equivalent to (AB) + (AB) = C A C B ABC

Summary  0s and 1s in Computer  Boolean Logic  NOT, AND, OR  Boolean Logic Laws  Truth Table  Gates  Basic Gates NOT, AND, OR  Other Gates NAND, NOR, XOR 22

What I want you to do  Review Chapter 1  Work on your assignment 1 23