Objectives: Input and Output (I/O) Organization
Objectives: Input and Output (I/O) Organization
Objectives
To understand:
Role of Input / Output devices
Role of I/O controller
I/O Design factors
Input/Output Problems
Types of typical I/O devices
Types of Buses in computer system
Interfacing I/O devices to processor memory
and operating systems
I/O Data Transfer Methods
Interrupts
Processor
Cache
Graphics Network
Disk Disk
output
• I/O is the eyes, ears, nose, mouth, hands, legs, etc. of the
computer system. Imagine a computer without I/O.
Source: Feleke Merin (Dr. –Eng.) 4
Role of I/O controller
• Design factors:
– I/O device characteristics (input, output, storage, etc.).
– I/O Connection Structure (degree of separation from
memory operations).
– I/O interface (the utilization of dedicated I/O and bus
controllers).
– Types of buses (processor-memory vs. I/O buses).
– I/O data transfer or synchronization method
(programmed I/O, interrupt-driven, DMA).
• Terminals
– Input and display devices that perform
data entry and input at same time
– Office, warehouse, factory
• Speech-recognition technology
– Input devices that recognize human speech
– e.g. automate account
identification process
• Digital cameras
• Scanning devices
• Optical data readers
Special scanner
OMR – standardized tests
OCR – convert handwritten
to typed doc into digital data
• Magnetic stripe card
– Swipe card
• Point-of-sale (POS) devices
– Used in retail operations to
enter sales information
• Display monitors
• Eyebud screens
– Portable media devices
– Display video in front of one eye
Memory Controller
(Chipset North Bridge)
Isolated I/O
I/O Subsystem
Physical Organizations
– Many computers use a common single bus system for both memory
and I/O interface units
• Use one common bus but separate control lines for each function
• Use one common bus with common control lines for both functions
– Some computer systems use two separate buses, one to communicate
with memory and the other with I/O interfaces
– To the CPU, and I/O device, it consists of a set of control and data
registers (usually memory-mapped) within the I/O address space.
– On the I/O device side, it forms a localized I/O bus which can be
shared by several I/O devices
• (e.g IDE, SCSI, USB ...)
• Device Communication
• Data Buffering
• Error Detection
• Processor-Memory Bus
CPU Memory
(2) Send/receive data to/from the memory address (using “data wires”)
CPU Memory
Data Wires
(1) Specify I/O device (port) address using “I/O addressing wires”
(2) Send/receive data to/from the specified I/O device using “data wires”
CPU Memory
Data Wires