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

Similar documents
ECE 468 Computer Architecture and Organization Lecture 1

CpE 442 Introduction To Computer Architecture Lecture 1

CPS104 Computer Organization Lecture 1

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

Computer Architecture

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

CSE Introduction to Computer Architecture. Jeff Brown

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

EEC170 Computer Architecture. Lecture 1: Introduction to Computer Architecture

Computer Architecture s Changing Definition

CMSC 611: Advanced Computer Architecture

Reduced Instruction Set Computer

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

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

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

CSE Introduction to Computer Architecture

Computer Architecture. Fall Dongkun Shin, SKKU

CPE300: Digital System Architecture and Design

ECE232: Hardware Organization and Design

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

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading

Computer Architecture

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

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

Figure 1-1. A multilevel machine.

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model

CSE : Introduction to Computer Architecture

Instruction Set Architectures. CS301 Prof. Szajda

Chapter 1 Introduction. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Computer Technology & Abstraction

ELEC 5200/6200. Computer Architecture & Design. Victor P. Nelson Broun 326

Computer Organization

Computers Are Your Future

Course Outline. Introduction. Intro Computer Organization. Computer Science Dept Va Tech January McQuain & Ribbens

Modern Computer Architecture (Processor Design) Prof. Dan Connors

Review: What is a Computer?

CSEE 3827: Fundamentals of Computer Systems

Lecture 01: Basic Structure of Computers

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from David Culler, UC Berkeley CS252, Spr 2002

ECE232: Hardware Organization and Design

Architectural Support for Operating Systems

Chapter 2. OS Overview

Computer Organization and Design THE HARDWARE/SOFTWARE INTERFACE

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Computer System Overview

Chapter 5:: Target Machine Architecture (cont.)

Computer Architecture Dr. Charles Kim Howard University

RISC Processors and Parallel Processing. Section and 3.3.6

Chapter 7. Microarchitecture. Copyright 2013 Elsevier Inc. All rights reserved.

מבנה מחשבים Amar Lior Based on lectures notes from Arie Schlesinger

14:332:331. Lecture 1

ECE468 Computer Organization and Architecture. OS s Responsibilities

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng

Computer Architecture. Introduction. Lynn Choi Korea University

EEM 486: Computer Architecture

TK2123: COMPUTER ORGANISATION & ARCHITECTURE. CPU and Memory (2)

Introduction to Microprocessor

CPE/EE 421 Microcomputers

Microprocessors and Microcontrollers. Assignment 1:

Microprocessor Architecture Dr. Charles Kim Howard University

Chapter 2: Computer-System Structures. Hmm this looks like a Computer System?

Uniprocessor Computer Architecture Example: Cray T3E

The Von Neumann Computer Model

Overview of Computer Organization. Chapter 1 S. Dandamudi

New Advances in Micro-Processors and computer architectures

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

Alex Milenkovich 1. CPE/EE 421 Microcomputers. CPE/EE 421 Microcomputers U A H U A H U A H. Instructor: Dr Aleksandar Milenkovic Lecture Notes S01

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

Chapter 13 Reduced Instruction Set Computers

Overview of Computer Organization. Outline

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

Handouts. (CSC-3501) Lecture 1 (15 Jan 2008) Seung-Jong Park (Jay) Class information. Schedule (check online frequently)

Computer Architecture

Computer Hardware Generations

Unit 2. Chapter 4 Cache Memory

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 1: Introduction

Summer 2003 Lecture 1 06/09/03

GRE Architecture Session

Chapter 2: Instructions How we talk to the computer

Review of instruction set architectures

Alex Milenkovich 1 CPE 323. CPE 323 Introduction to Embedded Computer Systems: Introduction. Instructor: Dr Aleksandar Milenkovic Lecture Notes

The Central Processing Unit

PC I/O. May 7, Howard Huang 1

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

William Stallings Computer Organization and Architecture 8th Edition. Cache Memory

Computer Architecture

EECE 321: Computer Organization

CS Computer Architecture

Computer Organization and Design, 5th Edition: The Hardware/Software Interface

CISC / RISC. Complex / Reduced Instruction Set Computers

CpE 442 Introduction to Computer Architecture. The Role of Performance

Instruction Set Architecture. "Speaking with the computer"

Lecture 4: RISC Computers

Assembly Language for Intel-Based Computers, 4 th Edition. Chapter 2: IA-32 Processor Architecture. Chapter Overview.

IA-32 Architecture COE 205. Computer Organization and Assembly Language. Computer Engineering Department

EITF20: Computer Architecture Part2.1.1: Instruction Set Architecture

Typical Processor Execution Cycle

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

Virtual Machines and Dynamic Translation: Implementing ISAs in Software

Uniprocessors. HPC Fall 2012 Prof. Robert van Engelen

Transcription:

CISC 360 Computer Architecture Seth Morecraft (morecraf@udel.edu) Course Web Site: http://www.eecis.udel.edu/~morecraf/cisc360

Overview Intro to Computer Architecture About the Course Organization and Anatomy of a Computer

What you should already know Read and write in an assembly language (CISC 260) Programming (more on this later) Basic logic design

