- 2
- 0
- 约8.88千字
- 约 48页
- 2018-04-17 发布于江西
- 举报
07 Input Output - UW Faculty Web Server07输入输出-威斯康星大学教师的Web服务器.ppt
Chapter 7Input/Output Input/Output Problems Wide variety of peripherals 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 Function Support single or multiple devices Hide or reveal device properties Provides: Control Timing CPU Communication Device Communication Data Buffering Error Detection I/O Module Diagram Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA) 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 Usually not a good use of 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 CPU may wait or come back later Interrupt driven I/O - CPU Viewpoint Issue I/O command Do other work - Check for interrupt at end of each instruction cycle When interrupt request is granted:- Save context (registers) Process interrupt Execute “service routine” Continue other work Interrupt Driven I/O – Device Perspective CPU issues I/O command (enable interrupt) I/O module gets data from peripheral while CPU does other work I/O module interrupts CPU (Interrupt request) Device serviced by CPU DMA Function DMA controller(s) takes over from CPU for I/O Additional Module(s) attached to bus Typical DMA Module Diagram DMA Operation CPU tells DMA controller:- Read/Write Device address Starting address of memory block for data Amount of data to be transferred CPU carries on with other work DMA controller deals with transfer DMA controller sends interrupt when finished DMA TransferCycle Stealing DMA controller takes over bus for a cycle Transfer of one word of data Not an interrupt CPU does not switch context CPU suspended just before it accesses bus i.e. before an operand or data fetch or a data write Slows down CPU but not as much as CPU doin
您可能关注的文档
- 名雅居营销策划书【企业营销策划经典】.ppt
- 定额实例单代号及搭接网络图.ppt
- 小学一年级语文课件《春笋》.ppt
- TPM经营管理干部培训教材【企业经营管理推荐】.ppt
- BlueCoat__SG_使用者经验.ppt
- 2012届高三地理复习课件(安徽用)必修3第1章第2节__地理信息技术在区域地理环境研究中的应用.ppt
- 《高考调研》2012届高三第一轮复习(文理数)第二章《函数》课件2-专题1.ppt
- 专题一:国家统一与分裂问题考点1、基础知识.ppt
- Navigating the Changes to the NIH Application Instructions在美国国立卫生研究院的应用程序指令的变化.ppt
- 托福强化长期突破班[突破英语等级考试].ppt
- 02-现代表面工程学导论-- 表面基本理论-2.ppt
- The Role and Contribution of Women’s Entrepreneurship和妇女创业贡献作用.ppt
- 2012高考地理大一轮复习课件:第一册 第三单元 单元整合.ppt
- 新课标人教版小学语文课件《台湾的蝴蝶谷》.ppt
- 新建项目投资决策分析.ppt
- 第八章 绩效考核[突破高绩效管理].ppt
- 单片机的程序设计--.ppt
- 高一化学(4-1硅(第一课时)).ppt
- 2012《金版新学案》高三一轮(安徽专版)物理:第4章 曲线运动 万有引力与航天 第二讲 精品课件.ppt
- 66英语四级三次[突破英语等级考试].ppt
最近下载
- 贵州省凯里市事业单位考试(中小学教师类D类)职业能力倾向测验重点难点精练试题及答案1套.docx VIP
- 温度控制系统以及温度控制方法.pdf VIP
- 物业费用测算自动公式表.xls VIP
- 2025-2026学年山东省泰安市肥城市六年级上期末数学试卷(附答案解析).pdf VIP
- 《入党志愿书空白表格.doc VIP
- 专题12 简单机械-2023中考物理一轮复习讲义.pdf VIP
- 2025届上海市高考各区二模考试物理试卷汇编 (共16套,附答案).pdf VIP
- 2025年济宁中考物理试题及答案.docx VIP
- 2025年山东学位英语真题及答案.docx VIP
- 高中物理实验与生活实践相结合的教学策略研究教学研究课题报告.docx
原创力文档

文档评论(0)