CpE 442 Introduction To Computer Architecture Lecture 1

Similar documents
ECE 468 Computer Architecture and Organization Lecture 1

CPS104 Computer Organization Lecture 1

CPS104 Computer Organization Lecture 1. CPS104: Computer Organization. Meat of the Course. Robert Wagner

CISC 360. Computer Architecture. Seth Morecraft Course Web Site:

Computer Architecture

CpE 442 Introduction to Computer Architecture. The Role of Performance

CS152 Computer Architecture and Engineering Lecture 1. August 27, 1997 Dave Patterson (http.cs.berkeley.edu/~patterson)

CMSC 611: Advanced Computer Architecture

Math 230 Assembly Programming (AKA Computer Organization) Spring MIPS Intro

EEC170 Computer Architecture. Lecture 1: Introduction to Computer Architecture

14:332:331. Lecture 1

CS4200/5200. Lecture 1 Introduction. Dr. Xiaobo Zhou Department of Computer Science. UC. Colorado Springs. Compiler

Announcements HW1 is due on this Friday (Sept 12th) Appendix A is very helpful to HW1. Check out system calls

Administrative matters. EEL-4713C Computer Architecture Lecture 1. Overview. What is this class about?

EEM 486: Computer Architecture

ECE 486/586. Computer Architecture. Lecture # 7

What is "Computer Architecture" ECE 4680 Computer Architecture and Organization. Lecture 1: A Short Journey to the World of Computer Architecture

Math 230 Assembly Programming (AKA Computer Organization) Spring 2008

ECE 15B Computer Organization Spring 2011

CS3350B Computer Architecture

COMPUTER ORGANIZATION (CSE 2021)

COMPUTER ORGANIZATION (CSE 2021)

Computer Organization

CS 3410 Computer System Organization and Programming

Computer Architecture = Instruction Set Architecture + Machine Organization +.. Overview

CS 3410 Computer System Organization and Programming

CPE300: Digital System Architecture and Design. Fall 2011 MW 17:30-18:45 CBC C316

ECE232: Hardware Organization and Design

Introduction. Datapath Basics

Computer Architecture. Fall Dongkun Shin, SKKU

Instruction Set Architecture (ISA)

Lecture Topics. Announcements. Today: The MIPS ISA (P&H ) Next: continued. Milestone #1 (due 1/26) Milestone #2 (due 2/2)

Computer Architecture s Changing Definition

CISC 662 Graduate Computer Architecture. Lecture 4 - ISA MIPS ISA. In a CPU. (vonneumann) Processor Organization

Computer Architecture

CISC 662 Graduate Computer Architecture. Lecture 4 - ISA

MIPS Instruction Set Architecture (1)

Instruction Set Architecture. "Speaking with the computer"

What is Computer Architecture? CSE Introduction to Computer Architecture. Why do I care? Which is faster? Allan Snavely

CS61C Machine Structures. Lecture 13 - MIPS Instruction Representation I. 9/26/2007 John Wawrzynek. www-inst.eecs.berkeley.

CS61CL Machine Structures. Lec 5 Instruction Set Architecture

Computer Organization MIPS ISA

Chapter 1. Computer Abstractions and Technology. Lesson 3: Understanding Performance

Lecture 3 Machine Language. Instructions: Instruction Execution cycle. Speaking computer before voice recognition interfaces

CPE300: Digital System Architecture and Design

Control Instructions. Computer Organization Architectures for Embedded Computing. Thursday, 26 September Summary

Control Instructions

CS3350B Computer Architecture MIPS Introduction

Review: What is a Computer?

EECE 321: Computer Organization

Computer Architecture

Computer Hardware Generations

CS 3410: Intro to Computer System Organization and Programming

Forecast. Instructions (354 Review) Basics. Basics. Instruction set architecture (ISA) is its vocabulary. Instructions are the words of a computer

ECE468 Computer Organization and Architecture. OS s Responsibilities

CS61C : Machine Structures

CpE242 Computer Architecture and Engineering Designing a Single Cycle Datapath

Instructions: Language of the Computer

CS654 Advanced Computer Architecture. Lec 1 - Introduction

Chapter 2A Instructions: Language of the Computer

CSEE 3827: Fundamentals of Computer Systems

Lecture 4: MIPS Instruction Set

CS430 - Computer Architecture William J. Taffe Fall 2002 using slides from. CS61C - Machine Structures Dave Patterson Fall 2000

GRE Architecture Session

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2

CS/COE1541: Introduction to Computer Architecture

COMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 4. The Processor

Chapter 4. Instruction Execution. Introduction. CPU Overview. Multiplexers. Chapter 4 The Processor 1. The Processor.

Processor (I) - datapath & control. Hwansoo Han

COMPUTER ORGANIZATION AND DESIGN. 5 th Edition. The Hardware/Software Interface. Chapter 4. The Processor

Chapter 4. The Processor

CS 110 Computer Architecture Single-Cycle CPU Datapath & Control

Lecture 4: Instruction Set Architecture

CS3350B Computer Architecture Winter 2015

Chapter 4. The Processor. Computer Architecture and IC Design Lab

101 Assembly. ENGR 3410 Computer Architecture Mark L. Chang Fall 2009

CS3350B Computer Architecture MIPS Instruction Representation

COMPUTER ORGANIZATION AND DESIGN. The Hardware/Software Interface. Chapter 4. The Processor: A Based on P&H

ECE 4750 Computer Architecture, Fall 2014 T01 Single-Cycle Processors

Lecture Topics. Announcements. Today: Single-Cycle Processors (P&H ) Next: continued. Milestone #3 (due 2/9) Milestone #4 (due 2/23)

The Single Cycle Processor

ECE232: Hardware Organization and Design

CENG3420 Lecture 03 Review

CSE Introduction to Computer Architecture

CSE Introduction to Computer Architecture. Jeff Brown

The Processor: Datapath and Control. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

CS61C : Machine Structures

Computer Architecture = CS/ECE 552: Introduction to Computer Architecture. 552 In Context. Why Study Computer Architecture?

Processor. Han Wang CS3410, Spring 2012 Computer Science Cornell University. See P&H Chapter , 4.1 4

UC Berkeley CS61C : Machine Structures

Review of instruction set architectures

ECE331: Hardware Organization and Design

Today s topics. MIPS operations and operands. MIPS arithmetic. CS/COE1541: Introduction to Computer Architecture. A Review of MIPS ISA.

The Processor (1) Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

55:132/22C:160, HPCA Spring 2011

EE382 Processor Design. Class Objectives

Chapter 4. The Processor

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: MIPS Instruction Set Architecture

Review: Abstract Implementation View

Computer Architecture Today (I)

Transcription:

CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture slides provided with the course text book specified in the course syllabus The original slides were prepared by D. Patterson et al, UC Berkeley.

Overview of Today s Lecture Course Overview Levels of Representation Levels of Organization

Course Overview Computer Design Instruction Set Deign Machine Language Compiler View "Computer Architecture" "Instruction Set Processor" "Building Architect" Computer Hardware Design Machine Implementation Logic Designer's View "Processor Architecture" "Computer Organization Construction Engineer

Instruction Set Architecture... the attributes of a [computing] system as seen by the programmer, i.e. the conceptual structure and functional behavior, as distinct from the organization of the data flows and controls the logic design, and the physical implementation. Amdahl, and Brooks, 1964 -- Organization of Programmable Storage SOFTWARE -- Data Types & Data Structures: Encodings & Representations -- Instruction Formats -- Instruction (or Operation Code) Set -- Modes of Addressing and Accessing Data Items and Instructions -- Exceptional Conditions

Organization ISA Level Logic Designer's View FUs & Interconnect -- Capabilities & Performance Characteristics of Principal Functional Units (e.g., Registers, ALUs, Shifters, Logic Units, etc. -- Ways in which these components are interconnected -- nature of information flows between components -- logic and means by which such information flow is controlled. Choreography of FUs to realize the ISA Register Transfer Level Description

What is "Computer Architecture? A system concept integrating software, hardware, and firmware to specify the design of computing systems Co-ordination of levels of abstraction Application Compiler Instr. Set Proc. Operating System I/O system Instruction Set Architecture Digital Design Circuit Design Under a set of rapidly changing Forces

Forces on Computer Architecture Technology Programming Languages Applications Computer Architecture Operating Systems History

Overview of Today s Lecture Course Overview Levels of Representation Levels of Organization

Levels of Representation High Level Language Program Compiler Assembly Language Program Assembler Machine Language Program Machine Interpretation temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; lw $15, 0($2) lw $16, 4($2) sw $16, 0($2) sw $15, 4($2) 0000 1001 1100 0110 1010 1111 0101 1000 1010 1111 0101 1000 0000 1001 1100 0110 1100 0110 1010 1111 0101 1000 0000 1001 0101 1000 0000 1001 1100 0110 1010 1111 Control Signal Spec

