input output devices and modules in computer

24
INPUT OUTPUT 1- Devices 2- Modules 3- Techniques

Upload: ammar-hassan

Post on 25-May-2015

619 views

Category:

Devices & Hardware


2 download

DESCRIPTION

its about Computer Architecture input output devices and input output modules

TRANSCRIPT

Page 1: Input output Devices and Modules in Computer

INPUT OUTPUT1- Devices2- Modules3- Techniques

Page 2: Input output Devices and Modules in Computer

GROUP MEMBERS•Ammar Shaukat 11011519-073•Sadam Husain 11011519-037•Taimur Hassan NOT FOUND

Page 3: Input output Devices and Modules in Computer

INPUT OUTPUT DEVICES

•Human Readable•Machine Readable•Communication

Page 4: Input output Devices and Modules in Computer

HUMAN READABLE

1-Interact with humane.g, video display termilnals , Printers

Page 5: Input output Devices and Modules in Computer

MACHINE READABLE

•Communicate with equipment•E.g, Magnetic disk , tape , DVD , Sensors etc

Page 6: Input output Devices and Modules in Computer

COMMUNICATION•Communicate with remote devices

• Structure:

Page 7: Input output Devices and Modules in Computer

EXTERNAL DEVICES

Page 8: Input output Devices and Modules in Computer

INPUT OUTPUT MODULES

•Functions•Structure

Ammar Hassan
Discussion About Modules
Page 9: Input output Devices and Modules in Computer

MODULES FUNCTOINS

•Control And timing•Processor Communication•Device Communication•Data Buffering•Error Detection

Page 10: Input output Devices and Modules in Computer

CONTROL AND TIMING

•To coordinate the flow of traffic between internal resources and external devices.•E.g, Switching of task from execution to I/0

Page 11: Input output Devices and Modules in Computer

PROCESSOR COMMUNICATION• I/O Module must communicate with the processor and with the external device.•Command decoding: ( module accepts the command from processor and sent signals on control bus ) e,g READ , WRITE , SCAN etc

Page 12: Input output Devices and Modules in Computer

PROCESSOR COMMUNICATION•Data: ( exchange of data between Processor and module )•Status reporting: ( BUSY , READY )•Address recognition:( I/O Module must recognize a unique address for each Peripheral it controls )

Page 13: Input output Devices and Modules in Computer

DEVICE COMMUNICATION• I/O Module must be able to perform device communication

This involve•Commands•Status •Data

Page 14: Input output Devices and Modules in Computer

DATA BUFFERING

• I/O Module must be able to communicate at both Device and Memory Speeds

Page 15: Input output Devices and Modules in Computer

ERROR DETECTION

•Different error detection techniques used•Report error: bad disk track or paper jam•Error techniques: Parity bit etc

Page 16: Input output Devices and Modules in Computer

MODULE STRUCTURE•Signal Lines (system bus lines): Connection with rest of computer •Logic: Interact with the processor Sturcture

Page 17: Input output Devices and Modules in Computer
Page 18: Input output Devices and Modules in Computer

INPUT OUTPUT TECHNIQUES

•Programmed I/O•Interrupt Driven I/O•Direct Memory Access

Page 19: Input output Devices and Modules in Computer

PROGRAMMED I/O•Sequential manner Processing with module•Direct control of Input output operation

•Disadvantage: Processor time wastage

Page 20: Input output Devices and Modules in Computer

INTERRUPT DRIVEN I/O•Processor Issues a command to I/O

module and continues other instructions

Does not wait completion of that I/O operation.

Page 21: Input output Devices and Modules in Computer

DISADVANTAGEINTERRUPT DRIVEN I/O

•Processor time wasting but less than programmed…•Processor keeps engaged in every read or write operation from input output module.

Page 22: Input output Devices and Modules in Computer

DIRECT MEMORY ACCESS

• Module access the main memory directly without involving the processor.•And processor continue its execution without interruption after reading or writing a word.

Page 23: Input output Devices and Modules in Computer

DIRECT MEMORY ACCESS

Page 24: Input output Devices and Modules in Computer