SlideShare une entreprise Scribd logo
1  sur  16
IN

P

U

T

O

U

T

P

U

T

M

O

D

U

E
L

S
INPUT/OUTPUT
PROBLEMS
Input / Output modules are the third critical element of the
computer system (others are the CPU and the memory)
All computer systems must have efficient means to receive
input and deliver output
Wide variety of peripherals (external devices)
• Delivering different amounts of data
• At different speeds
• In different formats
All slower than CPU and RAM
Need I/O modules
GENERIC MODEL OF I/O
MODULE
INPUT/OUTPUT
MODULE
External devices are not generally connected directly into the
bus structure of the computer
I/O module is an interface for the external devices
(peripherals) to CPU and Memory
MODULE FUNCTION
The major functions or requirements for an I/O module fall
into the following
categories:
• Control and timing
• Processor communication
• Device communication
• Data buffering
• Error detection
CONTROL AND
TIMING
Requirement, to coordinate the flow of traffic between internal
resources and external devices.
For example, the control of the transfer of data from an external
device to the processor might involve the following sequence of
steps:
1. The processor interrogates the I/O module to check the status of
the attached device.
2. The I/O module returns the device status.
3. If the device is operational and ready to transmit, the processor
requests the transfer of data, by means of a command to the I/O
module.
4. The I/O module obtains a unit of data (e.g., 8 or 16 bits) from the
external device.
5. The data are transferred from the I/O module to the processor.
PROCESSOR
COMMUNICATION
Command decoding:
The I/O module accepts commands from the processor, typically sent as
signals on the control bus. e.g. magnetic disk.

Data
Data are exchanged between the processor and the I/O module over the
data bus.

Status reporting
Because peripherals are so slow, it is important to know the
status of the I/O module. Generates status signal.
Busy or Ready.

Address recognition
Just as each word of memory has an address, so does
each I/O device.
DEVICE
COMMUNICATION
Block diagram of external device
DATA BUFFERING
The need for this function is apparent from this figure
CONT…
The data are buffered in the I/O module and then sent to the
peripheral device at its data rate. In the opposite direction,
data are buffered so as not to tie up the memory in a slow
transfer operation.

Similarly, if the I/O device operates at a rate higher than the
memory access rate, then the I/O module performs the
needed buffering operation.
ERROR DETECTION
I/O module is often responsible for error detection and for
subsequently reporting errors to the processor.
One class of errors includes mechanical and electrical
malfunctions reported by the device.
Another class consists of unintentional changes to the bit
pattern as it is transmitted from device to I/O module.
This can be detected through adding a parity bit.
For example:
the IRA character code occupies 7 bits of a byte.
I/O MODULE
STRUCTURE DIAGRAM
I/O Module Structure
-The module connects to the rest of the computer through a set of system bus
lines.
-Data transferred to and from the module are buffered in one or more data
register.
-One or more status register provide current status information.
-A status register may also function as a control register, to accept detailed
control information from the processor.
-The logic within the module the module interacts with the processor via a
set of control lines.
-The processor uses the control lines to issue commands to the I/O module.
-Some of the control lines may be used by the I/O module for status signal.
-Each I/O module has a unique address or a unique set of addresses if it
controls more than one external device.
CONT.

i/o module may hide the details of timing, formats, and the
electro mechanics of an external device so that the processor can
function in terms of simple read and write
commands, and possibly open and close file commands. in its
simplest form, the i/o module may still leave much of the work
of controlling a device (e.g., rewind a tape)
visible to the processor.
CONT.
An I/O module that takes on most of the detailed processing burden,
presenting
a high-level interface to the processor, is usually referred to as an I/O
channel or I/O processor.
An I/O module that is quite primitive and requires detailed control is
usually referred to as an I/O controller or device controller.
I/O controllers are commonly seen on microcomputers, whereas I/O
channels are used on mainframes.
THANK YOU
ANY QUESTION??

Contenu connexe

Tendances

instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
sheetal singh
 

Tendances (20)

Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer Architecture
 
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
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Input output organisation
Input output organisationInput output organisation
Input output organisation
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Instruction Formats
Instruction FormatsInstruction Formats
Instruction Formats
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Interrupts
InterruptsInterrupts
Interrupts
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Memory mapped I/O and Isolated I/O
Memory mapped I/O and Isolated I/OMemory mapped I/O and Isolated I/O
Memory mapped I/O and Isolated I/O
 
