SlideShare a Scribd company logo
DON’T JUST SIT
THERE. YOU CAN
LEARN INPUT OUTPUT
INTERFACE IN QUICK
15 MINUTES.
Contents
ď‚§Input Output Interface
ď‚§I/O Bus and Interface Modules
ď‚§I/O versus Memory Bus
ď‚§Isolated (Port-Mapped) versus Memory-Mapped I/O
ď‚§Example of I/O Interface
Input Output Interface
ď‚§Internal storage & External I/O Devices
ď‚§Direct Communication is not possible.
ď‚§The major differences are:
ď‚§ Different manner of operation
ď‚§ Data transfer rate
ď‚§ Difference in word format
ď‚§ Difference in operating modes of peripherals
I/O Bus & Interface Module
Interface Interface Interface Interface
Keyboard
&
Display
Terminal
Printer
Magnetic
Disk
Magnetic
Tape
Data
Address
Control
I/O Bus
Processor
Fig. Connection of I/O Bus to input-output devices
IO Commands
ď‚§There are four types of I/O Command:
ď‚§ Control Command
ď‚§ Status Command
ď‚§ Output Data Command
ď‚§ Input Data Command
I/O Versus Memory Bus
ď‚§Like I/O Bus, Memory Bus also contains Data, Address
& Control Lines.
ď‚§Three ways to communicate:
ď‚§ Use two separate buses
ď‚§ Use one common bus but separate control lines
ď‚§ Use common bus with common control lines
Isolated versus Memory-Mapped I/O
ISOLATED I/O MEMORY MAPPED I/O
Separate read/write control
lines
A single set of read/write
control lines
Separate memory and I/O
address spaces
Common address space
Distinct input & output
instructions
No Specific input or output
instructions
- Considerable flexibility in
handling I/O operations
Example of an I/O Interface
I/O Data
Bus Buffers
Status
Register
Control
Register
Port B
Register
Port A
Register
CS
RS1
RS0
RD
WR
Timing
&
Control
Signal
InternalBus
Bidirectional
Data Bus
Chip Select
Register Select
I/O Read
I/O Write
To CPU To I/O Device
Control
I/O Data
Status
Fig. Example of an I/O Interface Unit
Input output interface
Ad

More Related Content

What's hot (20)

Stack organization
Stack organizationStack organization
Stack organization
chauhankapil
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Instruction format
Instruction formatInstruction format
Instruction format
Sanjeev Patel
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
sheetal singh
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
shweta-sharma99
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
Sanjeev Patel
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Timing and control
Timing and controlTiming and control
Timing and control
chauhankapil
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
Asif Iqbal
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
Zubair Khalid
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
Balakrishna Chowdary
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction Format
Dhrumil Panchal
 
Input output organization
Input output organizationInput output organization
Input output organization
abdulugc
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
Andhra University
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
Maruf Abdullah (Rion)
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
Ghanshyam Patel
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
Anuj Modi
 
Stack organization
Stack organizationStack organization
Stack organization
chauhankapil
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
Instruction format
Instruction formatInstruction format
Instruction format
Sanjeev Patel
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
sheetal singh
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
Sanjeev Patel
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Timing and control
Timing and controlTiming and control
Timing and control
chauhankapil
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
Asif Iqbal
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
Zubair Khalid
 
Types of Instruction Format
Types of Instruction FormatTypes of Instruction Format
Types of Instruction Format
Dhrumil Panchal
 
Input output organization
Input output organizationInput output organization
Input output organization
abdulugc
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Input Output - Computer Architecture
Input Output - Computer ArchitectureInput Output - Computer Architecture
Input Output - Computer Architecture
Maruf Abdullah (Rion)
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
Ghanshyam Patel
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
Anuj Modi
 

Similar to Input output interface (20)

Unit4_IO_13623_AnilRawat.ppt
Unit4_IO_13623_AnilRawat.pptUnit4_IO_13623_AnilRawat.ppt
Unit4_IO_13623_AnilRawat.ppt
prateeksingh235912
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
vikram patel
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
ankitraosingh
 
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
Guru Nanak Technical Institutions
 
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
 
