Computer Architecture: Chapter 4: The Processor Part 1
Computer Architecture: Chapter 4: The Processor Part 1
𝐶 = 𝐴𝑆 + 𝐵𝑆
7
Control vs. Data signals
• Control signal: used for • Data signal: contains
multiplexer selection or information that is
for directing the operated on by a
operation of a functional unit
functional unit
8
Control
Clk
Q
D Q Write
Write D
Clk
Q
Increment by
4 for next
32-bit instruction
register
Sign-bit wire
replicated
Chapter 4 — The Processor — 20
Composing the Elements
• First-cut data path does an instruction in one
clock cycle
– Each datapath element can only do one function
at a time
– Hence, we need separate instruction and data
memories
• Use multiplexers where alternate data sources
are used for different instructions
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
Prediction
correct
Prediction
incorrect