SlideShare a Scribd company logo
I/O Organization
By
Zaynab
Contents
 I/O Organization
 Peripheral Devices
 Input-Output Interface
 Input / Output System
 Programmed I/O
 Direct Memory Access (DMA)
 Interrupt
I/O Organization
The Input / output organization of computer depends
upon the size of computer and the peripherals
connected to it. The I/O Subsystem of the computer,
provides an efficient mode of communication
between the central system and the outside
environment.
Peripheral Devices
An external device connected to an I/O module
Provide a means of exchanging data between the
external device environment and the computer.
Attach to the computer by a link to an I/O module
The link is used to exchange control, status, and
data between the I/O module and the external
device.
Peripheral Devices
The most common input output devices are:
i) Monitor
ii) Keyboard
iii) Mouse
iv) Printer
v) Magnetic tapes
The devices that are under the direct control of the
computer are said to be connected online.
Peripheral Devices
Three categories of external device:
Human readable
Suitable for communicating with the computer user
Video display terminals (VDTs), printers.
Machine readable
Suitable for communicating with equipment
Magnetic disk and tape systems, sensors and actuators.
Communication
Suitable for communicating with remote devices such as a
terminal, a machine readable device, or another
computer.
Input - Output Interface
Input Output Interface provides a method for
transferring information between internal storage
(such as memory and CPU registers) and external
I/O devices. Peripherals connected to a computer
need special communication links for interfacing
them with the central processing unit.
Input - Output Interface
The purpose of communication link is to
resolve the differences that exist between
the central computer and each peripheral.
The Major Differences are:-
1. Peripherals are electromechanically and electromagnetic
devices and their manner of operation of the CPU and
memory, which are electronic devices. Therefore, a
conversion of signal values may be needed.
2. The data transfer rate of peripherals is usually slower
than the transfer rate of CPU and consequently, a
synchronization mechanism may be needed.
The Major Differences are:-
3. Data codes and formats in the peripherals differ from
the word format in the CPU and memory.
Peripherals- Byte, Block, …
CPU or memory- word.
4. The operating modes of peripherals are different from
each other and must be controlled so as not to disturb
the operation of other peripherals connected to the
CPU.
Input - Output Interface
To Resolve these differences, computer systems
include special hardware components between the
CPU and Peripherals to supervises and synchronizes
all input and out transfers. These components are
called Interface Units because they interface
between the processor bus and the peripheral devices.
i/o module function
 Control and timing: cordinates the flow of traffic between
internal resources and external devices.
 Processor communication: involves command decoding
data status reporting address recognition.
 Error detection: detect and reports transmission errors.
 Data buffering: perform the needed buffeing operation to
balance device and memory speeds.
 Device communication: involves commands, status
