Lec 2
Lec 2
Load/
35 or 43 rs rt address
Store
31:26 25:21 20:16 15:0
Branch 4 rs rt address
31:26 25:21 20:16 15:0
R-type
0 rs rt rd shamt funct
31:26 25:21 20:16 15:11 10:6 Chapter 4 — The Processor — 3
5:0
Datapath With Control
load/store
35 or 43 rs rt address
31:26 25:21 20:16 15:0 Chapter 4 — The Processor — 4
Datapath With Control
branch
4 rs rt address
31:26 25:21 20:16 15:0 Chapter 4 — The Processor — 5
Control Line Settings
• 8 control lines (control read/write and
multiplexors)
10
00
00
01
the best practice is if we deal with memory don't use don't care
6
Systems Architecture Lec 15
R-Type Instruction
Lec 15 16
Systems Architecture
Pipelining Analogy
■ Pipelined laundry: overlapping execution
■ Parallelism improves performance
■ Four loads:
■ Speedup
= 16/7 = 2.3
■ Non-stop loads: # loads=n,
n🡪 ∞
■ Speedup
= 4n/(4+n-1)
■ =number of stages
■ = 4 as n🡪 ∞