harduaampajeetrawat
23 views
15 slides
May 29, 2024
Slide 1 of 15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
About This Presentation
this is civil brach student
Size: 487.41 KB
Language: en
Added: May 29, 2024
Slides: 15 pages
Slide Content
Understanding Direct Memory Access (DMA) Submmitted by Amrita k hera mam S ubmmitted to Name- Neeraj salam Sem – 5 th Branch –EC En. no - 018
content Trinity Introduction What is DMA controller Block diagram of DMA controller Type of DMA Difference between DMA processor and normal processor Advantage of DMA Disadvantage of DMA Submmited by Amrita k hera mam
Direct Memory Access (DMA) is a capability provided by some computer bus architectures that enables data to be sent directly from an attached device, such as a disk drive , to the main memory on the computer's motherboard . Introduction first use of DMA is the IBM 709 vacuum tube computer from 1958. DMA is Rob Beynon The founder of DMA
What is DMA ? DMA stand for direct memory access Direct memory access use hardware for accessing the memory ,that hardware called a DMA controller . It has the work of transferring the data between the input output devices and the main memory with very less interaction with the processor .
block diagram of 8257 controller
Pin diagram of 8257 DMA
. Address register – It contains the address to specify the desired location in memory. Word count register – It contains the number of words to be transferred Control register – It specifies the transfer mode Components of DMA
Block diagram of DMA CPU Peri pheral unit DMA CONTROLER MEMORY BUS Handshake data Handshake Master interface Slave interface
Single –ended DMA Dual-ended DMA Arbitrated-ended DMA Interleaved DMA Types of DMA
Single –ended DMA single –ended DMA Controllers operate by reading and writing from a single memory address. They are the simplest DMA Dual-Ended DMA controllers can read and write from two memory addresses. Dual-ended DMA is more advanced than single-ended DMA. Dual-Ended DMA
DMA: Arbitrated -Ended DMA works by reading and writing to several memory addresses. It is more advanced than Dual-Ended DMA.Arbitrated -Ended : Interleaved DMA are those DMA that read from one memory address and write from another memory address. Interleaved DMA
DMA processor and processor I/P CPU CPU I/P DMA ? o/p o/p
Advantage of DMA Data memory access speed up memory operations and data transfer . CPU not involved while the transferring data. DMA helps the CPU in deceasing its load D MA requires very few clock cycle while the transferring data . DMA distributes workload very appropriately .
Disadvantage of DMA Direct Memory Access is a costly operation because of additional operations. DMA suffers from Cache-Coherence Problems. DMA Controller increases the overall cost of the system. DMA Controller increases the complexity of the software .