SlideShare a Scribd company logo
1 of 16
Short Overview
on
Input / Output
Introduction
In this slide I will discuss on
Input/Output Procedures & Devices.
But before starting any topic, we all
need to have clear concept on
Computer Architecture that’s why will
speech on it first.
What is Computer Architecture?
In computer science, computer architecture is
a set of instructions that describe
computer organization and implementation
of computer systems.
So from the definition we can easily
understand that Computer Architecture is
………….
Set of
Instructions
Computer
Organization
Computer
Architecture
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.
General Structure of I/O Module
(Internal)
Figure: General model of Internal I/O module
System Bus
A system bus is a single computer bus that
connects the major components of a computer
system. It combines the functions of a data bus
to carry information, an address bus to determine
where it should be sent, and a control bus to
determine its operation.
Peripheral Devices
A computer peripheral is a device that is
connected to a computer but is not part of the
core computer architecture. Peripheral devices
can be external or internal. For example: Mouse,
Keyboard, Monitor, Printer, Hard-Disk etc..
External Device Interface
 It is divided into Control module, Status signal &
Data module.
 Control signal decide which function will
execute by device. For example: READ, WRITE
operations.
 Status signals indicates the state (READY,
NOT-READY) of the device.
 Data module controls set of data bits need
sending & receiving.
 Control logic perform device operation control
by getting command from I/O.
 The transducer converts data from electrical to
other form of energy during output and from other
External I/O Module Diagram
Figure: External I/O Module Diagram
Input/output Techniques
There are Three principle I/O techniques. They
are …
o Programmed I/O.
o Interrupt Driven I/O.
o DMA (Direct Memory Access) technique.
Programmed I/O
 CPU controls I/O directly by doing following
three things ……
 Sending Status.
 I/O commands.
Transferring data.
 CPU waits for I/O module to complete
operation.
 CPU time wastes.
I/O Commands
 Control: Control command is used to active a
peripheral and tell it what to do.
 Test: This command is used to test various
status conditions associated with an I/O module
and its peripherals.
 Read: It is used to obtain an item of data to
peripheral and place it in an internal buffer.
 Write: to take an item of data (byte or word)
from the data bus and subsequently transmit that
data item to the peripheral.
Interrupt Driven I/O
• A better protocol is to have the computer and IO
device work independently.
• I/O module interrupts when ready.
• When the current instruction completes, the
computer interrupts the current program, saves
the current state and goes to an interrupt service
routine.
How Interrupt Driven I/O
Works
 CPU issues read command.
 I/O module gets data from peripheral whilst
CPU does other works.
 I/O module interrupts CPU.
 CPU requests for data.
 I/O module transfers data.
DMA (Direct Memory Access)
Direct memory access (DMA) is a feature of
computer systems that allows certain hardware
subsystems to access main system (RAM)
memory independently of the central processing
unit (CPU).
Without DMA, when the CPU is using
programmed I/O, it is fully busy for Read or Write
operation and unavailable to perform other work.
With DMA, the CPU first begins the transfer, then
it does other operations while the transfer is in
progress.
I/O Problems
 Slower than CPU & RAM.
 Need I/O modules.
 For variety of peripherals it may show different
amount of data, speeds & formats.
 Whole system must have to be efficient to
receive input & show output.
Input Output - Computer Architecture

More Related Content

What's hot

Input output organization
Input output organizationInput output organization
Input output organizationabdulugc
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computergaurav jain
 
Computer organisation -morris mano
Computer organisation  -morris manoComputer organisation  -morris mano
Computer organisation -morris manovishnu murthy
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsMukesh Chinta
 
COA asynchronous data transfer
COA asynchronous data transferCOA asynchronous data transfer
COA asynchronous data transfermitalimaniyar
 
Instruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxInstruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxYash346903
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transferpriya Nithya
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationSanjeev Patel
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architectureFaisal Hussain
 
Asynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptxAsynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptxArunaDevi63
 
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 OrganizationMOHIT AGARWAL
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 

What's hot (20)

Interrupts
InterruptsInterrupts
Interrupts
 
Input output organization
Input output organizationInput output organization
Input output organization
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Functional units of computer
Functional units of computerFunctional units of computer
Functional units of computer
 
Computer organisation -morris mano
Computer organisation  -morris manoComputer organisation  -morris mano
Computer organisation -morris mano
 
Cache memory
Cache memoryCache memory
Cache memory
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
COA asynchronous data transfer
COA asynchronous data transferCOA asynchronous data transfer
COA asynchronous data transfer
 
Instruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxInstruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptx
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 
Basic Computer Organization and Design
Basic  Computer  Organization  and  DesignBasic  Computer  Organization  and  Design
Basic Computer Organization and Design
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Asynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptxAsynchronous Data Transfer.pptx
Asynchronous Data Transfer.pptx
 
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
 
Stack organization
Stack organizationStack organization
Stack organization
 

Similar to Input Output - Computer Architecture

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
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationFrankie Jones
 
Basic of operating system
Basic of operating systemBasic of operating system
Basic of operating systempriyanka jain
 
Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computerSandeep Menon
 
