1 / 30
文档名称:

Dr. Lo'ai Tawalbeh.ppt

格式:ppt   大小:177KB   页数:30
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Dr. Lo'ai Tawalbeh.ppt

上传人:rita291961 2018/11/3 文件大小:177 KB

下载得到文件列表

Dr. Lo'ai Tawalbeh.ppt

相关文档

文档介绍

文档介绍:Dr. Lo’ai Tawalbeh
Chapter 8: Central Processing Unit
1
cpe 252: anization
CENTRAL PROCESSING UNIT
Introduction
General anization
anization
Instruction Formats
Addressing Modes
Data Transfer and Manipulation
Program Control
Reduced Instruction puter (RISC)
2
cpe 252: anization
PONENTS OF CPU
ponents:
Registers
Flip-flops
Execution (Processing) Components:
Arithmetic Logic Unit (ALU):
Arithmetic calculations, putations, Shifts/Rotates
ponents:
Bus
ponents:
Control Unit
Register
File
ALU
Control Unit
3
cpe 252: anization
GENERAL ANIZATION
MUX
SELA
{
MUX
}
SELB
ALU
OPR
R1
R2
R3
R4
R5
R6
R7
Input
3 x 8
decoder
SELD
Load
(7 lines)
Output
A bus
B bus
Clock
4
cpe 252: anization
OPERATION OF CONTROL UNIT
The control unit directs the information flow through ALU by:
- Selecting ponents in the system
- Selecting the Function of ALU
Example: R1 <- R2 + R3
[1] MUX A selector (SELA): BUS A  R2
[2] MUX B selector (SELB): BUS B  R3
[3] ALU operation selector (OPR): ALU to ADD
[4] Decoder destination selector (SELD): R1  Out Bus
Control Word
Encoding of register selection fields
Binary
Code SELA SELB SELD
000 Input Input None
001 R1 R1 R1
010 R2 R2 R2
011 R3 R3 R3
100 R4 R4 R4
101 R5 R5 R5
110 R6 R6 R6
111 R7 R7 R7
SELA
SELB
SELD
OPR
3
3
3
5
5
cpe 252: anization
ALU CONTROL
Encoding of ALU operations
OPR
Select Operation Symbol
00000 Transfer A TSFA
00001 Increment A INCA
00010 ADD A + B ADD
00101 Subtract A - B SUB
00110 Decrement A DECA
01000 AND A and B AND
01010 OR A and B OR
01100 XOR A and B XOR
plement A
10000 Shift right A SHRA
11000 Shift left A SHLA
Examples of ALU Microoperations
Symbolic Designation
Microoperation SELA SELB SELD OPR Control Word
Control
R1  R2 - R3 R2 R3 R1 SUB 010 011 001 00101
R4  R4  R5 R4 R5 R4 OR 100 101 100 01010
R6  R6 + 1 R6 - R6 INCA 110 000 110 00001
R7  R1 R1 - R7 TSFA 001 000 111 00000
Output  R2 R2 - None TSFA 010 000 000 00000
Output  Input Inpu

最近更新

肉牛应激下行为学研究 28页

肌病基因编辑技术 36页

2025年天津开发区职业技术学院马克思主义基本.. 12页

绿色建筑能效优化技术 29页

高端洗染市场潜力 35页

网络心理服务模式 39页

肿瘤性关节炎CT影像学特征 35页

老旧电梯改造标准 35页

羽绒制品在体育用品领域的应用研究 29页

2025年安徽广播影视职业技术学院单招职业技能.. 42页

2025年宜昌科技职业学院单招综合素质考试题库.. 43页

耐药机制解析与克服 35页

非糖尿病性视网膜水肿研究 35页

羟乙基纤维素改性后在化妆品增塑效果中的研究.. 35页

骨折愈合过程中的细胞信号通路 35页

2025年山东省聊城市单招职业倾向性考试题库带.. 43页

2025年岫岩县幼儿园教师招教考试备考题库附答.. 31页

2025年广州市公安管理干部学院马克思主义基本.. 13页

2025年广西省贵港市单招职业适应性考试题库附.. 44页

2025年延安职业技术学院单招职业倾向性测试题.. 44页

2025年开阳县招教考试备考题库带答案解析(夺.. 30页

2025年怀化工商职业技术学院马克思主义基本原.. 11页

2025年成都工业学院马克思主义基本原理概论期.. 12页

2025年昂仁县招教考试备考题库附答案解析(夺.. 31页

2025年景东县幼儿园教师招教考试备考题库附答.. 31页

2025年来凤县招教考试备考题库附答案解析(夺.. 31页

2025年柯坪县幼儿园教师招教考试备考题库附答.. 30页

2025年梅县幼儿园教师招教考试备考题库附答案.. 31页

2025年武平县幼儿园教师招教考试备考题库带答.. 30页

2025年武胜县幼儿园教师招教考试备考题库带答.. 31页