i/o interface
i/o interfacei/o interface
i/o interface
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Programmable peripheral interface 8255
Programmable peripheral interface 8255Programmable peripheral interface 8255
Programmable peripheral interface 8255
 
Memory management
Memory managementMemory management
Memory management
 
Bus interconnection
Bus interconnectionBus interconnection
Bus interconnection
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Computer registers
Computer registersComputer registers
Computer registers
 

En vedette

Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slides
knksmart
 
Production planning & control
Production planning & controlProduction planning & control
Production planning & control
amirthakarthi
 
Production Planning and Control
Production Planning and ControlProduction Planning and Control
Production Planning and Control
Swatanu Satpathy
 

En vedette (18)

Causes of low productivity in indian agriculture
Causes of low productivity in indian agricultureCauses of low productivity in indian agriculture
Causes of low productivity in indian agriculture
 
Productiivity vs production
Productiivity vs productionProductiivity vs production
Productiivity vs production
 
Productivity Improvement R
Productivity Improvement RProductivity Improvement R
Productivity Improvement R
 
Input – output model of economic development
Input – output model of economic developmentInput – output model of economic development
Input – output model of economic development
 
Productivity improvement slide share
Productivity improvement slide shareProductivity improvement slide share
Productivity improvement slide share
 
Forecasting
ForecastingForecasting
Forecasting
 
Production and productivity slideshare
Production and productivity slideshareProduction and productivity slideshare
Production and productivity slideshare
 
Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slides
 
Operations And Productivity
Operations And ProductivityOperations And Productivity
Operations And Productivity
 
Factors affecting productivity
Factors affecting productivity Factors affecting productivity
Factors affecting productivity
 
Productivity, Productivity, Productivity
Productivity, Productivity, ProductivityProductivity, Productivity, Productivity
Productivity, Productivity, Productivity
 
Production systems
Production systemsProduction systems
Production systems
 
3...forecasting methods
3...forecasting methods3...forecasting methods
3...forecasting methods
 
Productivity
ProductivityProductivity
Productivity
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniques
 
Production Function
Production FunctionProduction Function
Production Function
 
Production planning & control
Production planning & controlProduction planning & control
Production planning & control
 
Production Planning and Control
Production Planning and ControlProduction Planning and Control
Production Planning and Control
 

Similaire à Input output module

Chapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electricalChapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electrical
bayisabayecha51
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
Nehal Naik
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
faria_khan
 

Similaire à Input output module (20)

Chapter 4
Chapter 4Chapter 4
Chapter 4
 
IO_ORGANIZATION.pdf
IO_ORGANIZATION.pdfIO_ORGANIZATION.pdf
IO_ORGANIZATION.pdf
 
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
 
Chapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electricalChapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electrical
 
CS304PC:Computer Organization and Architecture Unit IV_merged.pdf
CS304PC:Computer Organization and Architecture Unit IV_merged.pdfCS304PC:Computer Organization and Architecture Unit IV_merged.pdf
CS304PC:Computer Organization and Architecture Unit IV_merged.pdf
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptx
 
CO--MODULE-1 (b) - Input-Output-Organization.pptx
CO--MODULE-1 (b) - Input-Output-Organization.pptxCO--MODULE-1 (b) - Input-Output-Organization.pptx
CO--MODULE-1 (b) - Input-Output-Organization.pptx
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Unit4_IO_13623_AnilRawat.ppt
Unit4_IO_13623_AnilRawat.pptUnit4_IO_13623_AnilRawat.ppt
Unit4_IO_13623_AnilRawat.ppt
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
 
computer Unit 3
computer Unit 3computer Unit 3
computer Unit 3
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
 
peripheral interfacing
peripheral interfacingperipheral interfacing
peripheral interfacing
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Computer organization
Computer organizationComputer organization
Computer organization
 
Computer organization
Computer organization Computer organization
Computer organization
 

Plus de Muhammad Ishaq (20)

Causality in special relativity
Causality in special relativityCausality in special relativity
Causality in special relativity
 
Business proposal
Business proposalBusiness proposal
Business proposal
 
Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Writting process
Writting processWritting process
Writting process
 
Business
Business Business
Business
 
