0% found this document useful (0 votes)
71 views12 pages

Input-Output Organization

This document discusses input-output organization in computing systems. It covers peripheral devices, input-output interfaces, and direct memory access. Peripheral devices connect computers to the outside world to input and output data. The input-output interface manages the difference in speed and formats between the CPU and slower peripheral devices. It decodes addresses, interrupts, and synchronizes data transfers. Direct memory access allows fast transfer of data between memory and peripherals without CPU involvement.

Uploaded by

Ram Ganesh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views12 pages

Input-Output Organization

This document discusses input-output organization in computing systems. It covers peripheral devices, input-output interfaces, and direct memory access. Peripheral devices connect computers to the outside world to input and output data. The input-output interface manages the difference in speed and formats between the CPU and slower peripheral devices. It decodes addresses, interrupts, and synchronizes data transfers. Direct memory access allows fast transfer of data between memory and peripherals without CPU involvement.

Uploaded by

Ram Ganesh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 12

Input-Output Organization

Overview
Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer Priority Interrupts Direct Memory Access Input-Output Processor Serial Communication
2

Peripheral Devices

Peripheral Devices
Efficient communication between CPU & outside Gets inputs external sources
Keyboard, mouse, touch screen, barcode reader, modem, NIC, Mic, disk, tape

Send outputs
Monitor, NIC, Printer, Modem, Speaker, disk, tape

Peripheral devices extremely slow to CPU


Large amount of data prepares in advance to transfer to CPU The result of programs transfer to high-speed disk and then to the peripheral like printers
4

Peripheral
On-line devices
Devices under direct computer control Read/write information to memory on CPU command

Peripheral
Devices attached to the computer Electromechanical/electromagnetic Monitor/Keyboard Printer Magnetic tape Magnetic disk
5

ASCII Alphanumeric Characters


American Standard Code for Information Interchange 128 characters
94 printable
26 Uppercase, 26 Lowercase, 10 numeric, 32 special (%, *)

34 non-printable (control)
Abbreviated names
Format characters (BS - backspace, CR - carriage return) Information separators (RS - record separators, FS - file separators) Communication controls (STX - start of text, ETX - end of text)
6

ASCII Alphanumeric Characters


Computer uses 8 bits for a character Additional bit?
As the parity for character For other special characters (Italic, Greek)

Input-Output Interface
Transfer information between internal storage and external peripherals Resolves the difference between CPU and peripherals
Signal value changes Transfer rate mapping Data code format mapping Control operating modes (not to disturb each other)

Interfaces supervise and synchronize transfers Lies between processor bus and peripheral device (or its controller)
8

O/I Bus and Interface Modules


I/O bus consists of
Data lines Control lines Address lines

Each peripheral is associated with its interface unit


Decode address and control received Interrupts for the device Provide signals for device Synchronize and supervise data flow
9

O/I Bus and Interface Modules


CPU Independent I/O Bus Memory memory bus Interface Peripheral Separate I/O instructions (in,out)

Interface Peripheral CPU common memory & I/O bus

Lines distinguish between I/O and memory transfers VME bus Multibus-II Nubus
40 Mbytes/sec optimistically

Memory

Interface

Interface

10 MIP processor completely saturates the bus!


10

Peripheral

Peripheral

Input-Output Interface

11

I/O Bus and Interface Modules


Each interface has own address Processor places address on address lines Corresponding peripheral responds while others are deactivated Same time processor provides function code on control lines Interface executes function on peripheral 4 main command types
Control commands, status, output data, input data
12

You might also like