Lecture 34
Lecture 34Lecture 34
Lecture 34
RahulRathi94
 
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
Bharat Kharbanda
 
Input output module
Input output moduleInput output module
Input output module
Muhammad Ishaq
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
Muhammad Saqib
 
LECTURE_7 Interface.pptx of what you wants
LECTURE_7 Interface.pptx of what you wantsLECTURE_7 Interface.pptx of what you wants
LECTURE_7 Interface.pptx of what you wants
BifaHirpo1
 
IO_ORGANIZATION.pdf
IO_ORGANIZATION.pdfIO_ORGANIZATION.pdf
IO_ORGANIZATION.pdf
GaganaPurshothama
 
Input output
Input outputInput output
Input output
jyoti_lakhani
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
EktaVaswani2
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interface
vishal choudhary
 
Unit 4-l ecture3-io interface
Unit 4-l ecture3-io interfaceUnit 4-l ecture3-io interface
Unit 4-l ecture3-io interface
vishal choudhary
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interface
vishal choudhary
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
Er. Nawaraj Bhandari
 
Input output hardware of operating system
Input output hardware of operating systemInput output hardware of operating system
Input output hardware of operating system
RohitYadav633
 
Io processing
Io processingIo processing
Io processing
Tech_MX
 
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
 
Unit4_IO_13623_AnilRawat.ppt
Unit4_IO_13623_AnilRawat.pptUnit4_IO_13623_AnilRawat.ppt
Unit4_IO_13623_AnilRawat.ppt
prateeksingh235912
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
vikram patel
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
ankitraosingh
 
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
Guru Nanak Technical Institutions
 
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
 
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
Bharat Kharbanda
 
Input output module
Input output moduleInput output module
Input output module
Muhammad Ishaq
 
LECTURE_7 Interface.pptx of what you wants
LECTURE_7 Interface.pptx of what you wantsLECTURE_7 Interface.pptx of what you wants
LECTURE_7 Interface.pptx of what you wants
BifaHirpo1
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
EktaVaswani2
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interface
vishal choudhary
 
Unit 4-l ecture3-io interface
Unit 4-l ecture3-io interfaceUnit 4-l ecture3-io interface
Unit 4-l ecture3-io interface
vishal choudhary
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interface
vishal choudhary
 
Input output hardware of operating system
Input output hardware of operating systemInput output hardware of operating system
Input output hardware of operating system
RohitYadav633
 
Io processing
Io processingIo processing
Io processing
Tech_MX
 
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
 
Ad

Recently uploaded (20)

Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Applications of Centroid in Structural Engineering
Applications of Centroid in Structural EngineeringApplications of Centroid in Structural Engineering
Applications of Centroid in Structural Engineering
suvrojyotihalder2006
 
Autodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User InterfaceAutodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User Interface
Atif Razi
 
The Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLabThe Gaussian Process Modeling Module in UQLab
The Gaussian Process Modeling Module in UQLab
Journal of Soft Computing in Civil Engineering
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Journal of Soft Computing in Civil Engineering
 
COMPUTER GRAPHICS AND VISUALIZATION :MODULE-1 notes [BCG402-CG&V].pdf
COMPUTER GRAPHICS AND VISUALIZATION :MODULE-1 notes [BCG402-CG&V].pdfCOMPUTER GRAPHICS AND VISUALIZATION :MODULE-1 notes [BCG402-CG&V].pdf
COMPUTER GRAPHICS AND VISUALIZATION :MODULE-1 notes [BCG402-CG&V].pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Nanometer Metal-Organic-Framework Literature Comparison
Nanometer Metal-Organic-Framework  Literature ComparisonNanometer Metal-Organic-Framework  Literature Comparison
Nanometer Metal-Organic-Framework Literature Comparison
Chris Harding
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
Data Structures_Linear data structures Linked Lists.pptx
Data Structures_Linear data structures Linked Lists.pptxData Structures_Linear data structures Linked Lists.pptx
Data Structures_Linear data structures Linked Lists.pptx
RushaliDeshmukh2
 
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdfPRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Guru
 
