CS 3410: Computer System Organization and Programming

Similar documents
CS 3410: Intro to Computer System Organization and Programming

Prof. Hakim Weatherspoon CS 3410, Spring 2015 Computer Science Cornell University

Prof. Kavita Bala and Prof. Hakim Weatherspoon CS 3410, Spring 2014 Computer Science Cornell University

CS Computer Architecture Spring Lecture 01: Introduction

CMPSCI 201: Architecture and Assembly Language

CS 3410: Computer System Organization and Programming. Hakim Weatherspoon Spring 2012 Computer Science Cornell University

RISC, CISC, and ISA Variations

Hakim Weatherspoon CS 3410 Computer Science Cornell University

Fundamentals of Computer Design

CS 3410: Computer System Organization and Programming. Hakim Weatherspoon Spring 2012 Computer Science Cornell University

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

CS 3410 Computer System Organization and Programming

EEM 486: Computer Architecture

CS 3410 Computer System Organization and Programming

What does the Future Hold? Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University

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

What Next? Kevin Walsh CS 3410, Spring 2010 Computer Science Cornell University. * slides thanks to Kavita Bala & many others

Computer Organization CS 206T

Computers in Engineering COMP 208. A Brief History. Mechanical Calculators. A Historic Perspective Michael A. Hawker

Computers in Engineering COMP 208

Computer System architectures

CHAPTER 1 Introduction

ECE 468 Computer Architecture and Organization Lecture 1

Prof. Hakim Weatherspoon CS 3410, Spring 2015 Computer Science Cornell University. See P&H Appendix , and 2.21

CHAPTER 1 Introduction

CS 316: Multicore/GPUs

ENIAC - background. ENIAC - details. Structure of von Nuemann machine. von Neumann/Turing Computer Architecture

What is This Course About? CS 356 Unit 0. Today's Digital Environment. Why is System Knowledge Important?

Introduction. Summary. Why computer architecture? Technology trends Cost issues

Anne Bracy CS 3410 Computer Science Cornell University. See P&H Chapter: , , Appendix B

Multicore and Parallel Processing

Computer & Microprocessor Architecture HCA103

Microelettronica. J. M. Rabaey, "Digital integrated circuits: a design perspective" EE141 Microelettronica

HISTORY OF CALCULATION. Evolution of Computation

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

A little bit of history. Jordi Cortadella Department of Computer Science

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

An Incomplete History of Computation

Chapter 2. Perkembangan Komputer

2. Computer Evolution and Performance

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 2 Computer Evolution and Performance

Evolution of the Computer

Computer Architecture is...??? CSE 240A -- Principles of Computer Architecture. Computer Architecture is...??? Computer Architecture is...???

Mechanization. A little bit of history. Mechanization. The old dream of mechanical computing. Jordi Cortadella Department of Computer Science

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

Computer Architecture

HISTORY OF COMPUTERS HISTORY OF COMPUTERS. Mesleki İngilizce - Technical English. Punch Card. Digital Data. II Prof. Dr. Nizamettin AYDIN.

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

Computer Architecture

CpE 442 Introduction to Computer Architecture. The Role of Performance

CIT 668: System Architecture

Figure 1-1. A multilevel machine.

Computer Architecture!

CS 3410: Computer System Organization and Programming. Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University

COMS 1003 Fall Introduction to Computer Programming in C. History & Computer Organization. September 15 th

Computer Evolution. Budditha Hettige. Department of Computer Science

EITF20: Computer Architecture Part1.1.1: Introduction

A (BRIEF) HISTORY OF COMPUTING. By Dane Paschal

Computer Evolution. Computer Generation. The Zero Generation (3) Charles Babbage. First Generation- Time Line

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

CSE : Introduction to Computer Architecture

CS 1 Notes 1 - Early Computing and 2 - Electronic Computing

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

COMPUTER ORGANIZATION (CSE 2021)

History of Computing. Slides from NYU and Georgia Tech

INTRODUCTION & INSTRUCTIONS

Elettronica T moduli I e II

CMPEN 411 VLSI Digital Circuits. Lecture 01: Introduction

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

CS61C Machine Structures. Lecture 1 Introduction. 8/25/2003 Brian Harvey. John Wawrzynek (Warznek) www-inst.eecs.berkeley.

CS 31: Intro to Systems ISAs and Assembly. Martin Gagné Swarthmore College February 7, 2017

Computer Systems Architecture

CS 152 Computer Architecture and Engineering Lecture 1 Single Cycle Design

Introduction to Computer Science. What is Computer Science?

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

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

COMPUTER ORGANIZATION (CSE 2021)

Prof. Hakim Weatherspoon CS 3410, Spring 2015 Computer Science Cornell University. P & H Chapter 4.10, 1.7, 1.8, 5.10, 6

HW Trends and Architectures

CS 152, Spring 2011 Section 8

CSSE232 Computer Architecture. Introduc5on

EE382 Processor Design. Class Objectives

Computer Organization. 8 th Edition. Chapter 2 p Computer Evolution and Performance

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

Computer Architecture


Outline Marquette University

Thomas Polzer Institut für Technische Informatik

Multiple Issue ILP Processors. Summary of discussions

