1 / 7

Memory and I/O Subsystems

Memory and I/O Subsystems. Memory Subsystems. Memory hierarchy Memory types RAM Static Dynamic ROM Size designations: “ A x B ” A words of memory log 2 A address connections B bits per word B data connections. Input/ Output. CPU. Memory. 32. Data Bus. System Bus. 32.

eloise
Télécharger la présentation

Memory and I/O Subsystems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Memory and I/O Subsystems

  2. Memory Subsystems • Memory hierarchy • Memory types • RAM • Static • Dynamic • ROM • Size designations: “A x B” • A words of memory log2A address connections • B bits per word B data connections

  3. Input/Output CPU Memory 32 Data Bus System Bus 32 Address Bus Control Bus

  4. RAM Subsystem RAM Cells Address Decoder Memory,I/O Data Bus System Bus Address Bus Control Bus

  5. I/O Device Interfacing • Memory-Mapped I/O (most machines) • Similar bus interfacing for I/O and memory devices • Memory space includes I/O devices • Normal load/store instructions access I/O devices • Dedicated I/O (e.g. Intel CPUs) • A special control bus signal distinguishes memory accesses vs. accesses to I/O devices • Separate memory space and I/O space • Special in/out instructions access I/O devices

  6. I/O Interface Control I/O Device Status Data Address Decoder Data Bus System Bus Address Bus Control Bus

  7. I/O Methodologies • Programmed I/O (slowest) • CPU initiates all I/O operations. • CPU must repeatedly test device for data availability. • Interrupt-Driven I/O • I/O device signals that it has data available • Signalling is done through a system bus control signal (“interrupt request”). • CPU executes a special interrupt service routine to handle I/O • Requires hardware support (interrupt request arbitration) • Direct Memory Access (DMA) (fastest) • I/O system becomes the bus master and transfers data directly between memory and the I/O device. • CPU is “asleep” during the transfer. • Requires hardware support (interrupt system, DMA controller)

More Related