当前位置:网站首页>Control mode of CPU
Control mode of CPU
2022-07-27 23:48:00 【Hua Weiyun】
And CISC comparison ,RISC The advantages of :
1) Better use VLSI The area of the chip ;
2) It can improve the operation speed ;
3) Easy to design , Can reduce costs , Improve reliability ;
4) It is conducive to compiler code optimization .
CPU Specific functions
1) Command control : Complete the command , Analyzing and executing instructions , That is, the sequential execution of the program .
2) Operational control :CPU Manage and generate the operation signal of each instruction fetched from memory , Send various operation signals to corresponding parts , In order to control these parts according to the command to carry out the action .
3) time control : Time control of various operations .
4) The data processing : Perform arithmetic and logical operations on data .
5) Interrupt handling : Deal with abnormal situations and special requests during the operation of the computer .
How the controller works
According to the instruction opcode 、 The execution steps of the instruction ( Micro command sequence ) And condition signals to form the control signals to be used by various components of the current computer . The hardware system of the computer works together under the control of these control signals , Produce the expected results of execution .
1) The arithmetic unit is connected with the memory through the data bus 、 Input and output devices transmit data .
2) The input and output devices are connected with the bus through the interface circuit .
3) Memory 、 The I / O device receives address information from the address bus , Get the control signal from the control bus , Transfer data with other components through data bus .
4) The controller unit receives instruction information from the data bus , Receive instruction transfer address from arithmetic unit , Send instruction address to address bus , It also provides the components in the system with the control signals they need to operate .
Main functions of the controller
1) Take an instruction from main memory and indicate the location of the next instruction in main memory .
2) Decode or test instructions , Generate the corresponding operation control signal , In order to start the specified action .
3) Command and control CPU、 Main memory 、 The direction of data flow between input and output .
CPU Control mode of
1) Synchronous control mode
The system has a unified clock , All signals come from this unified clock signal .
The control circuit is simple , But it's slow .
2) Asynchronous control mode
There is no reference time scale signal , Each component works at its own inherent speed , Contact by answering .
Fast running speed , But the control circuit is more complex .
3) Joint control mode
Between synchronization 、 A compromise between asynchrony . Most of the micro operations of various instructions adopt synchronous control , A small part adopts asynchronous control .
Design steps of hardwired control unit :
1) List the operation schedule of micro operation commands . Arrange according to the micro operation tempo , List the operation schedule of micro operation commands ( Including each machine cycle , Each instruction under the beat completes the operation control signal ).
2) Carry out micro operation signal synthesis . Comprehensively analyze the micro operation signals 、 classified , According to the micromanipulation schedule, the logical expression of each micromanipulation control signal can be written and appropriately simplified .
3) Draw the logic diagram of micro operation command . According to the logic expression, the logic circuit diagram corresponding to each micro operation signal can be drawn , And realize with logic gate circuit .
边栏推荐
- 一位软件投资者的独白:我为什么不追逐快速增长的公司
- Yijia will release ODM orders in 2020 and make efforts in the middle and low-end market
- How to use xshell Free Edition
- 字符流学习14.3
- CaEGCN: Cross-Attention Fusion based Enhanced Graph Convolutional Network for Clustering 2021
- The txt file named according to the sequence number is renamed from the back to the front
- Arm32进行远程调试
- 低代码开发前景如何,大家都真的看好低代码开发吗?
- 一加将在2020年释放ODM订单,发力中低端市场
- (十二)51单片机----用DS18B20浅测一下工(江)西的室外温度
猜你喜欢

QT with OpenGL(Shadow Mapping)(平行光篇)

Redis 哈希Hash底层数据结构
![[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters](/img/05/7029eb1fe36d7ddab2640f07247c81.png)
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters

Master data management theory and Practice

JUC工具包学习

主数据管理理论与实践

用3dmax做折扇的思路方法与步骤

消息队列常见的几种使用场景介绍

(十二)51单片机----用DS18B20浅测一下工(江)西的室外温度

Date的使用
随机推荐
[JS reverse hundred examples] a public resource trading network, reverse analysis of announcement URL parameters
Nature review: preferential effects in the formation of microbial communities
Bank Marketing预测一个客户购买理财产品的成功率
The share price soared 180.46%! Shanghai silicon industry, the leader of domestic large silicon wafers, is listed: the cumulative net profit in recent four years is less than 60million
Accelerate IGBT localization! BYD semiconductor will be listed independently, with a market value of 30billion yuan!
史上最简明的 Tcpdump 入门指南,看这一篇就够了
Realization of gobang man-machine combat
Technical certification | Tupo software and Huawei cloud create a new situation of win-win cooperation
基于原生js实现今日新闻网站
Solve 5g pain points, Meizu 17 smart 5g fast and stable technology release
突发,微信重要通知
Elk log analysis system installation and deployment
用3dmax做折扇的思路方法与步骤
TSMC 3nm detail exposure: transistor density as high as 250million /mm ², Greatly improved performance and energy efficiency
Character stream learning 14.3
How to use xshell Free Edition
Nail alarm tool
7.6万人停工!东芝宣布关闭日本所有工厂
Introduction to several common usage scenarios of message queue
TCP的粘包拆包问题+解决方案