COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.

Slides:



Advertisements
Similar presentations
1 CS/COE0447 Computer Organization & Assembly Language Logic Design.
Advertisements

Computer Organization Boolean Logic and the CPU i206 Fall 2010 John Chuang Some slides adapted from Marti Hearst, Brian Hayes, or Glenn Brookshear.
Computer ArchitectureFall 2007 © September 10, CS-447– Computer Architecture M,W 2:30-3:50pm Lecture 8.
1 Lecture 4: Arithmetic for Computers (Part 3) CS 447 Jason Bakos.
1 Lecture 11: Digital Design Today’s topics:  Evaluating a system  Intro to boolean functions.
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic Part 4.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
1  1998 Morgan Kaufmann Publishers Chapter Four Arithmetic for Computers.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
+ CS 325: CS Hardware and Software Organization and Architecture Exam 1: Study Guide.
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
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.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
CS 1308 – Computer Literacy and the Internet. It’s Not Magic  The goal of the next series of lectures is to show you exactly how a computer works. 
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 3 Digital Logic Structures Transistors Logic gates & Boolean logic Combinational.
CSI-2111 Computer Architecture Ipage Revision  Objective : To examine basic concepts of: –2.1 Numbering Systems –2.2 Binary Numbers –2.3 Boolean.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
07/19/2005 Arithmetic / Logic Unit – ALU Design Presentation F CSE : Introduction to Computer Architecture Slides by Gojko Babić.
مدار منطقي مظفر بگ محمدي Course Structure & Grading Homework: 25% Midterm: 30% Final:50% There is 5% extra! ( =105!) Textbook:
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /19/2013 Lecture 7: 32-bit ALU, Fast Carry Lookahead Instructor: Ashraf Yaseen DEPARTMENT OF MATH &
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Computing Systems Designing a basic ALU.
CDA 3101 Fall 2013 Introduction to Computer Organization The Arithmetic Logic Unit (ALU) and MIPS ALU Support 20 September 2013.
Lecture 18: Hardware for Arithmetic Today’s topic –Intro to Boolean functions (Continued) –Designing an ALU 1.
CS 1308 – Computer Literacy and the Internet Building the CPU.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patternson and Hennessy Text.
CPS3340 Computer Architecture Fall Semester, 2013
CS/COE0447 Computer Organization & Assembly Language
Logic Design / Processor and Control Units Tony Diep.
1  2004 Morgan Kaufmann Publishers Performance is specific to a particular program/s –Total execution time is a consistent summary of performance For.
Appendix C Basics of Digital Logic Part I. Florida A & M University - Department of Computer and Information Sciences Modern Computer Digital electronics.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
1  2004 Morgan Kaufmann Publishers Lets Build a Processor Almost ready to move into chapter 5 and start building a processor First, let’s review Boolean.
CS 3843 Computer Organization Prof. Qi Tian Fall 2013
LECTURE 4 Logic Design. LOGIC DESIGN We already know that the language of the machine is binary – that is, sequences of 1’s and 0’s. But why is this?
Gates AND, OR, NOT NAND, NOR Combinational logic No memory A set of inputs uniquely and unambiguously specifies.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
ELECTRICAL ENGINEERING: PRINCIPLES AND APPLICATIONS, Third Edition, by Allan R. Hambley, ©2005 Pearson Education, Inc. Chapter 7 Logic Circuits.
1 CPTR 220 Computer Organization Computer Architecture Assembly Programming.
1 CS/COE0447 Computer Organization & Assembly Language Logic Design Appendix C.
Appendix C Basics of Logic Design. Appendix C — Logic Basic — 2 Logic Design Basics §4.2 Logic Design Conventions Objective: To understand how to build.
Computer Architecture & Operations I
Computer Architecture & Operations I
Computer Architecture & Operations I
Computer Architecture & Operations I
CHAPTER 9 COMPUTER ARITHMETIC - ALU
Computer Organisation
Lecture 11: Hardware for Arithmetic
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Computer Architecture & Operations I
Computer Architecture & Operations I
Computer Architecture & Operations I
Morgan Kaufmann Publishers
Digital Logic Last Time … This Time … Control Path, Arithmetic Ops a
University of Gujrat Department of Computer Science
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Instructors: Randy H. Katz David A. Patterson
5. Combinational circuits
CS/COE0447 Computer Organization & Assembly Language
Enemies make you stronger, allies make you weaker. Frank Herbert
For OCR GCSE Computing Unit 1 - Theory
CSE378 Midterm Review Moore’s Law -- What are the two versions?
Lecture 11: Hardware for Arithmetic
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Binary Numbers.
COMS 361 Computer Organization
Overview Fractions & Sign Extension Floating Point Representations
Presentation transcript:

COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li

Review Last Class MIPS Instructions This Class Midterm Review Next Class Midterm

Important CS Laws Moore’s Law Amdahl’s Law

Measuring Performance Performance and Execution Time Relative Performance (speedup) CPI and CPU time

Performance Summary Performance depends on Algorithm: affects IC, possibly CPI Programming language: affects IC, CPI Compiler: affects IC, CPI Instruction set architecture: affects IC, CPI, T c The BIG Picture

Numbers in Computers 0s and 1s Bits, Bytes, Words Most Significant Bit and Least Significant Bit Big Endian and Little Endian Conversion Decimal -> Binary Binary -> Decimal Binary -> Hexadecimal Hexadecimal -> Binary

Arithmetic Unsigned Integers Signed Integers Sign bit 1’s Complement 2’s Complement Addition and Subtraction Subtraction is actually Addition if 2’s complement is used

Basic Boolean Logic NOT, AND, OR Precedence () NOT AND OR Truth Table Build a Truth Table Build Canonical Form based on a Truth Table Don’t Care

Boolean Logic Laws Identity Law Zero and One Law Inverse Law Commutative Law Associative Law Distributive Law De Morgan’s Law

Gates NOT, AND, OR Gates Design Combinational Logics using NOT, AND, OR Gates Other Gates NAND NOR XOR

Important Units Decoder Multiplexor PLA and ROM Adder

ALU Functions in ALU AND OR ADD and SUB Set on Less Than NOR 32-bit ALU Overflow Detection ALU Control Signals Fast Carry Look-ahead

Memory Elements Computer Clock Synchronous System Flip-Flops Latches

Register Files Registers Register Files Read Write

CPU Overview

Summary Computer Performance CPI CPU Time Numbers in the Computer Boolean Logic Gates ALU Register Files

What I want you to do Prepare for your Midterm