Comprehensive-Event-Management-System.pptx
Comprehensive-Event-Management-System.pptxComprehensive-Event-Management-System.pptx
Comprehensive-Event-Management-System.pptx
dd7devdilip
 
Surveying through global positioning system
Surveying through global positioning systemSurveying through global positioning system
Surveying through global positioning system
opneptune5
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
SICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introductionSICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introduction
fabienklr
 
Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32
CircuitDigest
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Applications of Centroid in Structural Engineering
Applications of Centroid in Structural EngineeringApplications of Centroid in Structural Engineering
Applications of Centroid in Structural Engineering
suvrojyotihalder2006
 
Autodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User InterfaceAutodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User Interface
Atif Razi
 
AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)AI-assisted Software Testing (3-hours tutorial)
AI-assisted Software Testing (3-hours tutorial)
Vəhid Gəruslu
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Journal of Soft Computing in Civil Engineering
 
Nanometer Metal-Organic-Framework Literature Comparison
Nanometer Metal-Organic-Framework  Literature ComparisonNanometer Metal-Organic-Framework  Literature Comparison
Nanometer Metal-Organic-Framework Literature Comparison
Chris Harding
 
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjjseninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
seninarppt.pptx1bhjiikjhggghjykoirgjuyhhhjj
AjijahamadKhaji
 
Data Structures_Linear data structures Linked Lists.pptx
Data Structures_Linear data structures Linked Lists.pptxData Structures_Linear data structures Linked Lists.pptx
Data Structures_Linear data structures Linked Lists.pptx
RushaliDeshmukh2
 
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdfPRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Guru
 
Comprehensive-Event-Management-System.pptx
Comprehensive-Event-Management-System.pptxComprehensive-Event-Management-System.pptx
Comprehensive-Event-Management-System.pptx
dd7devdilip
 
Surveying through global positioning system
Surveying through global positioning systemSurveying through global positioning system
Surveying through global positioning system
opneptune5
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
SICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introductionSICPA: Fabien Keller - background introduction
SICPA: Fabien Keller - background introduction
fabienklr
 
Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32
CircuitDigest
 
Ad

Input output interface

  • 1. DON’T JUST SIT THERE. YOU CAN LEARN INPUT OUTPUT INTERFACE IN QUICK 15 MINUTES.
  • 2. Contents ď‚§Input Output Interface ď‚§I/O Bus and Interface Modules ď‚§I/O versus Memory Bus ď‚§Isolated (Port-Mapped) versus Memory-Mapped I/O ď‚§Example of I/O Interface
  • 3. Input Output Interface ď‚§Internal storage & External I/O Devices ď‚§Direct Communication is not possible. ď‚§The major differences are: ď‚§ Different manner of operation ď‚§ Data transfer rate ď‚§ Difference in word format ď‚§ Difference in operating modes of peripherals
  • 4. I/O Bus & Interface Module Interface Interface Interface Interface Keyboard & Display Terminal Printer Magnetic Disk Magnetic Tape Data Address Control I/O Bus Processor Fig. Connection of I/O Bus to input-output devices
  • 5. IO Commands ď‚§There are four types of I/O Command: ď‚§ Control Command ď‚§ Status Command ď‚§ Output Data Command ď‚§ Input Data Command
  • 6. I/O Versus Memory Bus ď‚§Like I/O Bus, Memory Bus also contains Data, Address & Control Lines. ď‚§Three ways to communicate: ď‚§ Use two separate buses ď‚§ Use one common bus but separate control lines ď‚§ Use common bus with common control lines
  • 7. Isolated versus Memory-Mapped I/O ISOLATED I/O MEMORY MAPPED I/O Separate read/write control lines A single set of read/write control lines Separate memory and I/O address spaces Common address space Distinct input & output instructions No Specific input or output instructions - Considerable flexibility in handling I/O operations
  • 8. Example of an I/O Interface I/O Data Bus Buffers Status Register Control Register Port B Register Port A Register CS RS1 RS0 RD WR Timing & Control Signal InternalBus Bidirectional Data Bus Chip Select Register Select I/O Read I/O Write To CPU To I/O Device Control I/O Data Status Fig. Example of an I/O Interface Unit