information and data.
I/O Module Structure
I/O BUS and Interface Module
It defines the typical link between the processor and
several peripherals. The I/O Bus consists of data
lines, address lines and control lines.
Processor
Interface Interface Interface
Keyboard
and
display
terminal
Printer Magnetic
disk
Data line
Address line
Control line
Connection of I/O bus to input-output devices
I/O BUS and Interface Module
I/O Commands
There are four types of I/O commands that an I/O module may
receive when it is addressed by a processor:
Control
- used to activate a peripheral and tell it what to do.
Test
- used to test various status conditions associated with
an I/O module and its peripherals.
Read
- causes the I/O module to obtain an item of data from
the peripheral and place it in an internal buffer.
Write
- causes the I/O module to take an item of data from the
data bus and subsequently transmit that data item to the
peripheral.
Input / Output System
There are two methods in which the Processor can address the
input/output devices:
In the First arrangement, I/O devices are assigned particular addresses,
isolated from the address space assigned to the memory . The execution of an
input instruction at an input device address will cause the character stored in the
input register of that device to be transferred to a specific register in the CPU.
Similarly, the execution of an output instruction . This arrangement, called
”Shared I/O’’, in the case, the address and data lines from the CPU
can be shared between the memory and I/O devices. A separate control
line will have to be used. This is because of the need for executing input and
output instruction.
Input/ Output System
The main Advantage of the Shared I/O arrangement is
the Separation between the memory address space and
that of the I/O devices.
Its main Disadvantage is the need to have special input
and output instruction in the processor instruction set.
processor Memory
Address Bus
Data Bus
Memory Control Bus
Figure( Memory-mapped I/O arrangement )
Output Device
(Graphic Display)
Input Device
(Keyboard)
Input/ Output System
The Second, possible I/O arrangement is deal with input and output
registers as if they are regular memory locations. For example, Read
Device 6 is equivalent to performing an input operation from the
input register in Device #6. Similarly, a write operation. This
arrangement is called Memory – Mapped I/O.
The main advantage of the memory-mapped I/O is the
use of the read and write instructions of the processor to
perform the input and output operations, respectively. It
eliminates the need for introducing special I/O instructions.
The main Disadvantage of the memory-mapped I/O is
the need to reserve a certain part of the memory address
space for addressing I/O devices, that is, a reduction in the
available memory address space.
I/O Mapping Summary
Memory mapped I/O
Devices and memory share an address space.
`I/O looks just like memory read/write
No special commands for I/O
Large selection of memory access commands
available
Isolated I/O
Separate address spaces
Need I/O or memory select lines
Special commands for I/O
Limited set
Input Output Techniques
Programmed I/O
Programmed i/o refers to data transfers initiated by a (cpu)
under driver software control to access registers or memory
on a device.
The cpu issues a command then waits for i/o operations to
be complete. As the cpu is faster than the i/o module, the
problem with programmed i/o is that the cpu has to wait
along time for the i/o module of concern to be ready for
either reception or transmission of data .the cpu, while
waiting must repeatedly check the status of the i/o module,
and this process is known as polling . As a result , the level
of the performance of the entire system is severely
degraded.
Programmed i/o basically works in these ways :
Programmed I/O - detail
•CPU requests I/O operation.
•I/O module performs operation.
•I/O module sets status bits.
•CPU checks status bits periodically.
•I/O module does not inform CPU
directly.
•I/O module does not interrupt CPU.
•CPU may wait or come back later.
I/O Commands
•CPU issues address
Identifies module (& device if >1 per module)
•CPU issues command
Control - telling module what to do
e.g. spin up disk
Test - check status
e.g. power? Error?
Read/Write
Module transfers data via buffer from/to
device
Interrupt Driven I/O
The CPU issues commands to the i/o module then proceeds with
its normal work until interrupted by i/o device on completion
of its work. For input, the device interrupts the cpu when new data
has arrived and is ready to be arrived by the system processor .
The actual actions to perform depend on whether the device uses
i/o ports, memory mapping.
For output, the deice delivers an interrupt either when it is ready to
accept new data or to acknowledge asuccessful data transfer.
Memory mapped and DMA- capable device usualy generate
interrupt to tell the system they are done with the buffer . although
interrupt relieves the cpu of having to waite for the device, but it is
still inefficient in data transfer of large amount because the cpu has
to transfer the data word by word between i/o module and memory
. Below are the basic operations of interrupt.
.
Interrupt Driven I/O
Basic Operation
•CPU issues read command.
•I/O module gets data from peripheral whilst CPU
does other work.
•I/O module interrupts CPU.
•CPU requests data.
•I/O module transfers data.
Types of Interrupts
Hardware Interrupts: If the signal for the processor is from
external device or hardware is called hardware interrupts.
Example: from keyboard we will press the key to do some
action this pressing of key in keyboard will generate a signal
which is given to the processor to do action, such interrupts
are called hardware interrupts. Hardware interrupts can be
classified into two types they are:
•Maskable Interrupt: The hardware interrupts which can be
delayed when a much highest priority interrupt has occurred
to the processor.
•Non Maskable Interrupt: The hardware which cannot be
delayed and should process by the processor immediately.
Software Interrupts: Software interrupt can also divided in
:to two types. They are
•Normal Interrupts: the interrupts which are caused by the
software instructions are called software instructions.
•Exception: unplanned interrupts while executing a program
is called Exception. For example: while executing a program
if we got a value which should be divided by zero is called a
exception.
Design Issues
How do you identify the module issuing the
interrupt?
How do you deal with multiple interrupts?
i.e. an interrupt handler being interrupted
Identifying Interrupting Module (1)
Different line for each module.
PC
Limits number of devices.
Software poll.
CPU asks each module in turn
Slow
Identifying Interrupting Module (2)
•Daisy Chain or Hardware poll
-Interrupt Acknowledge sent down a chain
-Module responsible places vector on bus
-CPU uses vector to identify handler routine
•Bus Master
Module must claim the bus before it can raise
interrupt
e.g. PCI & SCSI
Direct Memory Access (DMA)
Direct Memory Access (DMA) means CPU grants I/O module authority to
read from or write to memory without involvement DMA module controls
exchange of data between main memory and the I/O device. Because of
DMA device can transfer data directly to and from memory, rather than
using the CPU as an intermediary, and can thus relieve congestion on the
bus. CPU is only involved at the beginning and end of the transfer and
interrupted only after entire block has been transferred . Direct Memory
Access needs a special hardware called DMA controller (DMAC) that
manages the data transfers and arbitrates access to the system bus. The
controllers are programmed with source and destination pointers (where
to read/write the data), counters to track the number of transferred bytes,
and settings, which includes I/O and memory types, interrupts and states
for the CPU cycles.DMA increases system concurrency by allowing the
CPU to perform tasks while the DMA system transfers data via the system
and memory busses. Hardware design is complicated because the DMA
controller must be integrated into the system, and the system must allow
the DMA controller to be a bus master. Cycle stealing may also be
necessary to allow the CPU and DMA controller to share use of the
memory bus.
DMA controller
DMA controller has an address register, data count
register, control logic.
address register :contaains an address that specifies the
memory location of the data to be transferred. The DMA
controller automatically increment the address register after
each word transfere, so the transfere will be from the next
memory location.
data count register:holds the number of words to be transfere
,the word count is decremented by one after each word
transfere .
control logic:specifies the transfere mode ( number of DMA
operation they spport).
DMA transfer types:
-Burst mode
the DMA controller keeps control of the bus until all
the data has been transferred to (from ) memory
from (to) the peripheral device. This mode of
transfere is nneeded for fast devices where data
transfere cannot be stopped until the entir transfer
is done .
- Single – cycle mode
the DMA controller releasing the bus after each
transfer of one data word . This minimizes the
amount of time that the DMA controller keeps the
CPU from controlling the bus , but it requires that
the bus request / acknowledge sequence be
performed for every single transfer. the Single –
cycle mode is preferred if the peripheral devices
can buffer very large amounts of data , causing
the DMA controller to tie up the bus for an
excessive amount of time.
DMA Module Diagram
DMA Operation
CPU carries on with other work.
CPU tells DMA controller.
Read/Write.
Device address.
Starting address of memory block for data.
Amount of data to be transferred.
DMA controller deals with transfer.
DMA controller sends interrupt when finished.
DMA Configurations (1)
•Single Bus, Detached DMA
controller
•Each transfer uses bus twice
•I/O to DMA then DMA to
memory
•CPU is suspended twice
DMA Configurations (2)
•Single Bus, Integrated DMA controller
•Controller may support >1 device
•Each transfer uses bus once
•DMA to memory
•CPU is suspended once
DMA Configurations (3)
•Separate I/O Bus
•Bus supports all DMA enabled
devices
•Each transfer uses bus once
•DMA to memory
•CPU is suspended once
Computer architecture input output organization

More Related Content

What's hot

Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
Sandesh Jonchhe
 
Instruction format
Instruction formatInstruction format
Instruction format
Sanjeev Patel
 
Introduction to Computer Architecture and Organization
Introduction to Computer Architecture and OrganizationIntroduction to Computer Architecture and Organization
Introduction to Computer Architecture and Organization
Dr. Balaji Ganesh Rajagopal
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
Signed Addition And Subtraction
Signed Addition And SubtractionSigned Addition And Subtraction
Signed Addition And Subtraction
Keyur Vadodariya
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
cs19club
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
Roshan kumar sahu
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
Input & Output
Input & OutputInput & Output
Input & Output
Dilum Bandara
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
Suvendu Kumar Dash
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
pradeepa velmurugan
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
Sanjeev Patel
 
Computer architecture control unit
Computer architecture control unitComputer architecture control unit
Computer architecture control unit
Mazin Alwaaly
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
Page Maker
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
Rabin BK
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
Zuhaib Zaroon
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
Mazin Alwaaly
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
Balakrishna Chowdary
 

What's hot (20)

Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Introduction to Computer Architecture and Organization
Introduction to Computer Architecture and OrganizationIntroduction to Computer Architecture and Organization
Introduction to Computer Architecture and Organization
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Signed Addition And Subtraction
Signed Addition And SubtractionSigned Addition And Subtraction
Signed Addition And Subtraction
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Input & Output
Input & OutputInput & Output
Input & Output
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Computer architecture control unit
Computer architecture control unitComputer architecture control unit
Computer architecture control unit
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Computer architecture register transfer languages rtl
Computer architecture register transfer languages rtlComputer architecture register transfer languages rtl
Computer architecture register transfer languages rtl
 
Cache memory
Cache memoryCache memory
Cache memory
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 

Similar to Computer architecture input output organization

IO_ORGANIZATION.pdf
IO_ORGANIZATION.pdfIO_ORGANIZATION.pdf
IO_ORGANIZATION.pdf
GaganaPurshothama
 
Chapter 4
Chapter 4Chapter 4
MODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and architMODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and archit
Sindhu Mani
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
Maruf Abdullah (Rion)
 
chapter7-input-output-COMPUTER organization.pdf
chapter7-input-output-COMPUTER organization.pdfchapter7-input-output-COMPUTER organization.pdf
chapter7-input-output-COMPUTER organization.pdf
SangitaBose2
 
comporgppt.pptx
comporgppt.pptxcomporgppt.pptx
comporgppt.pptx
FaisalAijaz1
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptx
SherinRappai
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
Mukesh Tekwani
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
Muhammad Hamza
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization faria_khan
 
Unit 6
Unit 6Unit 6
Unit 6
pm_ghate
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
EktaVaswani2
 
Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003
Swathi Veeradhi
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
JavedIqbal549896
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
Dhaval Bagal
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organizationchidabdu
 
IOhardware_operting_systems_2022_libya.pdf
IOhardware_operting_systems_2022_libya.pdfIOhardware_operting_systems_2022_libya.pdf
IOhardware_operting_systems_2022_libya.pdf
aptinstallpython3
 
COMPUTER ORGANIZATION NOTES Unit 3 4
COMPUTER ORGANIZATION NOTES  Unit 3 4COMPUTER ORGANIZATION NOTES  Unit 3 4
COMPUTER ORGANIZATION NOTES Unit 3 4
Dr.MAYA NAYAK
 

Similar to Computer architecture input output organization (20)

IO_ORGANIZATION.pdf
IO_ORGANIZATION.pdfIO_ORGANIZATION.pdf
IO_ORGANIZATION.pdf
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
MODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and architMODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and archit
 
Input output module
Input output moduleInput output module
Input output module
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
 
chapter7-input-output-COMPUTER organization.pdf
chapter7-input-output-COMPUTER organization.pdfchapter7-input-output-COMPUTER organization.pdf
chapter7-input-output-COMPUTER organization.pdf
 
comporgppt.pptx
comporgppt.pptxcomporgppt.pptx
comporgppt.pptx
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptx
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
 
Unit 6
Unit 6Unit 6
Unit 6
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
 
Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organization
 
IOhardware_operting_systems_2022_libya.pdf
IOhardware_operting_systems_2022_libya.pdfIOhardware_operting_systems_2022_libya.pdf
IOhardware_operting_systems_2022_libya.pdf
 
COMPUTER ORGANIZATION NOTES Unit 3 4
COMPUTER ORGANIZATION NOTES  Unit 3 4COMPUTER ORGANIZATION NOTES  Unit 3 4
COMPUTER ORGANIZATION NOTES Unit 3 4
 

More from Mazin Alwaaly

Pattern recognition voice biometrics
Pattern recognition voice biometricsPattern recognition voice biometrics
Pattern recognition voice biometrics
Mazin Alwaaly
 
Pattern recognition palm print authentication system
Pattern recognition palm print authentication systemPattern recognition palm print authentication system
Pattern recognition palm print authentication system
Mazin Alwaaly
 
Pattern recognition on line signature
Pattern recognition on line signaturePattern recognition on line signature
Pattern recognition on line signature
Mazin Alwaaly
 
Pattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and earPattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and ear
Mazin Alwaaly
 
Pattern recognition IRIS recognition
Pattern recognition IRIS recognitionPattern recognition IRIS recognition
Pattern recognition IRIS recognition
Mazin Alwaaly
 
Pattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognitionPattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognition
Mazin Alwaaly
 
Pattern recognition Hand Geometry
Pattern recognition Hand GeometryPattern recognition Hand Geometry
Pattern recognition Hand Geometry
Mazin Alwaaly
 
Pattern recognition forensic dental identification
Pattern recognition forensic dental identificationPattern recognition forensic dental identification
Pattern recognition forensic dental identification
Mazin Alwaaly
 
Pattern recognition fingerprints
Pattern recognition fingerprintsPattern recognition fingerprints
Pattern recognition fingerprints
Mazin Alwaaly
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
Mazin Alwaaly
 
Pattern recognition ear as a biometric
Pattern recognition ear as a biometricPattern recognition ear as a biometric
Pattern recognition ear as a biometric
Mazin Alwaaly
 
Pattern recognition 3d face recognition
Pattern recognition 3d face recognitionPattern recognition 3d face recognition
Pattern recognition 3d face recognition
Mazin Alwaaly
 
Multimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networksMultimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networks
Mazin Alwaaly
 
Multimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communicationsMultimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communications
Mazin Alwaaly
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
Mazin Alwaaly
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
Mazin Alwaaly
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
Mazin Alwaaly
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
Mazin Alwaaly
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
Mazin Alwaaly
 

More from Mazin Alwaaly (20)

Pattern recognition voice biometrics
Pattern recognition voice biometricsPattern recognition voice biometrics
Pattern recognition voice biometrics
 
Pattern recognition palm print authentication system
Pattern recognition palm print authentication systemPattern recognition palm print authentication system
Pattern recognition palm print authentication system
 
Pattern recognition on line signature
Pattern recognition on line signaturePattern recognition on line signature
Pattern recognition on line signature
 
Pattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and earPattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and ear
 
Pattern recognition IRIS recognition
Pattern recognition IRIS recognitionPattern recognition IRIS recognition
Pattern recognition IRIS recognition
 
Pattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognitionPattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognition
 
Pattern recognition Hand Geometry
Pattern recognition Hand GeometryPattern recognition Hand Geometry
Pattern recognition Hand Geometry
 
Pattern recognition forensic dental identification
Pattern recognition forensic dental identificationPattern recognition forensic dental identification
Pattern recognition forensic dental identification
 
Pattern recognition fingerprints
Pattern recognition fingerprintsPattern recognition fingerprints
Pattern recognition fingerprints
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
 
Pattern recognition ear as a biometric
Pattern recognition ear as a biometricPattern recognition ear as a biometric
Pattern recognition ear as a biometric
 
Pattern recognition 3d face recognition
Pattern recognition 3d face recognitionPattern recognition 3d face recognition
Pattern recognition 3d face recognition
 
Multimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networksMultimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networks
 
Multimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communicationsMultimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communications
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
 

Recently uploaded

erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
muralinath2
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
Health Advances
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
Richard Gill
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
YOGESH DOGRA
 
extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
DiyaBiswas10
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
aishnasrivastava
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SELF-EXPLANATORY
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
Areesha Ahmad
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
AlguinaldoKong
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
NathanBaughman3
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
Sérgio Sacani
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
muralinath2
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 

Recently uploaded (20)

erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
 
extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
 
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
Astronomy Update- Curiosity’s exploration of Mars _ Local Briefs _ leadertele...
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
 
platelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptxplatelets- lifespan -Clot retraction-disorders.pptx
platelets- lifespan -Clot retraction-disorders.pptx
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 

Computer architecture input output organization

  • 2. Contents  I/O Organization  Peripheral Devices  Input-Output Interface  Input / Output System  Programmed I/O  Direct Memory Access (DMA)  Interrupt
  • 3. I/O Organization The Input / output organization of computer depends upon the size of computer and the peripherals connected to it. The I/O Subsystem of the computer, provides an efficient mode of communication between the central system and the outside environment.
  • 4. Peripheral Devices An external device connected to an I/O module Provide a means of exchanging data between the external device environment and the computer. Attach to the computer by a link to an I/O module The link is used to exchange control, status, and data between the I/O module and the external device.
  • 5. Peripheral Devices The most common input output devices are: i) Monitor ii) Keyboard iii) Mouse iv) Printer v) Magnetic tapes The devices that are under the direct control of the computer are said to be connected online.
  • 6. Peripheral Devices Three categories of external device: Human readable Suitable for communicating with the computer user Video display terminals (VDTs), printers. Machine readable Suitable for communicating with equipment Magnetic disk and tape systems, sensors and actuators. Communication Suitable for communicating with remote devices such as a terminal, a machine readable device, or another computer.
  • 7.
  • 8. Input - Output Interface Input Output Interface provides a method for transferring information between internal storage (such as memory and CPU registers) and external I/O devices. Peripherals connected to a computer need special communication links for interfacing them with the central processing unit.
  • 9. Input - Output Interface The purpose of communication link is to resolve the differences that exist between the central computer and each peripheral.
  • 10. The Major Differences are:- 1. Peripherals are electromechanically and electromagnetic devices and their manner of operation of the CPU and memory, which are electronic devices. Therefore, a conversion of signal values may be needed. 2. The data transfer rate of peripherals is usually slower than the transfer rate of CPU and consequently, a synchronization mechanism may be needed.
  • 11. The Major Differences are:- 3. Data codes and formats in the peripherals differ from the word format in the CPU and memory. Peripherals- Byte, Block, … CPU or memory- word. 4. The operating modes of peripherals are different from each other and must be controlled so as not to disturb the operation of other peripherals connected to the CPU.
  • 12. Input - Output Interface To Resolve these differences, computer systems include special hardware components between the CPU and Peripherals to supervises and synchronizes all input and out transfers. These components are called Interface Units because they interface between the processor bus and the peripheral devices.
  • 13. i/o module function  Control and timing: cordinates the flow of traffic between internal resources and external devices.  Processor communication: involves command decoding data status reporting address recognition.  Error detection: detect and reports transmission errors.  Data buffering: perform the needed buffeing operation to balance device and memory speeds.  Device communication: involves commands, status information and data.
  • 15. I/O BUS and Interface Module It defines the typical link between the processor and several peripherals. The I/O Bus consists of data lines, address lines and control lines.
  • 16. Processor Interface Interface Interface Keyboard and display terminal Printer Magnetic disk Data line Address line Control line Connection of I/O bus to input-output devices I/O BUS and Interface Module
  • 17. I/O Commands There are four types of I/O commands that an I/O module may receive when it is addressed by a processor: Control - used to activate a peripheral and tell it what to do. Test - used to test various status conditions associated with an I/O module and its peripherals. Read - causes the I/O module to obtain an item of data from the peripheral and place it in an internal buffer. Write - causes the I/O module to take an item of data from the data bus and subsequently transmit that data item to the peripheral.
  • 18. Input / Output System There are two methods in which the Processor can address the input/output devices: In the First arrangement, I/O devices are assigned particular addresses, isolated from the address space assigned to the memory . The execution of an input instruction at an input device address will cause the character stored in the input register of that device to be transferred to a specific register in the CPU. Similarly, the execution of an output instruction . This arrangement, called ”Shared I/O’’, in the case, the address and data lines from the CPU can be shared between the memory and I/O devices. A separate control line will have to be used. This is because of the need for executing input and output instruction.
  • 19.
  • 20. Input/ Output System The main Advantage of the Shared I/O arrangement is the Separation between the memory address space and that of the I/O devices. Its main Disadvantage is the need to have special input and output instruction in the processor instruction set.
  • 21. processor Memory Address Bus Data Bus Memory Control Bus Figure( Memory-mapped I/O arrangement ) Output Device (Graphic Display) Input Device (Keyboard) Input/ Output System
  • 22. The Second, possible I/O arrangement is deal with input and output registers as if they are regular memory locations. For example, Read Device 6 is equivalent to performing an input operation from the input register in Device #6. Similarly, a write operation. This arrangement is called Memory – Mapped I/O. The main advantage of the memory-mapped I/O is the use of the read and write instructions of the processor to perform the input and output operations, respectively. It eliminates the need for introducing special I/O instructions. The main Disadvantage of the memory-mapped I/O is the need to reserve a certain part of the memory address space for addressing I/O devices, that is, a reduction in the available memory address space.
  • 23. I/O Mapping Summary Memory mapped I/O Devices and memory share an address space. `I/O looks just like memory read/write No special commands for I/O Large selection of memory access commands available Isolated I/O Separate address spaces Need I/O or memory select lines Special commands for I/O Limited set
  • 24. Input Output Techniques Programmed I/O Programmed i/o refers to data transfers initiated by a (cpu) under driver software control to access registers or memory on a device. The cpu issues a command then waits for i/o operations to be complete. As the cpu is faster than the i/o module, the problem with programmed i/o is that the cpu has to wait along time for the i/o module of concern to be ready for either reception or transmission of data .the cpu, while waiting must repeatedly check the status of the i/o module, and this process is known as polling . As a result , the level of the performance of the entire system is severely degraded. Programmed i/o basically works in these ways :
  • 25. Programmed I/O - detail •CPU requests I/O operation. •I/O module performs operation. •I/O module sets status bits. •CPU checks status bits periodically. •I/O module does not inform CPU directly. •I/O module does not interrupt CPU. •CPU may wait or come back later.
  • 26. I/O Commands •CPU issues address Identifies module (& device if >1 per module) •CPU issues command Control - telling module what to do e.g. spin up disk Test - check status e.g. power? Error? Read/Write Module transfers data via buffer from/to device
  • 27. Interrupt Driven I/O The CPU issues commands to the i/o module then proceeds with its normal work until interrupted by i/o device on completion of its work. For input, the device interrupts the cpu when new data has arrived and is ready to be arrived by the system processor . The actual actions to perform depend on whether the device uses i/o ports, memory mapping. For output, the deice delivers an interrupt either when it is ready to accept new data or to acknowledge asuccessful data transfer. Memory mapped and DMA- capable device usualy generate interrupt to tell the system they are done with the buffer . although interrupt relieves the cpu of having to waite for the device, but it is still inefficient in data transfer of large amount because the cpu has to transfer the data word by word between i/o module and memory . Below are the basic operations of interrupt. .
  • 28. Interrupt Driven I/O Basic Operation •CPU issues read command. •I/O module gets data from peripheral whilst CPU does other work. •I/O module interrupts CPU. •CPU requests data. •I/O module transfers data.
  • 29. Types of Interrupts Hardware Interrupts: If the signal for the processor is from external device or hardware is called hardware interrupts. Example: from keyboard we will press the key to do some action this pressing of key in keyboard will generate a signal which is given to the processor to do action, such interrupts are called hardware interrupts. Hardware interrupts can be classified into two types they are: •Maskable Interrupt: The hardware interrupts which can be delayed when a much highest priority interrupt has occurred to the processor. •Non Maskable Interrupt: The hardware which cannot be delayed and should process by the processor immediately.
  • 30. Software Interrupts: Software interrupt can also divided in :to two types. They are •Normal Interrupts: the interrupts which are caused by the software instructions are called software instructions. •Exception: unplanned interrupts while executing a program is called Exception. For example: while executing a program if we got a value which should be divided by zero is called a exception.
  • 31. Design Issues How do you identify the module issuing the interrupt? How do you deal with multiple interrupts? i.e. an interrupt handler being interrupted Identifying Interrupting Module (1) Different line for each module. PC Limits number of devices. Software poll. CPU asks each module in turn Slow
  • 32. Identifying Interrupting Module (2) •Daisy Chain or Hardware poll -Interrupt Acknowledge sent down a chain -Module responsible places vector on bus -CPU uses vector to identify handler routine •Bus Master Module must claim the bus before it can raise interrupt e.g. PCI & SCSI
  • 33.
  • 34. Direct Memory Access (DMA) Direct Memory Access (DMA) means CPU grants I/O module authority to read from or write to memory without involvement DMA module controls exchange of data between main memory and the I/O device. Because of DMA device can transfer data directly to and from memory, rather than using the CPU as an intermediary, and can thus relieve congestion on the bus. CPU is only involved at the beginning and end of the transfer and interrupted only after entire block has been transferred . Direct Memory Access needs a special hardware called DMA controller (DMAC) that manages the data transfers and arbitrates access to the system bus. The controllers are programmed with source and destination pointers (where to read/write the data), counters to track the number of transferred bytes, and settings, which includes I/O and memory types, interrupts and states for the CPU cycles.DMA increases system concurrency by allowing the CPU to perform tasks while the DMA system transfers data via the system and memory busses. Hardware design is complicated because the DMA controller must be integrated into the system, and the system must allow the DMA controller to be a bus master. Cycle stealing may also be necessary to allow the CPU and DMA controller to share use of the memory bus.
  • 35. DMA controller DMA controller has an address register, data count register, control logic. address register :contaains an address that specifies the memory location of the data to be transferred. The DMA controller automatically increment the address register after each word transfere, so the transfere will be from the next memory location. data count register:holds the number of words to be transfere ,the word count is decremented by one after each word transfere . control logic:specifies the transfere mode ( number of DMA operation they spport).
  • 36. DMA transfer types: -Burst mode the DMA controller keeps control of the bus until all the data has been transferred to (from ) memory from (to) the peripheral device. This mode of transfere is nneeded for fast devices where data transfere cannot be stopped until the entir transfer is done .
  • 37. - Single – cycle mode the DMA controller releasing the bus after each transfer of one data word . This minimizes the amount of time that the DMA controller keeps the CPU from controlling the bus , but it requires that the bus request / acknowledge sequence be performed for every single transfer. the Single – cycle mode is preferred if the peripheral devices can buffer very large amounts of data , causing the DMA controller to tie up the bus for an excessive amount of time.
  • 39. DMA Operation CPU carries on with other work. CPU tells DMA controller. Read/Write. Device address. Starting address of memory block for data. Amount of data to be transferred. DMA controller deals with transfer. DMA controller sends interrupt when finished.
  • 40. DMA Configurations (1) •Single Bus, Detached DMA controller •Each transfer uses bus twice •I/O to DMA then DMA to memory •CPU is suspended twice
  • 41. DMA Configurations (2) •Single Bus, Integrated DMA controller •Controller may support >1 device •Each transfer uses bus once •DMA to memory •CPU is suspended once
  • 42. DMA Configurations (3) •Separate I/O Bus •Bus supports all DMA enabled devices •Each transfer uses bus once •DMA to memory •CPU is suspended once