当前位置:网站首页>《微机原理》—总线及其形成
《微机原理》—总线及其形成
2022-07-01 08:21:00 【涛涛呐~】
文章目录
一、总线定义及分类
总线:就是传输信息的通道,实际应用计算机分为地址总线、数据总线和控制总线
分类:①片内总线:集成电路的内部,如FPGA片内总线也是用户需要考虑的问题
②元件级总线(板内)
③内总线:电路板之间的通信(也称为系统级总线)
④外总线:设备与设备之间的通信总线
内总线和外总线在设计时候都需要标准化。
二、几种常用芯片介绍
2.1 74LS244(8位数据单向缓冲器)
LS:表示速度;
74:表示温度,是民品器件
2.2 74LS245(8位数据双向缓冲器)
适用于双向总线缓冲中
2.3 74LS373(8位锁存器)
芯片使用真值表如下所示:
前两种情况是跟随器,第三种是锁存器。
374的真值表为:
三、8086总线操作时序
指令周期——执行一条指令需要的时间,由若干个总线周期(时钟周期)组成
总线周期——由若干个时钟周期组成
8086最基本的总线周期由4个时钟周期组成
3.1 系统的复位与启动
**保持8086的reset引脚至少维持4个周期才可以保证CPU可靠复位。**高电平有效!
8086CPU复位后,PSW DS ES SS IP 和指令队列寄存器都被清零;
段寄存器CS为FFFFH,所以系统启动的物理地址为:FFFF0H
所以一般在FFFF0H开始的单元中存放一条无条件跳转指令,以便转移到系统程序实际开始的地方。
8086复位操作时序如下图所示:
3.2 总线操作
8086CPU最小模式——给外部存储器/IO的读写控制信号由CPU引脚直接产生
8086CPU最大模式——给外部存储器/IO的读写控制信号由总线控制器8288产生的
单处理器系统一般用最小模式工作,多处理器系统中8086工作在最大工作模式。
8086CPU最小模式下的总线读周期
DEN:数据有效信号
8086CPU最小模式下的总线写周期
8086CPU最大模式下的总线读周期
8086CPU最大模式下的总线读周期
8086和8088的差距
1. 从内部看:
a. 8086内的指令队列寄存器是6字节的
b. 8088内的指令队列寄存器是4字节的
2. 从外部看:
a. 8086有16根数据线
b. 8088有8根数据线
c. 8086引脚M/¯IO 在8088中的引脚是IO/¯M
3. 在对字操作时
a. 8086又分为对准的和没有对准的
b. 8088不存在这个区分
为什么奇地址存储周期更长?
8086数据类型分为字(16位)和字节(8位)
8086的偶存储体同低8位字节相连接,奇存储体同高8位字节相连接;
而字存储在奇地址,但是低字节要存储在低地址,高字节需要存储在高地址,这时候相当于地址线与存储介质之间会产生交叉,数据存储会用到2个总线周期,而偶地址存储字就没这个问题。
边栏推荐
- Leetcode t34: find the first and last positions of elements in a sorted array
- [force deduction 10 days SQL introduction] Day9 control flow
- When using charts to display data, the time field in the database is repeated. How to display the value at this time?
- Luogu p3799 demon dream stick
- Uni hot update
- [dynamic planning] p1020 missile interception (variant of the longest increasing subsequence)
- 串口转WIFI模块通信
- 网关gateway-88
- On June 30, 2022, the record of provincial competition + national competition of Bluebridge
- R语言入门
猜你喜欢
7-26 word length (input and output in the loop)
Comprehensive experiment Li
Conception et mise en service du processeur - chapitre 4 tâches pratiques
seaborn clustermap矩阵添加颜色块
使用threejs简单Web3D效果
使用beef劫持用戶瀏覽器
MATLAB小技巧(23)矩阵分析--模拟退火
factory type_id::create过程解析
Serial port oscilloscope software ns-scope
CPU设计实战-第四章实践任务一简单CPU参考设计调试
随机推荐
Tita OKR: a dashboard to master the big picture
Huawei machine test questions column subscription Guide
Provincial selection + noi Part II string
串口转WIFI模块通信
Yolov5进阶之七目标追踪最新环境搭建
0 basic introduction to single chip microcomputer: how to use digital multimeter and precautions
Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
2022.6.30 省赛+蓝桥国赛记录
【Redis】一气呵成,带你了解Redis安装与连接
Book of quantitative trading - reading notes of the man who conquers the market
Anddroid text to speech TTS implementation
[dynamic planning] p1020 missile interception (variant of the longest increasing subsequence)
机动目标跟踪——当前统计模型(CS模型)扩展卡尔曼滤波/无迹卡尔曼滤波 matlab实现
MATLAB【函数和图像】
华为机试真题专栏订阅指引
深度学习训练样本扩增同时修改标签名称
Embedded-c language-10-enumeration / (function) pointer (function) / multi-level pointer /malloc dynamic allocation / file operation
Yolov5进阶之六目标追踪环境搭建
[detailed explanation of Huawei machine test] judgment string subsequence [2022 Q1 Q2 | 200 points]
2022 Chinese cook (technician) simulation test and Chinese cook (technician) practice test video