SlideShare una empresa de Scribd logo
1 de 16
DMA Controller
Module 5. Input and
output Organization
By
Ananta patekar.
Aditya pokharker.
Shubham kuwar.
Types of data transfer mode
• Programmed I/O
• Interrupt driven I/O
• DMA (Direct Memory Access)
]
Programmed I/O
• Operation:-
1. Address the Device.
2. Check its status.
3. IF ready
perform operation
else
check another device
Interrupt driven I/O
• Operation:-
• Device interrupt’s CPU
• CPU acknowledge the
I/O device.
• CPU perform operation
Direct Memory Access
• Operation:-
• CPU call DMA for
operation
• It will allow the device to
access memory directly.
Need of DMA
• DMA, or Direct Memory Access, is a sub controller
that can access memory in sequential order without
intervention from the processor. DMA is used to
moving around large amounts of data in the
computer without taking time away from the
processor.
• The first major uses of DMA included drive
controllers and sound cards.
Basic operation’s of DMA
• DMA provide direct access to memory.
• For fast operation DMA work as a bus master.
• Direct Memory Access is a method of transferring
data between peripherals and memory without using
the CPU.
DMA Data Transfer
• It is data transfer technique directly between memory
and I/O without CPU intervention.
• Under the supervision of extra hardware called
DMA controller .
• Fastest type of data transfer technique among this
parallel group.
DMA Data Transfer
• 1. The I/O device asserts DRQ signal.
• 2. DMA controller send HOLD signal to
microprocessor
• 3. microprocessor Send HLDA to DMA Controller& DMA
Takes charge of system bus.
• 4. DMA give DMA ACK(back) signal to I/O devices
• 5.now, DMA controller places memory address on address bus
and data bytes from memory transfer to I/O .
• 6.DMA Controller updates memory address register and word
count register.
• 7. when internal count = 0 then DMA Controller sets
HOLD=0
• 8. now processor regain the charge od the system bus which
continues the normal operation.
Types DMA based data transfer
techniques
• Byte /cycle stealing mode.
• Burst /demand mode.
• Continuous / block mode.
Byte /cycle stealing mode.
Burst /demand mode.
Continuous / block mode.
Questions
1) Q. Write short note on DMA/programmed i/o and
interrupt i/o?
M[15]
2) Q. Explain in brief DMA data transfer techniques
with diagram?
M[10 ]
Direct memory access

Más contenido relacionado

La actualidad más candente

Cache memory
Cache memoryCache memory
Cache memory
Anuj Modi
 
Dma transfer
Dma transferDma transfer
Dma transfer
gmnithya
 

La actualidad más candente (20)

Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Cache memory
Cache memoryCache memory
Cache memory
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Cache memory
Cache memoryCache memory
Cache memory
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
Lecture 3 instruction set
Lecture 3  instruction setLecture 3  instruction set
Lecture 3 instruction set
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Transfer Modes | Computer Science
Transfer Modes | Computer ScienceTransfer Modes | Computer Science
Transfer Modes | Computer Science
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentation
 
Direct Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and ImplementationDirect Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and Implementation
 
DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Stack organization
Stack organizationStack organization
Stack organization
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Dma transfer
Dma transferDma transfer
Dma transfer
 

Similar a Direct memory access

Similar a Direct memory access (20)

DMA Controller Presentation
DMA Controller PresentationDMA Controller Presentation
DMA Controller Presentation
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Direct Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxDirect Memory Access (DMA).pptx
Direct Memory Access (DMA).pptx
 
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhjfathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
 
coadma-150401131446-conversion-gate01.pptx
coadma-150401131446-conversion-gate01.pptxcoadma-150401131446-conversion-gate01.pptx
coadma-150401131446-conversion-gate01.pptx
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
 
I/o management and disk scheduling .pptx
I/o management and disk scheduling .pptxI/o management and disk scheduling .pptx
I/o management and disk scheduling .pptx
 
07 input output
07 input output07 input output
07 input output
 
Ch 7 io_management & disk scheduling
Ch 7 io_management & disk schedulingCh 7 io_management & disk scheduling
Ch 7 io_management & disk scheduling
 
computer system structure
computer system structurecomputer system structure
computer system structure
 
ch -6 IO.pptx
ch -6 IO.pptxch -6 IO.pptx
ch -6 IO.pptx
 
ppppptttt.pdf
ppppptttt.pdfppppptttt.pdf
ppppptttt.pdf
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
 
Unit v: Device Management
Unit v: Device ManagementUnit v: Device Management
Unit v: Device Management
 
I/O Management
I/O ManagementI/O Management
I/O Management
 

Último

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Último (20)

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 

Direct memory access

  • 1. DMA Controller Module 5. Input and output Organization By Ananta patekar. Aditya pokharker. Shubham kuwar.
  • 2. Types of data transfer mode • Programmed I/O • Interrupt driven I/O • DMA (Direct Memory Access) ]
  • 3. Programmed I/O • Operation:- 1. Address the Device. 2. Check its status. 3. IF ready perform operation else check another device
  • 4. Interrupt driven I/O • Operation:- • Device interrupt’s CPU • CPU acknowledge the I/O device. • CPU perform operation
  • 5. Direct Memory Access • Operation:- • CPU call DMA for operation • It will allow the device to access memory directly.
  • 6. Need of DMA • DMA, or Direct Memory Access, is a sub controller that can access memory in sequential order without intervention from the processor. DMA is used to moving around large amounts of data in the computer without taking time away from the processor. • The first major uses of DMA included drive controllers and sound cards.
  • 7. Basic operation’s of DMA • DMA provide direct access to memory. • For fast operation DMA work as a bus master. • Direct Memory Access is a method of transferring data between peripherals and memory without using the CPU.
  • 8. DMA Data Transfer • It is data transfer technique directly between memory and I/O without CPU intervention. • Under the supervision of extra hardware called DMA controller . • Fastest type of data transfer technique among this parallel group.
  • 10. • 1. The I/O device asserts DRQ signal. • 2. DMA controller send HOLD signal to microprocessor • 3. microprocessor Send HLDA to DMA Controller& DMA Takes charge of system bus. • 4. DMA give DMA ACK(back) signal to I/O devices • 5.now, DMA controller places memory address on address bus and data bytes from memory transfer to I/O . • 6.DMA Controller updates memory address register and word count register. • 7. when internal count = 0 then DMA Controller sets HOLD=0 • 8. now processor regain the charge od the system bus which continues the normal operation.
  • 11. Types DMA based data transfer techniques • Byte /cycle stealing mode. • Burst /demand mode. • Continuous / block mode.
  • 15. Questions 1) Q. Write short note on DMA/programmed i/o and interrupt i/o? M[15] 2) Q. Explain in brief DMA data transfer techniques with diagram? M[10 ]