Direct Memory Access
Direct Memory Access
4.
5.
Methods for DMA Transfer of Data Data can be transferred in several ways under DMA control. These methods are discussed below: 1. DMA Block Transfer: A sequence of data words of an arbitrary length is transferred in a single stream while DMA controller is the master of the bus, i.e. System Bus. Block DMA supports maximum I/O data transmission rates but it may require the CPU to remain inactive for relatively longer periods, and this accounts for the disadvantage of DMA block transfer. 2. Cycle Stealing Mode: This scheme allows the DMA controller to transfer data in one, two or more data words at a time after which it must return the control of the bus to the CPU. Thus, cycle stealing reduces the maximum I/O transfer rate but it also reduces interference by the DMA controller in other activities of the CPU. 3. Transparent DMA: Here, the bus cycles are stolen only when the CPU is not actually using the system bus.
Compiled by: Preetinder Singh Brar, Assistant Professor, Chitkara University, Punjab Campus Page 1
Computer Architecture
CPU
Address Register (AR) Instruction Register (IR) Accumulator (AC) Control Unit (CU) Data Count Register (DC) Control Unit (CU)
DMA Controller
IO Address Register (IOAR) IO Data Register (IODR)
I/O Devices
Compiled by: Preetinder Singh Brar, Assistant Professor, Chitkara University, Punjab Campus Page 2