Direct Memory Access in Computer Architecture
Direct Memory Access:
Direct Memory Access is a process where the data transforms between the microprocessor (CPU), memory and peripheral devices. It is directly without the involvement of the microprocessor (CPU).
DMA in Computer Architecture:
The CPU first initializes the DMA. The CPU should send some useful information to the DMA controller. The DMA controller is to manage the memory buses directly. It would improve the speed of data transfer. This process is managed by a chip known as a DMA controller (DMAC). The CPU is idle and it has no control of the memory buses. A DMA controller takes over the buses to manage the transfer directly between the I/O device and memory.
Operation of Direct Memory Access:
DMA Controller in Computer Architecture:
DMA Controller is a control unit. It’s a part of the I/O device’s interface circuit. It can transfer blocks of the data between I/O devices and the main memory. DMA controller acts as station master. It transfers the data with minimal intervention of the processor. When the DMA controller receives the above information, the DMA starts and continues to transfer data between memory and I/O devices until an entire block transfer. When the assigned job of the DMA is done, it informs the CPU about the termination of the job.
DMA can use for “memory to memory” copying or moving of data within memory. DMA is also used in the network-on-chip and in-memory computing architectures. Many hardware systems are uses DMA. It including disk drive controllers, Graphics Cards, network cards, sound cards, etc.