当前位置:网站首页>What are instruction cycles, machine cycles, and clock cycles?
What are instruction cycles, machine cycles, and clock cycles?
2022-04-23 04:56:00 【Huang Jiajun】
1、 Instruction cycle : Is the time to take out an instruction and execute it . Generally, it consists of several machine cycles , Is to get instructions from 、 The total time required to analyze an instruction until it is executed .
The instruction cycle type has the instruction cycle of non access instruction 、 Instruction cycle of fetch instruction 、 Instruction cycle of memory instruction 、 Instruction cycle of null operation instruction and branch instruction .
2、 Machine cycle : In the computer , For ease of management , The execution of an instruction is often divided into several stages , Complete a task at each stage . for example , Take command 、 Memory read 、 Memory writing, etc , Each of these tasks is called a basic operation .
3、 Clock cycle : Also known as oscillation period , Defined as the reciprocal of the clock frequency . The clock cycle is the most basic in a computer 、 The smallest unit of time . In a clock cycle ,CPU Just complete one basic action . A clock cycle is an amount of time . The clock cycle represents SDRAM Maximum frequency of operation .
Expand information :
The reason why computers can work automatically , Because CPU Can take an instruction from the memory of the program and execute it ; Then there is the instruction , Execution instruction , It's all over again , It forms a closed cycle . Unless a shutdown command is encountered , Otherwise the cycle will continue .
The machine cycle consists of several cycles S cycle ( State Period ) form . It is usually specified by the shortest time to read an instruction word in memory CPU cycle ,( That is to say The time required for a computer to complete one or more micro operations through an internal or external bus )), It is generally made up of 12 Clock cycles ( Oscillation period ) form , Also by 6 State cycle composition .
The clock cycle represents SDRAM Maximum frequency of operation . Smaller clock cycles mean higher operating frequencies . about PC100 Specifications of memory , Its operating clock cycle should not be higher than 10 nanosecond . The conversion relationship between nanosecond and operating frequency is :1000 / Clock cycle = Working frequency . for example , Nominal 10 Nanosecond PC100 Memory chip , The expression of its working frequency should be 1000 / 10 = 100MHZ, This indicates that the rated working frequency of this memory chip is 100MHZ.
版权声明
本文为[Huang Jiajun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230454290091.html
边栏推荐
- Learning Android from scratch -- Introduction
- Spark small case - RDD, spark SQL
- Flink case - Kafka, MySQL source
- Use the built-in function of win to transfer files between two computers in the same LAN (the speed is the same as that between local disks)
- [WinUI3]編寫一個仿Explorer文件管理器
- Sword finger offer: symmetric binary tree (recursive iteration leetcode 101)
- 持续集成(CI)/持续交付(CD)如何彻底改变自动化测试
- Innovation training (XI) airline ticket crawling company information
- Differences between redis and MySQL
- Perfect test of coil in wireless charging system with LCR meter
猜你喜欢

DIY is an excel version of subnet calculator

Spark FAQ sorting - must see before interview

2022/4/22

PHP+MySQL 制作留言板

Teach you how to build the ruoyi system by Tencent cloud

redis数据类型有哪些

Innovation training (IX) integration

Opencv + clion face recognition + face model training

Innovative practice of short video content understanding and generation technology in meituan

MySQL - index
随机推荐
Learning Android from scratch -- Introduction
多线程基本概念(并发与并行、线程与进程)和入门案例
PHP 统计指定文件夹下文件的数量
leetcode——启发式搜索
What is the meaning of load balancing
[2021] Spatio-Temporal Graph Contrastive Learning
Use model load_ state_ Attributeerror appears when dict(): 'STR' object has no attribute 'copy‘
La caméra Unity tourne avec la souris
信息学奥赛一本通 1955:【11NOIP普及组】瑞士轮 | OpenJudge 4.1 4363:瑞士轮 | 洛谷 P1309 [NOIP2011 普及组] 瑞士轮
Informatics Olympiad 1955: [11noip popularization group] Swiss round | openjudge 4.1 4363: Swiss round | Luogu p1309 [noip2011 popularization group] Swiss round
Gets all dates between two times
Spark optimization
信息学奥赛一本通 1212:LETTERS | OpenJudge 2.5 156:LETTERS
Alibaba tip: it is better to create threads manually
PIP3 installation requests Library - the most complete pit sorting
Progress of innovation training (IV)
Thoughts on a small program
Learning Android from scratch -- baseactivity and activitycollector
Field injection is not recommended using @ Autowired
Custom switch control