august 27 books? email? accounts?. what does a computer look like? tape drives? big box with lots of...

18
August 27 • Books? • Email? • Accounts?

Upload: jasper-walter-york

Post on 19-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

August 27

• Books?

• Email?

• Accounts?

Page 2: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

What does a computer look like?

• Tape drives?

• Big box with lots of lights?

• Display with huge letters?

• Little box with no lights?

• Lump in the cable?

Page 3: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

5 Classic Computer Components

Page 4: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Display

Page 5: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Mouse

Page 6: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Inside the case

b. Processor

c. PCI slots

e. Memory slots

Page 7: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Motherboard

Page 8: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Memory

•RAM

•DRAM

•SRAM

•ROM

•Volatile / Non-Volatile

•Magnetic

Page 9: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Pentium III Xeon

Processor

Page 10: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

You only need switches and wires!

•Relays

•Vacuum tubes

•Transistors

•Integrated Circuits

•VLSI

•Nanotubes?

•Quantum Effect Devices?

Control

In

Out

Page 11: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Hard Drive

Page 12: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Improving Technology

Page 13: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Performance Increase

HP 9000/750

SUN-4/260

MIPS M2000

MIPS M/120

IBMRS6000

100

200

300

400

500

600

700

800

900

1100

DEC Alpha 5/500

DEC Alpha 21264/600

DEC Alpha 5/300

DEC Alpha 4/266

DEC AXP/500IBM POWER 100

Year

Per

form

ance

0

1000

1200

19971996199519941993199219911990198919881987

Page 14: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Performance Trends

Page 15: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Abstraction: C to ASMSwap(int v[], int k) { int temp; temp = v[k]; v[k] = v[k+1]; v[k+1] = temp;}

Swap:muli $2, $5, 4add $2, $4, $2lw $15, 0($2)lw $16, 4($2)sw $16, 0($2)sw $15, 4($2)jr $31

C compiler

Assembly

Page 16: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Abstraction: ASM to Binary

Swap:muli $2, $5, 4add $2, $4, $2lw $15, 0($2)lw $16, 4($2)sw $16, 0($2)sw $15, 4($2)jr $31

00000000101000010000000000011000 00000000100011100001100000100001 10001100011000100000000000000000 10001100111100100000000000000100 10101100111100100000000000000000 10101100011000100000000000000100

00000011111000000000000000001000

Assembler

Assembly

Binary

Page 17: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

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, Blaaw, and Brooks, 1964

• interface between hardware and low-level software• standardizes instructions, machine language bit patterns, etc.• advantage: different implementations of the same architecture• disadvantage: sometimes prevents using new innovations

Modern instruction set architectures:

– 80x86/Pentium/K6, PowerPC, DEC Alpha, MIPS, SPARC, HP

Page 18: August 27 Books? Email? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with

Where we are headed• Overview of C• Performance issues (Chapter 2) vocabulary and

motivation• A specific instruction set architecture (Chapter 3)

Why MIPS? Why not Intel?• Arithmetic and how to build an ALU (Chapter 4)• Pipelining to improve performance (Chapter 6)

brieflyMemory: caches and virtual memory (Chapter 7)

• Key to a good grade: reading the book!