SlideShare a Scribd company logo
9
Most read
10
Most read
11
Most read
COMPUTER
ORGANISATION
PPT ON
I/O TECHNIQUE
1.PROGRAMMED I/O
 CPU controls the entire process
 Can waste CPU time
2.INTERRUPT DRIVEN I/O
 Processor issue command
 Device proceeds and leaves processor
free
3.DIRECT MEMORY ACCESS(DMA)
 Programmed I/O refers to data transfer initiated by a CPU
under driver software control to access registers or
memory on a device.
 The CPU issue a command then waits for I/O operations to
be complete.
 CPU has direct control over I/O
-sensing status
-read/write commands
-transferring data
 CPU waits for I/O module to complete operation
 Wastes CPU time
PROGRAMMED I/O
IO Techniques in Computer Organization
PROGRAMMED I/O BASICALLY WORKS IN
THIS WAY:-
 CPU request I/O operation
 I/O module performs operation
 I/O module sets status bits
 CPU checks the status bit periodically
 I/O module does not inform CPU directly
 I/O module does not interrupt CPU
CPU may wait or come back later
 Overcomes CPU waiting
 Avoids repeated checking of device by
CPU
I/O module interrupt when ready
INTERRUPT DRIVEN I/O
 CPU issues read command
 I/O module gets data from peripheral while CPU
does the other work
 I/O module interrupts CPU
 CPU request data
 I/O module transfer data
INTERRUPT DRIVEN I/O BASIC OPERATION
IO Techniques in Computer Organization
 DMA allows device to communicate directly with memory
without passing data through the CPU.
 During DMA ,the CPU is idle and has no control of the
memory buses.
DIRECT MEMORY ACCESS
 DMA access needs a special hardware called DMA
CONTROLLER that manage the data transfer and arbitrates
access to the system bus.
 DMA controller needs the usual circuit of an interface to
communicate with the CPU and I/O device
IO Techniques in Computer Organization
The figure shows the block diagram
of a typical DMA controller.
The DMA controller has three registers:-
1.Word counter register-it holds the numbers of words
to be transferred.
2.Control register-It specifies the mode of transfer.
3.Address register-It contain an address to specify the
desired location in memory.
IO Techniques in Computer Organization

More Related Content

PDF
Programed I/O Modul..
PPTX
Register organization, stack
PPTX
Harvard architecture
PPT
Interrupt
PPTX
Input Output Organization
PPTX
Stacks & subroutines 1
PPTX
Direct Memory Access(DMA)
PPTX
DMA and DMA controller
Programed I/O Modul..
Register organization, stack
Harvard architecture
Interrupt
Input Output Organization
Stacks & subroutines 1
Direct Memory Access(DMA)
DMA and DMA controller

What's hot (20)

PDF
Unit 4-input-output organization
PPTX
DMA operation
PPTX
Interrupts
PPTX
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
PPT
Unit 5 I/O organization
PPTX
Memory system
PPTX
Unit-4 (IO Interface).pptx
PPTX
Memory Organization
PPTX
Multiprocessor
PDF
Unit 2 mpmc
PPTX
Instruction Cycle in Computer Organization.pptx
PPTX
Hardwired control
PPT
Central processing unit and stack organization r013
PPTX
Auxiliary Memory in computer Architecture.pptx
PPTX
Direct Memory Access
PPTX
Computer registers
PPTX
Input output interface
PPTX
3.programmable interrupt controller 8259
PDF
Unit 4-input-output organization
DMA operation
Interrupts
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Unit 5 I/O organization
Memory system
Unit-4 (IO Interface).pptx
Memory Organization
Multiprocessor
Unit 2 mpmc
Instruction Cycle in Computer Organization.pptx
Hardwired control
Central processing unit and stack organization r013
Auxiliary Memory in computer Architecture.pptx
Direct Memory Access
Computer registers
Input output interface
3.programmable interrupt controller 8259
Ad

Similar to IO Techniques in Computer Organization (20)

