- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter 7 InputOutput.ppt
Chapter 7 Input/Output 7.1 External Devices 7.2 I/O Modules 7.3 Programmed I/O 7.4 Interrupt-Driven I/O 7.5 Direct Memory Access 7.6 I/O Channels and Processors 7.7 FireWire Input/Output Problems Wide variety of peripherals external devices Delivering different amounts of data At different speeds In different formats All slower than CPU and RAM Need I/O modules Generic Model of I/O Module I/O Module Diagram External Device Block Diagram External Devices Human readable devices Screen, printer, keyboard Only machine readable devices Monitoring and control Communication Modem Network Interface Card NIC Typical I/O Data Rates Typical I/O Module Functions Control Timing Bus Communication Device Communication Data Buffering Error Detection I/O Steps Overview of I/O steps e.g. Input : CPU checks I/O module device status I/O module returns status If ready, CPU requests data transfer I/O module gets data from device I/O module transfers data to CPU Variations for Output, DMA, etc. 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 I/O can seem very much like memory access from CPU viewpoint … BUT … it isn’t the same! Each device given unique identifier address CPU’s I/O commands refer to device address, I/O Module design Decisions Tradeoffs: Hide or reveal device properties to CPU? Support multiple or single device? Control device functions or leave for CPU? O/S decisions e.g. Unix treats everything it can as a file I/O Mapping [see next slide] I/O Mapping Memory mapped I/O Devices and memory share an address space I/O access just like memory read/write No special CPU instructions for I/O Large selection of memory access commands Isolated I/O Separate address spaces Need I/O vs. memory select lines on control bus Special CPU instructions fo
您可能关注的文档
- 5.1 数据库设计概述.ppt
- 5.1 空气比热容比的测定.ppt
- 5.1认识一元一次方程.ppt
- 5.1认识二元一次方程组.ppt
- 5.2 分式de 基本性质.ppt
- 5.2光的反射.ppt
- 5.3.1 有机高分子化合物概论.ppt
- 5.5 Hermite插值公式.ppt
- 5.6.热力学第二定律的微观解释 能源和可持续发展.ppt
- 5.7《生活中的圆周运动》.ppt
- Chapter 7 Insurance Companies.ppt
- Chapter 7 Integration.ppt
- CHAPTER 7 Layer 2 Switching.ppt
- Chapter 7 Market Communications and Branding.ppt
- Chapter 7 Modifying Samples in a Range.ppt
- CHAPTER 7 OUTLINE.ppt
- Chapter 7 Planned Borrowing.ppt
- Chapter 7 Plasma Basic.ppt
- Chapter 7 Primate Mating Systems.ppt
- Chapter 7 Runtime Environments Section 0 Overview.ppt
最近下载
- 必修 中外历史纲要(上)第2课诸侯纷争与变法运动 课件(共24张PPT).pptx VIP
- 分析化学英文课件CH01 Introduction 0830.ppt VIP
- 【新】珠海市纳税百强企业名单(权威).docx VIP
- 某水厂反恐应急预案范本.pdf VIP
- 2025河南省红十字血液中心招聘合同制人员12人笔试备考题库及答案解析.docx VIP
- 道德经全文和译文.doc VIP
- 一种永磁同步电机旋变零位初始角自学习方法及系统.pdf VIP
- 2025年交管学法减分考试题库以及答案(160题完整版) .pdf VIP
- GB50068-2018建筑结构可靠性设计统一标准.doc VIP
- 化工单元过程及操作练习题(附答案).docx VIP
文档评论(0)