Basic organisation of computer system
Basic organisation of computer systemBasic organisation of computer system
Basic organisation of computer systemParvathy Ashok
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization faria_khan
 
Introduction to computer.pptx
Introduction to computer.pptxIntroduction to computer.pptx
Introduction to computer.pptxkanwal74
 
discuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfdiscuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfinfo998421
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer OrganizationOm Prakash
 
input output ports
input output portsinput output ports
input output portsaslamslides
 
COMMUNICATION & COMPUTER SKILLS
COMMUNICATION & COMPUTER SKILLSCOMMUNICATION & COMPUTER SKILLS
COMMUNICATION & COMPUTER SKILLSMakaha Rutendo
 

Similar to Input Output - Computer Architecture (20)

IO_ORGANIZATION.pdf
IO_ORGANIZATION.pdfIO_ORGANIZATION.pdf
IO_ORGANIZATION.pdf
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
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
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
 
HARDWARE
HARDWAREHARDWARE
HARDWARE
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Architecture
ArchitectureArchitecture
Architecture
 
Input output module
Input output moduleInput output module
Input output module
 
Basic of operating system
Basic of operating systemBasic of operating system
Basic of operating system
 
Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computer
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
Basic organisation of computer system
Basic organisation of computer systemBasic organisation of computer system
Basic organisation of computer system
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
 
Introduction to computer.pptx
Introduction to computer.pptxIntroduction to computer.pptx
Introduction to computer.pptx
 
discuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfdiscuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdf
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
 
FUNCTIONAL UNIT
FUNCTIONAL UNITFUNCTIONAL UNIT
FUNCTIONAL UNIT
 
input output ports
input output portsinput output ports
input output ports
 
1834902155 aka asgn 313
1834902155 aka asgn 3131834902155 aka asgn 313
1834902155 aka asgn 313
 
COMMUNICATION & COMPUTER SKILLS
COMMUNICATION & COMPUTER SKILLSCOMMUNICATION & COMPUTER SKILLS
COMMUNICATION & COMPUTER SKILLS
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Input Output - Computer Architecture

  • 2. Introduction In this slide I will discuss on Input/Output Procedures & Devices. But before starting any topic, we all need to have clear concept on Computer Architecture that’s why will speech on it first.
  • 3. What is Computer Architecture? In computer science, computer architecture is a set of instructions that describe computer organization and implementation of computer systems. So from the definition we can easily understand that Computer Architecture is …………. Set of Instructions Computer Organization Computer Architecture
  • 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. General Structure of I/O Module (Internal) Figure: General model of Internal I/O module
  • 6. System Bus A system bus is a single computer bus that connects the major components of a computer system. It combines the functions of a data bus to carry information, an address bus to determine where it should be sent, and a control bus to determine its operation. Peripheral Devices A computer peripheral is a device that is connected to a computer but is not part of the core computer architecture. Peripheral devices can be external or internal. For example: Mouse, Keyboard, Monitor, Printer, Hard-Disk etc..
  • 7. External Device Interface  It is divided into Control module, Status signal & Data module.  Control signal decide which function will execute by device. For example: READ, WRITE operations.  Status signals indicates the state (READY, NOT-READY) of the device.  Data module controls set of data bits need sending & receiving.  Control logic perform device operation control by getting command from I/O.  The transducer converts data from electrical to other form of energy during output and from other
  • 8. External I/O Module Diagram Figure: External I/O Module Diagram
  • 9. Input/output Techniques There are Three principle I/O techniques. They are … o Programmed I/O. o Interrupt Driven I/O. o DMA (Direct Memory Access) technique.
  • 10. Programmed I/O  CPU controls I/O directly by doing following three things ……  Sending Status.  I/O commands. Transferring data.  CPU waits for I/O module to complete operation.  CPU time wastes.
  • 11. I/O Commands  Control: Control command is used to active a peripheral and tell it what to do.  Test: This command is used to test various status conditions associated with an I/O module and its peripherals.  Read: It is used to obtain an item of data to peripheral and place it in an internal buffer.  Write: to take an item of data (byte or word) from the data bus and subsequently transmit that data item to the peripheral.
  • 12. Interrupt Driven I/O • A better protocol is to have the computer and IO device work independently. • I/O module interrupts when ready. • When the current instruction completes, the computer interrupts the current program, saves the current state and goes to an interrupt service routine.
  • 13. How Interrupt Driven I/O Works  CPU issues read command.  I/O module gets data from peripheral whilst CPU does other works.  I/O module interrupts CPU.  CPU requests for data.  I/O module transfers data.
  • 14. DMA (Direct Memory Access) Direct memory access (DMA) is a feature of computer systems that allows certain hardware subsystems to access main system (RAM) memory independently of the central processing unit (CPU). Without DMA, when the CPU is using programmed I/O, it is fully busy for Read or Write operation and unavailable to perform other work. With DMA, the CPU first begins the transfer, then it does other operations while the transfer is in progress.
  • 15. I/O Problems  Slower than CPU & RAM.  Need I/O modules.  For variety of peripherals it may show different amount of data, speeds & formats.  Whole system must have to be efficient to receive input & show output.