PDF
Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf
PPTX
I/O Management
PPTX
Chapter 5 IO Unit.pptx we are electrical
PPTX
Modes of data transfer.computer architecture.
PDF
Unit 6
PDF
modes of transfer computer architecture.
PPTX
Lecture 9.pptx
PPTX
Input Output - Computer Architecture
PPTX
Modes of transfer
PDF
Unit 4-input-output organization
PPTX
Direct memory access (dma)
PDF
chapter5-Input-output.pdf
PPTX
inputoutputorganization-140722085906-phpapp01.pptx
PPTX
Input - output organzation
PPTX
Modes of data transfer
PPTX
Direct Memory Access (DMA) in Computer Organisation and Architecture pptx
PPTX
Input output in computer Orgranization and architecture
PDF
computer system structure
PPTX
This pot is about computer architecture.
PPTX
Computer Organization Video Presentation
Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf
I/O Management
Chapter 5 IO Unit.pptx we are electrical
Modes of data transfer.computer architecture.
Unit 6
modes of transfer computer architecture.
Lecture 9.pptx
Input Output - Computer Architecture
Modes of transfer
Unit 4-input-output organization
Direct memory access (dma)
chapter5-Input-output.pdf
inputoutputorganization-140722085906-phpapp01.pptx
Input - output organzation
Modes of data transfer
Direct Memory Access (DMA) in Computer Organisation and Architecture pptx
Input output in computer Orgranization and architecture
computer system structure
This pot is about computer architecture.
Computer Organization Video Presentation
Ad

Recently uploaded (20)

PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Pre independence Education in Inndia.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
master seminar digital applications in india
PPTX
Cell Structure & Organelles in detailed.
PDF
Insiders guide to clinical Medicine.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
STATICS OF THE RIGID BODIES Hibbelers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pre independence Education in Inndia.pdf
Complications of Minimal Access Surgery at WLH
Renaissance Architecture: A Journey from Faith to Humanism
Module 4: Burden of Disease Tutorial Slides S2 2025
VCE English Exam - Section C Student Revision Booklet
TR - Agricultural Crops Production NC III.pdf
master seminar digital applications in india
Cell Structure & Organelles in detailed.
Insiders guide to clinical Medicine.pdf
Sports Quiz easy sports quiz sports quiz
FourierSeries-QuestionsWithAnswers(Part-A).pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
GDM (1) (1).pptx small presentation for students
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Final Presentation General Medicine 03-08-2024.pptx
PPH.pptx obstetrics and gynecology in nursing
human mycosis Human fungal infections are called human mycosis..pptx

IO Techniques in Computer Organization

  • 2. I/O TECHNIQUE 1.PROGRAMMED I/O  CPU controls the entire process  Can waste CPU time 2.INTERRUPT DRIVEN I/O  Processor issue command  Device proceeds and leaves processor free 3.DIRECT MEMORY ACCESS(DMA)
  • 3.  Programmed I/O refers to data transfer initiated by a CPU under driver software control to access registers or memory on a device.  The CPU issue a command then waits for I/O operations to be complete.  CPU has direct control over I/O -sensing status -read/write commands -transferring data  CPU waits for I/O module to complete operation  Wastes CPU time PROGRAMMED I/O
  • 5. PROGRAMMED I/O BASICALLY WORKS IN THIS WAY:-  CPU request I/O operation  I/O module performs operation  I/O module sets status bits  CPU checks the status bit periodically  I/O module does not inform CPU directly  I/O module does not interrupt CPU CPU may wait or come back later
  • 6.  Overcomes CPU waiting  Avoids repeated checking of device by CPU I/O module interrupt when ready INTERRUPT DRIVEN I/O
  • 7.  CPU issues read command  I/O module gets data from peripheral while CPU does the other work  I/O module interrupts CPU  CPU request data  I/O module transfer data INTERRUPT DRIVEN I/O BASIC OPERATION
  • 9.  DMA allows device to communicate directly with memory without passing data through the CPU.  During DMA ,the CPU is idle and has no control of the memory buses. DIRECT MEMORY ACCESS  DMA access needs a special hardware called DMA CONTROLLER that manage the data transfer and arbitrates access to the system bus.  DMA controller needs the usual circuit of an interface to communicate with the CPU and I/O device
  • 11. The figure shows the block diagram of a typical DMA controller. The DMA controller has three registers:- 1.Word counter register-it holds the numbers of words to be transferred. 2.Control register-It specifies the mode of transfer. 3.Address register-It contain an address to specify the desired location in memory.