Download Computer Architecture - Computer Organization - Lecture Slides and more Slides Computer Science in PDF only on Docsity!
Computer Organization
Lecture 1
Course Introduction
and the
Five Components of a Computer
Lecture Overview
Intro to Computer Architecture (30 minutes)
Administrative Matters (5 minutes)
Course Style, Philosophy and Structure (15 min)
Break (5 min)
Organization and Anatomy of a Computer (25 min)
Instruction Set Architecture
(subset of Computer 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
SOFTWARE
- Organization of Programmable Storage
- Data Types & Data Structures: Encodings & Representations
- Instruction Set
- Instruction Formats
- Modes of Addressing and Accessing Data Items and Instructions
- Exceptional Conditions
Computer Architecture’s Changing Definition
1950s to 1960s Computer Architecture Course
1970s to mid 1980s Computer Architecture Course
- Instruction Set Design, especially ISA appropriate for compilers
1990s Computer Architecture Course
- Design of CPU, memory system, I/O system, Multi- processors, Networks
2000s Computer Architecture Course:
- Special purpose architectures, Functionally reconfigurable, Special considerations for low power/mobile processing
Example ISAs (Instruction Set Architectures)
Digital Alpha (v1, v3) 1992-
HP PA-RISC (v1.1, v2.0) 1986-
Sun Sparc (v8, v9) 1987-
SGI MIPS (MIPS I, II, III, IV, V) 1986-
Intel (8086,80286,80386, 1978-
80486,Pentium, MMX, ...)
Itanium/I64 2002-
MIPS R3000 Instruction Set Architecture
(Summary)
Instruction Categories
- Load/Store
- Computational
- Jump and Branch
- Floating Point
- Memory Management
- Special
R0 - R
PC HI LO
OP
OP
OP
rs (^) rt rd sa funct
rs (^) rt (^) immediate
jump target
3 Instruction Formats: all 32 bits wide
Registers
Q: How many already familiar with MIPS ISA?
The Big Picture
Since 1946 all computers have had 5 components
Control
Datapath
Memory
Processor Input
Output
Example Organization
TI SuperSPARC tm^ TMS390Z50 in Sun SPARCstation
Floating-point Unit
Integer Unit
Inst Cache
Ref MMU
Data Cache
Store Buffer
Bus Interface
SuperSPARC
L $
CC
MBus Module
MBus
L64852 MBus control M-S Adapter SBus
DRAM Controller
SBus DMA
SCSI Ethernet
STDIO serial kbd mouse audio RTC Boot PROM Floppy
SBus Cards
Forces on Computer Architecture
Computer Architecture
Technology Programming
Languages
Operating Systems History
Applications
Cleverness
i
i
i
Pentium i
i SU MIPS
R
R
R
1000
10000
100000
1000000
10000000
100000000
1965 1970 1975 1980 1985 1990 1995 2000 2005
Transistors i80x86 M68K MIPS Alpha
Technology
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 to single-chip computers (maybe 2 chips)
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
uP-Name
DRAM chip capacity Microprocessor Logic Density
Performance Trends
Microprocessors
Minicomputers
Mainframes
Supercomputers
1995
Year 1970 1975 1980 1985 1990
Log of Performance
Applications and Languages
CAD, CAM, CAE,...
Lotus, DOS,...
Multimedia,...
The Web,...
JAVA,...
The Net => ubiquitous computing
CS 152: So What's In It For Me?
In-depth understanding of the inner-workings 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
- Out-of-order execution and branch prediction
Experience with the design process in the context of
a large complex (hardware) design.
- Functional Spec --> Control & Datapath --> Physical implementation
- Modern CAD tools
Designer's "Conceptual" toolbox
Conceptual Tool Box?
Evaluation Techniques
Levels of translation (e.g., Compilation)
Levels of Interpretation (e.g., Microprogramming)
Hierarchy (e.g, registers, cache, mem, disk,tape)
Pipelining and Parallelism
Static / Dynamic Scheduling
Indirection and Address Translation
Synchronous and Asynchronous Control Transfer
Timing, Clocking, and Latching
CAD Programs, Hardware Description Languages, Simulation
Physical Building Blocks (e.g., CLA)
Understanding Technology Trends