Chapter 11: Input/Output Organisation
Lesson 01:
Input-Output devices (Peripheral devices) and IO
organisation
Objective
• Learn about different I/O peripheral devices
used in a computer
• Understand how using memory mapped or
IO mapped organisation a processor accesses
and addresses the I/O peripheral devices
Schaum’s Outline of Theory and Problems of Computer Architecture 2
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
I/O system peripheral devices
Schaum’s Outline of Theory and Problems of Computer Architecture 3
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Division of I/O system organization into two
major components
1. The I/O devices themselves
2. The technologies used to interface the I/O
devices to the rest of the system
Schaum’s Outline of Theory and Problems of Computer Architecture 4
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
IO (input-output) devices
[Peripheral Devices]
• Keypad
• keyboard
• mice
• video display unit
Schaum’s Outline of Theory and Problems of Computer Architecture 5
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
IO (input-output) devices
[Peripheral Devices]
• flat panel unit
• LCD display
• Touch screen
• Printer
Schaum’s Outline of Theory and Problems of Computer Architecture 6
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
I/O system organization
Schaum’s Outline of Theory and Problems of Computer Architecture 7
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Deployment of the input-output subsystem
and IO bus(es) in a computer
• Processor must be able to send commands to the
I/O devices
• Read data from them
• Most systems use a mechanism called memory-
mapped I/O for this
• The processor interfaces I/O devices like a
memory
Schaum’s Outline of Theory and Problems of Computer Architecture 8
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Memory mapped I/O device organization
Schaum’s Outline of Theory and Problems of Computer Architecture 9
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Processor access in memory mapped
organization
• By common buses, memory and common accessing
instructions for a memory location, and I/O device
registers
Schaum’s Outline of Theory and Problems of Computer Architecture 10
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Memory-Mapped I/O Device Organization
using Address Decoder, and I/O Circuits
Schaum’s Outline of Theory and Problems of Computer Architecture 11
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Memory as well as IO
• Interface using address decoder, and I/O circuits
accessing Data, control and status Registers
Schaum’s Outline of Theory and Problems of Computer Architecture 12
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
IO mapped I/O device organization
Schaum’s Outline of Theory and Problems of Computer Architecture 13
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Processor access in IO mapped organization
• Special instructions to control I/O devices
• Separate control signals, which are issued when
processing instructions for the I/O operations
Schaum’s Outline of Theory and Problems of Computer Architecture 14
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
Summary
Schaum’s Outline of Theory and Problems of Computer Architecture 15
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
We Learnt
• Number of IO devices in a computer
• Memory mapped IO access
• IO mapped separate IO access
• Decoder
• Control, status and data registers in a
device
Schaum’s Outline of Theory and Problems of Computer Architecture 16
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009
End of Lesson 01 on
Input-Output devices (Peripheral
devices) and IO organisation
Schaum’s Outline of Theory and Problems of Computer Architecture 17
Copyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009