当前位置:网站首页>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 .
边栏推荐
- Those "experiences and traps" in the data center
- 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
- 数据管理的重点
- 三次握手的Socket交互流程
- The technology of applet container is very promising, which can greatly improve the efficiency of mobile R & D
- smartRefresh嵌套多个RecycleView滑动冲突及布局显示不全
- 【C语言】通讯录(动态版本)
- 加速IGBT国产化!比亚迪半导体将独立上市,市值或达300亿元!
- RPA流程自动化机器人是什么技术?如何实现办公自动化?
- Arm32 for remote debugging
猜你喜欢

字符流学习14.3

NDK series (6): let's talk about the way and time to register JNI functions

基于原生js实现今日新闻网站

低代码开发前景如何,大家都真的看好低代码开发吗?

Can Siemens PLC collect analog data of multiple slave stations in real time and wirelessly?

基于mediapipe的姿态识别和简单行为识别

数据管理的重点

Application of user portrait in precise push of wechat official account of scientific journals

File & recursion 14.1

重新定义分析 - EventBridge 实时事件分析平台发布
随机推荐
Remotely debug idea, configure remote debug, and add JVM startup parameter -xdebug in the program of remote server
Software test function test full set of common interview questions [function test] interview summary 4-2
Realization of gobang man-machine combat
2022/7/26
Nature review: preferential effects in the formation of microbial communities
smartRefresh嵌套多个RecycleView滑动冲突及布局显示不全
西门子PLC能否实时无线采集多处从站模拟量数据?
Ideas, methods and steps of making folding fans with 3DMAX
My annual salary is 1million, and I don't have clothes more than 100 yuan all over my body: saving money is the top self-discipline
2022年土木,建筑与环境工程国际会议(ICCAEE 2022)
Features of hardwired controller:
Interviewer: let's talk about the specific process of network data transmission
疫情之下,台积电一季度增长超预期,7nm占比35%!二季度或创新高
Which one is better to request to merge -- three skills of interface request merging, and the performance directly explodes the table
Is it really hard to understand? What level of cache is the recyclerview caching mechanism?
给网站套上Cloudflare(以腾讯云为例)
五子棋人机对战实现
主数据管理理论与实践
29. Learn the stacked column chart of highcharts using percentage
CPU的控制方式