What is Computer Architecture Computer Architecture = Instruction Set Architecture + Machine Organization

The Instruction Set: a Critical Interface software hardware

Example ISAs (Instruction Set Architectures) 6502 1970-80s Digital Alpha (v1, v3) 1992-97 HP PA-RISC (v1.1, v2.0) 1986-96 Sun Sparc (v8, v9) 1987-95 SGI MIPS (MIPS I, II, III, IV, V) 1986-96 Intel (8086,80286,80386, 80486,Pentium, MMX,...) 1978-?

What is Computer Architecture? Application Operating System Compiler Instr. Set Proc. Firmware I/O system Instruction Set Architecture Datapath & Control Digital Design Circuit Design Layout Coordination of many levels of abstraction (mainly within the oval; NOTE: Arithmetic ckts fall into both architecture and digital design). Under a rapidly changing set of forces Design, Measurement, and Evaluation

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

Technology DRAM chip capacity DRAM Year Size 1980 64 Kb 1983 256 Kb 1986 1 Mb 1989 4 Mb 1992 16 Mb 1996 64 Mb 1999 256 Mb 2002 1 Gb In ~1985 the single-chip processor (32-bit) and the single-board computer emerged => workstations, personal computers, multiprocessors have been riding this wave since In the 2002+ timeframe, these may well look like mainframes compared single-chip computer (maybe 2 chips)

Technology and dramatic change Processor logic capacity: about 30% per year clock rate: about 20% per year So advanced functions (e.g., multimedia functions in some Pentiums) and high-speed features (multiple pipelines, larger caches) Memory DRAM capacity: about 60% per year (4x every 3 years) Memory speed: about 10% per year Cost per bit: improves about 25% per year So larger memory => more challenging applications (e.g., atmospheric modeling, astrophysics modeling) Disk capacity: about 60% per year So huge disk capacities => large data storage (video, music files, large data for various applications)

Log of Performance Performance Trends Supercomputers Mainframes Minicomputers Microprocessors 1970 1975 1980 1985 1990 1995 Year

Processor Performance (SPEC) performance now improves 50% per year (2x every 1.5 years) 300 250 200 RISC 150 100 50 RISC introduction Intel x86 35%/yr 0 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 Year Did RISC win the technology battle and lose the market war?

Why discuss Computer Architecture? CHANGE It s exciting! It has never been more exciting! It impacts every other aspect of electrical engineering and computer science Perhaps it impacts every other science and business application

CISC 360 Course Content Computer Architecture -Instruction Set -Computer Organization -Hardware Components (Basic & Adv.) -Hierarchy of Components -Interfaces bet. Components -Data and Control Flow -Logic Designer s View (FSM, Arithmetic Ckts, Impl.) Building Architect & Construction Engineer

CISC 360 Course Content In-depth understanding of the innerworkings of modern computers, their evolution, and trade-offs present at the hardware/software boundary. Insight into fast/slow operations that are easy/hard to implementation hardware Most importantly, how we as programmers can use this knowledge to create better software.

CISC 360 Course Goals Show you how to understand modern computer architecture in its rapidly changing form. Show you how to design by leading you through the process on challenging design problems (through your own software) Show you how and why (rationale) of designs--v. important Hopefully, be able to guide you to think about and analyze designs and alternatives so... ask questions go back and fully understand past lectures be prepared for the next lecture...

CISC 360 Course Work 1 - Computer Architecture Basics 2 - Advanced Memory & Cache 3 - Pipeline & Multiprocessors Finally - presentation on your simulator.

CISC 360 Course Work Mid-Term and Final Course-Long Project Let us discuss

Sample Organization and Anatomy of a Computer

Levels of Representation High Level Language Program Compiler Assembly Language Program Assembler Machine Language Program 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 Machine Interpretation Control Signal Specification ALUOP[0:3] <= InstReg[9:11] & MASK

Sample Levels of Organization Workstation Design Target: 25% of cost on Processor 25% of cost on Memory (minimum memory size) Rest on I/O devices, power supplies, box Computer Processor Control Datapath Memory Devices Input Output

Execution Cycle Instruction Fetch Instruction Decode Operand Fetch Execute Obtain instruction from program storage Determine required actions and instruction size Locate and obtain operand data Compute result value or status Result Store Next Instruction Deposit results in storage for later use Determine successor instruction; can generally be combined w/ Decode

Processor and Caches Memory Bus MBus Processor MB Slot 1 Registers Datapath MB Slot 0 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 Memory Controller Memory SIMM Bus DRAM SIMM DRAM DRAM DRAM DRAM DRAM DRAM DRAM DRAM DRAM DRAM

Standard I/O Devices 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 SBus is SUN s own high speed I/O bus SS20 has four SBus slots where we can plug in I/O devices Example: graphics accelerator, video adaptor,... etc. High speed and low speed are relative terms SBus Slot 1 SBus Slot 3 SBus Slot 0 SBus Slot 2 SBus

Slow Speed I/O Devices The are only four SBus 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 SBus slot Keyboard & Mouse Floppy Disk External Bus