IOandBus-北京大學微處理器研究開發中心.ppt
Let me show you what I mean. For example here, the CPU receives a keyboard interrupt request in the middle of the Divide instruction. If the divide instruction causes an divide by 0 exception , we have to handle it immediately. But here we have an interrupt, we can say, well, I have been spending all this time doing this divide and is almost finish, let’s wait. So the interrupt is not taken until after the divide instruction has completed. As far as generating the interrupt target address is concerned, we also have two options. First is the low cost version. We make all interrupts go to a common address and let the software to figure out what to do next. Then for those you like to built complicated hardware, you can make the hardware automatically branch to different addresses based on the interrupt type and/or level. This is called vectored interrupt. +2 = 70 min. (Y:50) Finally, lets see how we can delegate some of the I/O responsibilities from the CPU. The first option is Direct Memory Access which take advantage of the fact that I/O events often involve block transfer: you are not going to access the disk 1 byte at a time. The DMA controller is external to the processor and can acts as a bus master to transfer blocks of data to or from memory and the I/O device without CPU intervention. This is how it works. The CPU sends the starting address, the direction and length of the transfer to the DMA controller and issues a start command. The DMA controller then take over from there and provides handshake signals required (point to the last text block) to complete the entire block transfer. So the DMA controller are pretty intelligent. If you add more intelligent to the DMA controller, you will end up with a IO processor or IOP for short. +2 = 72 min. (Y:52) The IOP is so smart that the CPU only needs to issue a simple instruction (Op, Device, Address) that tells them what is the target device and where to find more commands (Addr). The IOP will then fetch comm
您可能关注的文档
- 8900型1310nm光發射機.doc.doc
- 9.1數控機床的選擇方法.ppt
- 9.消歧需要詞例知識黃昌寧.ppt
- 9701上課講義.ppt
- 9內膜系統與蛋白質分選.doc
- A06357重點稅源企業稅收信息(月報)表.doc
- 9棘皮動物門.ppt
- Ac-兗礦信息化中心-兗礦集團.ppt
- AC990會計軟件常用問題解答Q我單位用的是ac990會計軟件,昨天.doc
- ADHD兒童在不同通道干擾下的干擾控制特點課題論證與點評.ppt.ppt
- 最新部编版人教版小学语文一年级下册《看图写话》精品课件.pptx
- 最新部编版人教版小学语文一年级下册《动物儿歌》精品课件.pptx
- 最新部编版小学三年级语文上册《口语交际四:名字里的故事》名师教学课件.pptx
- 最新部编版人教版小学一年级语文下册《荷叶圆圆》精品教学课件-(2).ppt
- 最新部编版人教版小学语文一年级下册《动物王国开大会》精品课件.pptx
- 最新部编版小学三年级语文上册《总也倒不了的老屋》优秀课件.pptx
- 部编人教版一年级语文下册《动物王国开大会》课件.pptx
- 最新部编版人教版小学语文一年级下册《语文园地四》精品课件.pptx
- 部编人教版一年级语文下册《夜色》名师课件.ppt
- 2025-2026学年 高一英语上学期期末复习 - 阅读理解CD (解析版)(江苏地区).docx
原创力文档

文档评论(0)