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

Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
Kumar
 

What's hot (20)

Instruction pipeline: Computer Architecture
Instruction pipeline: Computer ArchitectureInstruction pipeline: Computer Architecture
Instruction pipeline: Computer Architecture
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Functional units
Functional unitsFunctional units
Functional units
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycle
 
Interrupts
InterruptsInterrupts
Interrupts
 
CPU Architecture - Basic
CPU Architecture - BasicCPU Architecture - Basic
CPU Architecture - Basic
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Major Function of i/o module
Major Function of i/o moduleMajor Function of i/o module
Major Function of i/o module
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
DMA operation
DMA operationDMA operation
DMA operation
 
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
 
Interleaved memory
Interleaved memoryInterleaved memory
Interleaved memory
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Computer architecture control unit
Computer architecture control unitComputer architecture control unit
Computer architecture control unit
 

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 electrical
bayisabayecha51
 
Fundamental units of computer
Fundamental units of computerFundamental units of computer
Fundamental units of computer
Sandeep Menon
 
Hardware I/O organization
Hardware  I/O organization Hardware  I/O organization
Hardware I/O organization
faria_khan
 
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
info998421
 

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
 
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
 
Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

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.