Index
IndexIndex
Index
 
Brochures
BrochuresBrochures
Brochures
 
Dependencies
DependenciesDependencies
Dependencies
 
Input output
Input outputInput output
Input output
 
Multi core processor
Multi core processorMulti core processor
Multi core processor
 
Dram and its types
Dram and its typesDram and its types
Dram and its types
 
Micro operation control of processor
Micro operation control of processorMicro operation control of processor
Micro operation control of processor
 
Computer architecture overview
Computer architecture overviewComputer architecture overview
Computer architecture overview
 
Raid 1 3
Raid 1 3Raid 1 3
Raid 1 3
 
Multi processing
Multi processingMulti processing
Multi processing
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Addressing
AddressingAddressing
Addressing
 
Clusters
ClustersClusters
Clusters
 

Input output module

  • 2. INPUT/OUTPUT PROBLEMS Input / Output modules are the third critical element of the computer system (others are the CPU and the memory) All computer systems must have efficient means to receive input and deliver output Wide variety of peripherals (external devices) • Delivering different amounts of data • At different speeds • In different formats All slower than CPU and RAM Need I/O modules
  • 3. GENERIC MODEL OF I/O MODULE
  • 4. INPUT/OUTPUT MODULE External devices are not generally connected directly into the bus structure of the computer I/O module is an interface for the external devices (peripherals) to CPU and Memory
  • 5. MODULE FUNCTION The major functions or requirements for an I/O module fall into the following categories: • Control and timing • Processor communication • Device communication • Data buffering • Error detection
  • 6. CONTROL AND TIMING Requirement, to coordinate the flow of traffic between internal resources and external devices. For example, the control of the transfer of data from an external device to the processor might involve the following sequence of steps: 1. The processor interrogates the I/O module to check the status of the attached device. 2. The I/O module returns the device status. 3. If the device is operational and ready to transmit, the processor requests the transfer of data, by means of a command to the I/O module. 4. The I/O module obtains a unit of data (e.g., 8 or 16 bits) from the external device. 5. The data are transferred from the I/O module to the processor.
  • 7. PROCESSOR COMMUNICATION Command decoding: The I/O module accepts commands from the processor, typically sent as signals on the control bus. e.g. magnetic disk. Data Data are exchanged between the processor and the I/O module over the data bus. Status reporting Because peripherals are so slow, it is important to know the status of the I/O module. Generates status signal. Busy or Ready. Address recognition Just as each word of memory has an address, so does each I/O device.
  • 9. DATA BUFFERING The need for this function is apparent from this figure
  • 10. CONT… The data are buffered in the I/O module and then sent to the peripheral device at its data rate. In the opposite direction, data are buffered so as not to tie up the memory in a slow transfer operation. Similarly, if the I/O device operates at a rate higher than the memory access rate, then the I/O module performs the needed buffering operation.
  • 11. ERROR DETECTION I/O module is often responsible for error detection and for subsequently reporting errors to the processor. One class of errors includes mechanical and electrical malfunctions reported by the device. Another class consists of unintentional changes to the bit pattern as it is transmitted from device to I/O module. This can be detected through adding a parity bit. For example: the IRA character code occupies 7 bits of a byte.
  • 13. I/O Module Structure -The module connects to the rest of the computer through a set of system bus lines. -Data transferred to and from the module are buffered in one or more data register. -One or more status register provide current status information. -A status register may also function as a control register, to accept detailed control information from the processor. -The logic within the module the module interacts with the processor via a set of control lines. -The processor uses the control lines to issue commands to the I/O module. -Some of the control lines may be used by the I/O module for status signal. -Each I/O module has a unique address or a unique set of addresses if it controls more than one external device.
  • 14. CONT. i/o module may hide the details of timing, formats, and the electro mechanics of an external device so that the processor can function in terms of simple read and write commands, and possibly open and close file commands. in its simplest form, the i/o module may still leave much of the work of controlling a device (e.g., rewind a tape) visible to the processor.
  • 15. CONT. An I/O module that takes on most of the detailed processing burden, presenting a high-level interface to the processor, is usually referred to as an I/O channel or I/O processor. An I/O module that is quite primitive and requires detailed control is usually referred to as an I/O controller or device controller. I/O controllers are commonly seen on microcomputers, whereas I/O channels are used on mainframes.