当前位置:网站首页>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 .
边栏推荐
- 2022 International Conference on civil, building and Environmental Engineering (iccaee 2022)
- 2022/7/26
- MySQL之数据查询(WHERE)
- NDK series (6): let's talk about the way and time to register JNI functions
- 29.学习Highcharts 使用百分比的堆叠柱形图
- TCP的粘包拆包问题+解决方案
- 四次挥手的Socket交互流程
- Common Taylor expansion
- Binary conversion method
- ELK日志分析系统安装和部署
猜你喜欢

Lua basic grammar learning

Is it really hard to understand? What level of cache is the recyclerview caching mechanism?
![[C language] address book (dynamic version)](/img/29/3df19c187bee31ee4671e12d7cc7ff.jpg)
[C language] address book (dynamic version)

J9数字科普:Sui网络的双共识是如何工作的?

C#委托用法--控制台项目,通过委托实现事件

proteus仿真arduino中调用DHT11/22温湿度传感器

Bank Marketing预测一个客户购买理财产品的成功率

主数据管理理论与实践

五子棋人机对战实现

Reinforcement learning - pytorch realizes advantage actor critical (A2C)
随机推荐
消息队列常见的几种使用场景介绍
携手长江存储,江波龙推出全球最小扩展卡
Is it really hard to understand? What level of cache is the recyclerview caching mechanism?
Key points of data management
Socket interaction process of three handshakes
Technical certification | Tupo software and Huawei cloud create a new situation of win-win cooperation
Binary conversion method
Sudden, wechat important notice
西门子PLC能否实时无线采集多处从站模拟量数据?
主数据管理理论与实践
29. Learn the stacked column chart of highcharts using percentage
Redis 哈希Hash底层数据结构
Software test function test full set of common interview questions [function test] interview summary 4-2
reduce错误示范
Accelerate IGBT localization! BYD semiconductor will be listed independently, with a market value of 30billion yuan!
Which one is better to request to merge -- three skills of interface request merging, and the performance directly explodes the table
Redis hash underlying data structure
低代码开发前景如何,大家都真的看好低代码开发吗?
三次握手的Socket交互流程
Redis distributed lock