当前位置:网站首页>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
边栏推荐
- Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]
- Unity摄像头跟随鼠标旋转
- 机器学习---线性回归
- getprop 属性
- 和谐宿舍(线性dp / 区间dp)
- Sword finger offer: the path with a certain value in the binary tree (backtracking)
- [2022 ICLR] Pyraformer: Low-Complexity Pyramidal Attention for Long-Range 时空序列建模和预测
- Innovation training (VI) routing
- What's the difference between error and exception
- CLion+OpenCV identify ID number - detect ID number
猜你喜欢
Learning Android II from scratch - activity
Customize the navigation bar at the top of wechat applet (adaptive wechat capsule button, flex layout)
Record the ThreadPoolExecutor main thread waiting for sub threads
Introduction to raspberry pie 3B - system installation
【数据库】MySQL多表查询(一)
Innovation training (IV) preliminary preparation - server
Download PDF from HowNet (I don't want to use CAJViewer anymore!!!)
Learning Android V from scratch - UI
Pixel mobile phone brick rescue tutorial
Innovation training (V) configuration information
随机推荐
Solve valueerror: argument must be a deny tensor: 0 - got shape [198602], but wanted [198602, 16]
POI export message list (including pictures)
Implementation of switching windows and capturing data in selenium mode
独立站运营 | FaceBook营销神器——聊天机器人ManyChat
vscode ipynb文件没有代码高亮和代码补全解决方法
Day.js 常用方法
The object needs to add additional attributes. There is no need to add attributes in the entity. The required information is returned
PHP counts the number of files in the specified folder
The unity camera rotates with the mouse
The 8 diagrams let you see the execution sequence of async / await and promise step by step
深度学习笔记 —— 语义分割和数据集
scp命令详解
Innovation training (VII) FBV view & CBV view
Innovative practice of short video content understanding and generation technology in meituan
Innovation training (XI) airline ticket crawling company information
redis和mysql区别
List< Map> Replication: light copy and deep copy
Better way to read configuration files than properties
Spark small case - RDD, spark SQL
Unity3D 实用技巧 - 理论知识库(一)