MIPS R3000 Instruction Set Architecture Instruction Categories Load/Store Computational Jump and Branch Floating Point - coprocessor Memory Management Special R0 - R31 PC HI LO Instruction Format OP OP OP rs rt rd sa funct rs rt immediate target

Measurement and Evaluation Design Architecture is an iterative process -- searching the space of possible designs -- at all levels of computer systems Analysis Creativity Cost / Performance Analysis Bad Ideas Good Ideas Mediocre Ideas

Course Overview (cont) Computer Design Instruction Set Deign Machine Language Compiler View "Computer Architecture" "Instruction Set Processor" "Building Architect" Computer Hardware Design Machine Implementation\ Logic Designer's View "Processor Architecture" "Computer Organization" Construction Engineer Few people design computers! Very few design instruction sets! Many people design computer components. Very many people are concerned with computer functions, in detail.

So what's in it for you? In-depth understanding of the inner-workings of Computing Systems, their evolution, and trade-offs present at the hardware/software boundary. Insight into fast/slow operations that are easy/hard to implementation hardware Understanding of the design process in the context of a large complex Computing Systems design. Functional Spec --> Control & Datapath Design-- --> Physical implementation

Example Architecture: The SPARCstation 20 SPARCstation 20 Memory Controller Memory SIMMs Memory Bus MBus Disk MBu s MBu s Slot 1 Slot 0 Slot 1 Slot 0 Slot 3 Slot 2 Tape MSBI SEC MACIO SCSI Bus Keyboard & Mouse Floppy Disk External Bus

Overview of Today s Lecture Course Overview Levels of Representation Levels of Organization

Levels of Organization SPARCstation 20 Computer SPARC Processor Control Memory Devices Input Datapath Output

The Underlying Network SPARCstation 20 Memory Controller Memory Bus MSBI Processor Bus: MBus SEC Standard I/O Bus: Sun s High Speed I/O Bus: SCSI Bus MACIO Low Speed I/O Bus: External Bus

Processor and Caches SPARCstation 20 MBus MBus Module SuperSPARC Processor MBu s MBu s Slot 1 Slot 0 Registers Datapath Internal Cache Control External Cache

SIMM Slot 0 SIMM Slot 1 SIMM Slot 2 SIMM Slot 3 SIMM Slot 4 SIMM Slot 5 SIMM Slot 6 SIMM Slot 7 Memory SPARCstation 20 Memory Controller Memory Bus DRAM SIMM DRAM DRAM DRAM DRAM DRAM DRAM DRAM DRAM DRAM DRAM

Input and Output (I/O) Devices SCSI Bus: Standard I/O Devices SPARCstation 20 : High Speed I/O Devices External Bus: Low Speed I/O Device Disk Slot 1 Slot 3 Tape Slot 0 Slot 2 SEC MACIO SCSI Bus Keyboard & Mouse Floppy Disk External Bus

Standard I/O Devices SPARCstation 20 SCSI = Small Computer Systems Interface A standard interface (IBM, Apple, HP, Sun... etc.) Computers and I/O devices communicate with each other The hard disk is one I/O device resides on the SCSI Bus Disk Tape SCSI Bus

High Speed I/O Devices SPARCstation 20 is SUN s own high speed I/O bus SS20 has four slots where we can plug in I/O devices Example: graphics accelerator, video adaptor,... etc. High speed and low speed are relative terms Slot 1 Slot 3 Slot 0 Slot 2

Slow Speed I/O Devices SPARCstation 20 The are only four slots in SS20-- seats are expensive The speed of some I/O devices is limited by human reaction time--very very slow by computer standard Examples: Keyboard and mouse No reason to use up one of the expensive slot Keyboard & Mouse Floppy Disk External Bus

Computer Architecture Simulation Tools 1. The HASE Architecture Simulation Environment 2. The New Compiler Technology simulation (to beshown in class) 3. MIPS Assembly Language Simulators a. SPIM A MIPS32 Simulator http://pages.cs.wisc.edu/~larus/spim.html b. MARS (MIPS Assembler and Runtime Simulator) http://courses.missouristate.edu/kenvollmar/mars/

Summary All computers consist of five components Processor: (1) datapath and (2) control (3) Memory (4) Input devices and (5) Output devices Not all memory are created equally Cache: fast (expensive) memory are placed closer to the processor Main memory: less expensive memory--we can have more Input and output (I/O) devices has the messiest organization Wide range of speed: graphics vs. keyboard Wide range of requirements: speed, standard, cost... etc. Least amount of research (so far)