当前位置:网站首页>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
边栏推荐
- 机器学习---线性回归
- Spark optimization
- 深度学习笔记 —— 物体检测和数据集 + 锚框
- Perfect test of coil in wireless charging system with LCR meter
- 【数据库】MySQL基本操作(基操~)
- Pixel mobile phone brick rescue tutorial
- Agile practice | agile indicators to improve group predictability
- The 8 diagrams let you see the execution sequence of async / await and promise step by step
- Unity RawImage背景无缝连接移动
- Knowledge points sorting: ES6
猜你喜欢
用LCR表完美测试无线充电系统中的线圈
[winui3] write an imitation Explorer file manager
Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]
Making message board with PHP + MySQL
2022/4/22
CLion+OpenCV identify ID number - detect ID number
What are the redis data types
AQS源码阅读
redis数据类型有哪些
[2021] Spatio-Temporal Graph Contrastive Learning
随机推荐
Differences between redis and MySQL
深度学习笔记 —— 语义分割和数据集
Informatics Olympiad 1955: [11noip popularization group] Swiss round | openjudge 4.1 4363: Swiss round | Luogu p1309 [noip2011 popularization group] Swiss round
Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]
Opencv + clion face recognition + face model training
Spark case - wordcount
Learning Android V from scratch - UI
PHP 统计指定文件夹下文件的数量
Unity3d practical skills - theoretical knowledge base (I)
MySQL time function query
Innovation training (10)
List< Map> Replication: light copy and deep copy
Leetcode -- heuristic search
redis数据类型有哪些
Implementation of switching windows and capturing data in selenium mode
深度学习笔记 —— 数据增广
[2021] Spatio-Temporal Graph Contrastive Learning
Better way to read configuration files than properties
Set Chrome browser background to eye protection (eye escort / darkreader plug-in)
La caméra Unity tourne avec la souris