没有合适的资源?快使用搜索试试~ 我知道了~
Processor Arch-Sequential
需积分: 1 0 下载量 192 浏览量
2015-10-27
11:26:51
上传
评论
收藏 681KB PDF 举报
温馨提示
试读
43页
Processor Arch-Sequential
资源推荐
资源详情
资源评论
Introduction to Computer Systems, Peking University
1
Processor Architecture II:
SEQ: Sequential Implementation
Introduction to Computer Systems
10
th
Lecture, Oct 21, 2015
Instructors:
Xiangqun Chen,Junlin Lu
Guangyu Sun,Xuetao Guan
Introduction to Computer Systems, Peking University
2
Building Blocks
Combinational Logic
Compute Boolean functions of inputs
Continuously respond to input changes
Operate on data and implement
control
Storage Elements
Store bits
Addressable memories
Non-addressable registers
Loaded only as clock rises
Register
file
A
B
W
dstW
srcA
valA
srcB
valB
valW
Clock
A
L
U
fun
A
B
MUX
0
1
=
Clock
Introduction to Computer Systems, Peking University
3
SEQ Hardware
Structure
State
Program counter register (PC)
Condition code register (CC)
Register File
Memories
Access same memory space
Data: for reading/writing program
data
Instruction: for reading instructions
Instruction Flow
Read instruction at address
specified by PC
Process through stages
Update program counter
Instruction
memory
Instruction
memory
PC
increment
PC
increment
CC
CC
ALU
ALU
Data
memory
Data
memory
Fetch
Decode
Execute
Memory
Write back
icode
,
ifun
rA , rB
valC
Register
file
Register
file
A B
M
E
Register
file
Register
file
A B
M
E
PC
valP
srcA, srcB
dstA, dstB
valA, valB
aluA, aluB
Cnd
valE
Addr, Data
valM
PC
valE , valM
newPC
Introduction to Computer Systems, Peking University
4
SEQ Stages
Fetch
Read instruction from instruction
memory
Decode
Read program registers
Execute
Compute value or address
Memory
Read or write data
Write Back
Write program registers
PC
Update program counter
Instruction
memory
Instruction
memory
PC
increment
PC
increment
CC
CC
ALU
ALU
Data
memory
Data
memory
Fetch
Decode
Execute
Memory
Write back
icode
,
ifun
rA , rB
valC
Register
file
Register
file
A B
M
E
Register
file
Register
file
A B
M
E
PC
valP
srcA, srcB
dstA, dstB
valA, valB
aluA, aluB
Cnd
valE
Addr, Data
valM
PC
valE , valM
newPC
Introduction to Computer Systems, Peking University
5
Instruction Decoding
Instruction Format
Instruction byte icode:ifun
Optional register byte rA:rB
Optional constant word valC
5 0
rA rB D
icode
ifun
rA
rB
valC
Optional
Optional
剩余42页未读,继续阅读
资源评论
hsjjdhdjj
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功