当前位置:网站首页>什么是指令周期,机器周期,和时钟周期?
什么是指令周期,机器周期,和时钟周期?
2022-04-23 04:54:00 【黄佳俊、】
1、指令周期:是取出一条指令并执行这条指令的时间。一般由若干个机器周期组成,是从取指令、分析指令到执行完所需的全部时间。
指令周期类型有非访内指令的指令周期、取数指令的指令周期、存数指令的指令周期、空操作指令和转移指令的指令周期。
2、机器周期:在计算机中,为了便于管理,常把一条指令的执行过程划分为若干个阶段,每一阶段完成一项工作。例如,取指令、存储器读、存储器写等,这每一项工作称为一个基本操作。
3、时钟周期:也称为振荡周期,定义为时钟频率的倒数。时钟周期是计算机中最基本的、最小的时间单位。在一个时钟周期内,CPU仅完成一个最基本的动作。时钟周期是一个时间的量。时钟周期表示了SDRAM所能运行的最高频率。
拓展资料:
计算机之所以能自动地工作,是因为CPU能从存放程序的内存里取出一条指令并执行这条指令;紧接着又是取指令,执行指令,如此周而复始,构成了一个封闭的循环。除非遇到停机指令,否则这个循环将一直继续下去。
机器周期由若干个S周期(状态周期)组成。通常用内存中读取一个指令字的最短时间来规定CPU周期,(也就是 计算机通过内部或外部总线进行一次信息传输从而完成一个或几个微操作所需要的时间)),它一般由12个时钟周期(振荡周期)组成,也是由6个状态周期组成。
时钟周期表示了SDRAM所能运行的最高频率。更小的时钟周期就意味着更高的工作频率。对于PC100规格的内存来说,它的运行时钟周期应该不高于10纳秒。纳秒与工作频率之间的转换关系为:1000 / 时钟周期 =工作频率。例如,标称10纳秒的PC100内存芯片,其工作频率的表达式就应该是1000 / 10 = 100MHZ,这说明此内存芯片的额定工作频率为100MHZ。
版权声明
本文为[黄佳俊、]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_48419914/article/details/124314172
边栏推荐
- List< Map> Replication: light copy and deep copy
- Analysis of POM files
- COM in wine (2) -- basic code analysis
- Progress of innovation training (IV)
- Com alibaba. Common methods of fastjson
- Arduino UNO r3+LCD1602+DHT11
- Other problems encountered in debugging fingerprints
- Learning Android from scratch -- baseactivity and activitycollector
- Raspberry pie + opencv + opencv -- face detection ------- environment construction
- Sword finger offer: symmetric binary tree (recursive iteration leetcode 101)
猜你喜欢
Customize the navigation bar at the top of wechat applet (adaptive wechat capsule button, flex layout)
Pixel 5 5g unlocking tutorial (including unlocking BL, installing edxposed and root)
持续集成(CI)/持续交付(CD)如何彻底改变自动化测试
What are the redis data types
PIP3 installation requests Library - the most complete pit sorting
Innovation training (IX) integration
Simply drag objects to the item bar
Innovation training (VI) routing
C language: Advanced pointer
Flink's important basics
随机推荐
KVM error: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock‘
Customize the navigation bar at the top of wechat applet (adaptive wechat capsule button, flex layout)
Informatics Aosai yibentong 1212: letters | openjudge 2.5 156: Letters
【数据库】MySQL单表查询
Innovation training (IX) integration
Spark case - wordcount
MySQL - data read / write separation, multi instance
Excel protects worksheets and workbooks from damage
Learning Android II from scratch - activity
Repair of self calibration SPC failure of Tektronix oscilloscope dpo3054
Sword finger offer: the path with a certain value in the binary tree (backtracking)
Leetcode004 -- Roman numeral to integer
2022/4/22
Leetcode008 -- implement strstr() function
使用model.load_state_dict()时,出现AttributeError: ‘str‘ object has no attribute ‘copy‘
Sword finger offer: symmetric binary tree (recursive iteration leetcode 101)
Innovation training (VII) FBV view & CBV view
Making message board with PHP + MySQL
Agile practice | agile indicators to improve group predictability
Eight misunderstandings that should be avoided in data visualization