Académique Documents
Professionnel Documents
Culture Documents
Bhuyan
www.cs.ucr.edu/~bhuyan/cs162
1999 UCB
Instructor Information
Laxmi Narayan Bhuyan
1999 UCB
Course Syllabus
Advanced processor design: CPU pipelining, Datapath and Control Design, Data and Control Hazards: The topics will be covered from Chapter 6 of the text Instruction level parallelism, Dynamic scheduling of instructions, Branch Prediction and Speculation From reference book and papers VLIW, Multithreading, and Network processor architectures From papers Basic multiprocessor design: Shared memory and message passing; Network topologies. The topic will be covered from Chapter 9 of the text. Main Text: Patterson and Hennessy, Computer Organization and Design, Morgan Kaufman Publisher Reference: Hennessy and Patterson, Computer Architecture: A Quantitative Approach, Morgan Kaufman Publisher
Laboratory Assignments:
(1) Design of ILP-based processor using SimpleScalar (www.simplescalar.com) (2) Simulating Intel IXP 1200 network processor using SDK simulator (3) Performance measurement of IXP 1200-based router
1999 UCB
Course Details
Prerequisite: CS 161 with a grade C or better
1999 UCB
Review of CS 161
What is a von-Neumann computer? =>
The Stored Program Concept Sequential Execution of a program instructions in binary for storing in memory CISC, Examples
Input-Output
1999 UCB
MIPS ISA
1. all MIPS instructions are same length
simplifies fetch and decode (steps 1,2) Intel 80x86 and IBM 360/370 instructions are variable length, 1-17 bytes
Multicycle Design Small Cycle CPI < 5 Break the datapath to several stages, each taking one cycle. Frequency is increased and some instns
can finish earlier. Problems: Need extra registers to separate the stages and control must ensure that right control signals must be applied to right stage at the right time => complex control design, but still manageable in hardware.
1999 UCB
PC
Registers
ALU
Stage 2
Stage 3
Reg
DM
Reg
1999 UCB
Program Flow
To simplify pipeline, every instruction takes same number of steps, called stages
9
1999 UCB
I n IM DM Reg Reg s Load IM DM Reg Reg t Add r. IM DM Reg Reg Store O IM DM Reg Reg Sub r IM DM Reg Reg d Or e r (right half highlighted means read, left half write)
ALU ALU ALU ALU ALU
10 1999 UCB
ALU
Reg
IM
DM
Reg
2
3
ALU
IM
time
2 4 6 8 10 12 14 16 18 20
IM
Reg
DM
Reg
IM
Reg
DM
Reg
3
11
IM
Reg
DM
Reg
1999 UCB
Reg
ALU
ALU
ALU
Program Flow
ILP = 2
Program Flow
EX: Itanium
14
1999 UCB