Chronological History of the Pre-Computer Developments

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

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

Computer Systems. Hardware, Software and Layers of Abstraction

CS 61C: Great Ideas in Computer Architecture RISC-V Instruction Formats

9/14/17. Levels of Representation/Interpretation. Big Idea: Stored-Program Computer

Lecture 4: Instruction Set Architecture

Performance COE 403. Computer Architecture Prof. Muhamed Mudawar. Computer Engineering Department King Fahd University of Petroleum and Minerals

Computer Architecture

Computer Architecture is...??? CSE Principles of Computer Architecture. Computer Architecture is...??? Computer Architecture is...???

CpE 442 Introduction To Computer Architecture Lecture 1

Transcription:

CS 3410: Computer System Organization and Programming Anne Bracy Computer Science Cornell University The slides are the product of many rounds of teaching CS 3410 by Professors Weatherspoon, Bala, Bracy, and Sirer.

The Analytical Engine Designed by Charles Babbage from 1834 1871 Considered to be the first digital computer Built from mechanical gears, where each gear represented a discrete value (0-9) Babbage died before it was finished http://history-computer.com http://wikimedia.com 2

Turing Machine 1936 Alan Turing = abstract model for CPU that can simulate any algorithm 3

Enigma machine Used by the Germans during World War II to encrypt and exchange secret messages The Bombe used by the Allies to break the German Enigma machine during World War II 4

ENIAC Electronic Numerical Integrator And Computer 1946 John Mauchly J. Presper Eckert 5

Who are you? Sometimes it is the people that no one imagines anything of who do the things that no one can imagine. Alan Turing Turing Award Winners? Eckert Mauchly Award Winners? 6

Course Objective Understand the HW / SW interface software How a processor works How a computer is organized Establish a foundation for building applications How to write a good program Good = correct, fast, and secure How to understand where the world is going Understand technology (past, present, future) 7

#include <stdio.h> What is this? int main() { printf("hello world!\n"); return 0; } How does it work? I m glad you asked 15 weeks later and you ll know! I know Kung Fu. 8

Compilers & Assemblers C compiler MIPS assembly language int x = 10; x = 2 * x + 15; addi r5, r0, 10 muli r5, r5, 2 addi r5, r5, 15 r0 = 0 r5 = r0 + 10 r5 = r5 * 2 r5 = r5 + 15 assembler MIPS machine language op = addi r0 r5 10 00100000000001010000000000001010 00000000000001010010100001000000 00100000101001010000000000001111 op = addi r5 r5 15 Everything is a number! 9

How to Design a Simple Processor 0 32 memory 2 00 inst 32 register file r5 r0 5 5 5 10 alu 10 pc new pc calculation control 00: addi r5, r0, 10 04: muli r5, r5, 2 08: addi r5, r5, 15 10

Instruction Set Architecture (ISA) abstract interface between hardware and the lowest level software user portion of the instruction set plus the operating system interfaces used by application programmers 11

Overview Application Operating System Memory system Compiler Instr. Set Proc. Digital Design Circuit Design Firmware Datapath & Control I/O system Instruction Set Architecture 12

Covered in this course Application Operating System Memory system Compiler CPU Firmware I/O system Instruction Set Architecture Datapath & Control Digital Design Circuit Design 13

Where did it begin? Electrical Switch On/Off Binary Transistor The first transistor on a workbench at AT&T Bell Labs in 1947 Transistors 14

Moore s Law 1965 # of transistors integrated on a die doubles every 18-24 months (i.e., grows exponentially with time) Amazingly visionary 2300 transistors, 1 MHz clock (Intel 4004) - 1971 16 Million transistors (Ultra Sparc III) 42 Million transistors, 2 GHz clock (Intel Xeon) 2001 55 Million transistors, 3 GHz, 130nm technology, 250mm 2 die (Intel Pentium 4) 2004 290+ Million transistors, 3 GHz (Intel Core 2 Duo) 2007 721 Million transistors, 2 GHz (Nehalem) - 2009 1.4 Billion transistors, 3.4 GHz Intel Haswell (Quad core) 2013 15

16

Processor Performance Increase Intel Pentium 4/3000 Intel Xeon/2000 DEC Alpha 21264A/667 DEC Alpha 21264/600 DEC Alpha 5/500 DEC Alpha 5/300 DEC Alpha 4/266IBM POWER 100 DEC AXP/500HP 9000/750 SUN-4/260 MIPS M/120 IBM RS6000 MIPS M2000 17

Then and Now The first transistor One workbench at AT&T Bell Labs 1947 Bardeen, Brattain, and Shockley http://techguru3d.com/4th-gen-intel-haswell-processors-architecture-and-lineup/ Intel Haswell 1.4 billion transistors 177 square millimeters Four processing cores What are we doing with all these transistors? 18

Computer System Organization 19

Why take this course? Reflect Basic knowledge needed for all other areas of CS: operating systems, compilers,... Levels are not independent hardware design software design performance Crossing boundaries is hard but important device drivers Good design techniques abstraction, layering, pipelining, parallel vs. serial,... Understand where the world is going The Mysteries of Computing will be revealed! 20