SlideShare uma empresa Scribd logo
1 de 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??

Mais conteúdo relacionado

Mais procurados

Instruction cycle with interrupts
Instruction cycle with interruptsInstruction cycle with interrupts
Instruction cycle with interruptsShubham Jain
 
Input output organization
Input output organizationInput output organization
Input output organizationabdulugc
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transferpriya Nithya
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085ShivamSood22
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationSanjeev Patel
 
Input output accessing
Input output accessingInput output accessing
Input output accessingankitraosingh
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modesRamaPrabha24
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit DesignVinit Raut
 
Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. pratikkadam78
 
Timing and control
Timing and controlTiming and control
Timing and controlchauhankapil
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control Anuj Modi
 
Direct memory access
Direct memory accessDirect memory access
Direct memory accessshubham kuwar
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 

Mais procurados (20)

Instruction cycle with interrupts
Instruction cycle with interruptsInstruction cycle with interrupts
Instruction cycle with interrupts
 
Input output organization
Input output organizationInput output organization
Input output organization
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit Design
 
Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture.
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Lecture 37
Lecture 37Lecture 37
Lecture 37
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 

Destaque

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 agricultureVidya Bharti
 
Productiivity vs production
Productiivity vs productionProductiivity vs production
Productiivity vs productionkahogan62
 
Input – output model of economic development
Input – output model of economic developmentInput – output model of economic development
Input – output model of economic developmentRavi Varma reddy
 
Productivity improvement slide share
Productivity improvement slide shareProductivity improvement slide share
Productivity improvement slide shareK. M. Hasan Ripon
 
Production and productivity slideshare
Production and productivity slideshareProduction and productivity slideshare
Production and productivity slidesharePatrice Bowen
 
Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slidesknksmart
 
Operations And Productivity
Operations And ProductivityOperations And Productivity
Operations And ProductivityJoanmaines
 
Factors affecting productivity
Factors affecting productivity Factors affecting productivity
Factors affecting productivity Waleed Attalla
 
Productivity, Productivity, Productivity
Productivity, Productivity, ProductivityProductivity, Productivity, Productivity
Productivity, Productivity, ProductivityFabian Alcantara
 
Forecasting Techniques
Forecasting TechniquesForecasting Techniques
Forecasting Techniquesguest865c0e0c
 
Production planning & control
Production planning & controlProduction planning & control
Production planning & controlamirthakarthi
 
Production Planning and Control
Production Planning and ControlProduction Planning and Control
Production Planning and ControlSwatanu Satpathy
 

Destaque (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
 

Semelhante a Input output module

chapter7-input-output-COMPUTER organization.pdf
chapter7-input-output-COMPUTER organization.pdfchapter7-input-output-COMPUTER organization.pdf
chapter7-input-output-COMPUTER organization.pdfSangitaBose2
 
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 electricalbayisabayecha51
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer ArchitectureMaruf Abdullah (Rion)
 
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.pdfAsst.prof M.Gokilavani
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptxSherinRappai
 
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.pptxahmedsalik057
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization faria_khan
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organizationchidabdu
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Neelam Kapoor
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptxMeenakshiR43
 
IO and file systems
IO and file systems IO and file systems
IO and file systems EktaVaswani2
 

Semelhante a 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
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
 
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
 
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
 
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
 

Mais de Muhammad Ishaq

Mais 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.