- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lyx_Ch_07
William Stallings Computer Organization and Architecture6th Edition Chapter 7 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats often slower than CPU and RAM Need I/O modules I/O Module(Two major functions) Interface to CPU and Memory Interface to one or more peripherals Generic Model of I/O Module §7.1 External Devices Human readable Screen, printer, keyboard Machine readable Monitoring and control Communication Modem Network Interface Card (NIC) External Device Block Diagram Typical I/O Data Rates §7.2 I/O Module Function Control Timing 控制和定时 CPU Communication 处理器通信 Device Communication 设备通信 Data Buffering 数据缓冲 Error Detection 检错 I/O Steps(Read) CPU checks I/O module device status I/O module returns status If ready, CPU requests data transfer I/O module gets data from external device I/O module transfers data to CPU Write??? I/O Module Diagram I/O Module Decisions Hide or reveal device properties to CPU Support multiple or single device Control device functions or leave for CPU Also O/S decisions e.g. Unix treats everything it can as a file Input Output Techniques Programmed I/O 编程I/O ※Interrupt-Driven I/O 中断驱动I/O ※Direct Memory Access (DMA) 直接存储器存取 §7.3 Programmed I/O CPU has direct control over I/O Sensing status 检查设备状态 Read/write commands 发送读/写命令 Transferring data 传送数据 CPU waits for I/O module to complete operation Wastes CPU time Programmed I/O – detail CPU requests I/O operation I/O module performs operation I/O module sets status bits CPU checks status bits periodically周期性地 I/O module does not inform CPU directly I/O module does not interrupt CPU CPU may wait or come back later I/O Commands CPU issues address Identifies module ( device if 1 per module) CPU issues command Control - telling module what to do e.g. spin up disk Test - check status e.g. power? Error? Read/Write Module transfers data via buffer from/to device Addressing I/O Devices Und
您可能关注的文档
最近下载
- 2014职工履历表样表.doc VIP
- 招投标知识培训通用实用PPT解析课件.pptx
- 赣科技版信息科技七年级上册 第2课《网络硬件》第1课时《网络传输介质的分类》课件.pptx
- 山东省德州市2025年中考英语试题(含答案) .pdf VIP
- 小学2022年版科学课程标准解读与讲座分享课件.pptx VIP
- 第三单元 口语交际:长大以后做什么-写作指导+范文赏析+病文升格-2022-2023学年二年级语文下册同步写话素材积累(部编).docx VIP
- 便桥施工方案.docx VIP
- 2025年中职高考中职英语二轮专题 主谓一致课件(共80张PPT).pptx VIP
- 酒店保洁服务接管计划方案.docx VIP
- 《办公软件应用(Office 2016)》课件 项目8--任务1 使用图表分析员工考评成绩.pptx
原创力文档


文档评论(0)