Chapter0 Introduction
Chapter0 Introduction
Chapter0 Introduction
Computer Architecture
Binh Tran-Thanh
[email protected]
Copyright/Acknowledgments
▪ The lecture material for this course has been
adapted in part from UC Berkeley (US), Penn
State, Publisher at UB and The Massachusetts
Institute of Technology (M.I.T. US)
Source: https://informationq.com
1-Sep-22 Faculty of Computer Science and Engineering 8
Computer Architecture example
1 0
0 1
adder
adder
adder
<<2
zero
4
<<2
Branch
Immediate_26
Jump
Exception Exception
Memwrite
Control handle
MemRead
Opcode,
MemtoReg
ALUop
Rd
EPC ALUsrc
RegDst ALU status
RegWrite
Rs
0 1
PC files Memory
Memory
0 1
0 1
Rd
Immediate_16
shamt Sign
Function extend ALU
clk control
IF ID EX MEM WB
Next PC
Next SEQ PC Next SEQ PC
Adder
MUX
RS1
Branch
RS2 taken
Register Zero?
File
MEM / WB
EX / MEM
ID / EX
IF / ID
MUX
IR
PC Memory
MUX
Sign Imm ALU
MUX
Extend Memory