Computer Architecture & Operations I

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

CT455: Computer Organization Logic gate
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 2 Logic Circuits.
Boolean Algebra and Logic Gate
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.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
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)
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Chapter 2: Fundamentals of Digital Electronics Dr Mohamed Menacer Taibah University
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.
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, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
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.
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,
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
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.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
CHAPTER 13 Digital Logic Circuits. Figure Voltage analog of internal combustion engine in-cylinder pressure Figure 13.1.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Digital Logic.
Morgan Kaufmann Publishers
Logic Gates & Boolean Algebra
Logic Gates and Boolean Algebra
Computer Architecture & Operations I
Digital Technology.
Homework Reading Machine Projects Labs
Logic Gates.
TN 221: DIGITAL ELECTRONICS 1
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Jeremy R. Johnson Wed. Sept. 29, 1999
Fundamentals & Ethics of Information Systems IS 201
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Schematics 201 Lecture Topic: Electrical Symbols
CS/COE0447 Computer Organization & Assembly Language
Number Systems Decimal (base 10) { }
Logic Gates.
CS Chapter 3 (3A and ) Part 3 of 8
Logic Gates.
Digital Logic.
13 Digital Logic Circuits.
CS Chapter 3 (3A and ) – Part 2 of 5
Digital Logic.
Logic Gates.
Combinational Circuits
Chapter 4 Gates and Circuits.
Truth tables Mrs. Palmer.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Computer Architecture & Operations I Instructor: Ryan Florin

Morgan Kaufmann Publishers April 18, 2018 0s and 1s Modern Computers are Digital 1 Corresponding to a high voltage Signal Asserted Logical True Corresponding to low voltage Deasserted False 0s and 1s are complimentary 0’s inverse is 1 1’s inverse is 0 Chapter 1 — Computer Abstractions and Technology

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

Binary Representation of Positive Integers 0 : 0000 0000 1 : 0000 0001 2 : 0000 0010 3 : 0000 0011 4 : 0000 0100 5 : 0000 0101 6 : 0000 0110 7 : 0000 1111 8 : 0000 1000 16: 0001 0000 32: 0010 0000 64: 0100 0000 128:1000 0000

Binary Representation of Positive Integers 100 100 = 64 + 32 + 4 0 1 1 0 0 1 0 0

Binary Representation of Positive Integers 45 45 = 32 + 8 + 4 + 1 0 0 1 0 1 1 0 1

Combinational Logic and Sequential 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

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

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

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

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

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

Truth Table Example from the book:

Answer

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

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

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

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

Simplification of NOT Gate

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

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

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. A B C 1

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

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 (A•B) + (A•B) = C A C B A B C 1

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

What I want you to do Review Chapter 1 Review Appendix B Finish assignment 1