Computer Systems Architecture

profileDLLM
Figure4.51.pdf

WB

M

EX

WB

M WB

M em

W rit

e

PCSrc

M em

to R

eg MemRead

Add

Address

Instruction memory

Read register 1

Read register 2

Instruction [15–0]

Instruction [20–16]

Instruction [15–11]

Write register Write data

Read data 1

Read data 2

Registers Address

Write data

Read data

Data memory

Add Add result

ALU ALU result

Zero

Shift left 2

Sign- extend

PC

4

ID/EX

IF/ID

EX/MEM

MEM/WB

16 632 ALU control

RegDst

ALUOp

ALUSrc

R eg

W rit

e

In st

ru ct

io n

Branch

Control

0 M u x

1

0 M u x

M u x

M u x

1

1

0

0

1