โ Computer Organization & Architecture learning pathComputer Organization & Architecture ยท Module 8 of 10
Input/output organisation
Polling, interrupts, DMA and buses.
๐ Key ideas
- I/O techniques: programmed I/O (polling), interrupt-driven I/O and direct memory access (DMA).
- DMA lets a controller move blocks between device and memory without the CPU copying each word.
- Buses: system bus, PCI Express for expansion cards, USB for peripherals, SATA/NVMe for storage.
- Bus arbitration decides which device uses a shared bus.
- Interrupt priority and vectors decide which device is served first.
๐ก Real-life example: DMA is like a courier delivering a whole box to your room, instead of you carrying each item from the gate yourself.
DMADirect memory access without CPU copying
Programmed I/OCPU polls and moves every word
PCI ExpressHigh-speed serial expansion bus
Bus arbitrationDeciding which device controls the bus