Академический Документы
Профессиональный Документы
Культура Документы
On
Direct Memory Access
(DMA)
Department of Computer
Engineering,
M.S.P.V.L. Polytechnic College,
Introduction
• The transfer of data between the memory
and an external device without involving
the micro processor improves the speed of
transfer.
www.ustudy.in
DMA Controller
Address bus
Internal bus
DMA select CS Address register
Register select RS
Read RD Word count register
Write WR
Control
Bus request BR logic Control register
Bus grant BG
DMA request
Interrupt Interrupt
to I/O device
DMA Acknowledge
www.ustudy.in
DMA Controller
• DMA controller is used to transfer the data between the memory
and i/o device.
bidirectional.
data bus.
Interrupt
BG Random access
CPU
memory (RAM)
BR
Read control
Write control
Data bus
Address bus
Address
select
RD WR Address Data
DMA acknowledge
DS
RS Direct memory I/O
access (DAM) Peripheral
BR controller device
DMA request
BG
Interrupt
www.ustudy.in
Process of DMA Transfer
• To initiate a DMA transfer, the CPU loads the
address of the first memory location of the
memory block (to be read or written from) into
the DMA address register. It does his via an I/O
output instruction, such as the OTPT instruction
for the relatively simple CPU.
Central Processing
unit (CPU)
Memory bus
Peripheral devices
Memory unit PD PD PD PD
Input-output
processor (IOP) I/O bus
www.ustudy.in
Introduction
• IOP :
an IOP
the CPU
Send instruction
Transfer status word
to test IOP path
to memory location
Continue
www.ustudy.in
CPU - IOP Communication
• The communication between CPU and IOP may take
different forms depending on the particular computer
considered.
• The CPU sends a test I/O instruction to IOP to test the IOP
path.
Thank U
www.ustudy.in