Input output
-
Upload
muhammad-ishaq -
Category
Documents
-
view
191 -
download
3
Transcript of Input output
![Page 1: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/1.jpg)
INPUT OUTPUT1- Devices2- Modules3- Techniques
![Page 2: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/2.jpg)
GROUP MEMBERS•Ammar Shaukat 11011519-073•Sadam Husain 11011519-037•Taimur Hassan NOT FOUND
![Page 3: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/3.jpg)
INPUT OUTPUT DEVICES
•Human Readable•Machine Readable•Communication
![Page 4: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/4.jpg)
HUMAN READABLE
1-Interact with humane.g, video display termilnals , Printers
![Page 5: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/5.jpg)
MACHINE READABLE
•Communicate with equipment•E.g, Magnetic disk , tape , DVD , Sensors etc
![Page 6: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/6.jpg)
COMMUNICATION•Communicate with remote devices
• Structure:
![Page 7: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/7.jpg)
EXTERNAL DEVICES
![Page 8: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/8.jpg)
INPUT OUTPUT MODULES
•Functions•Structure
![Page 9: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/9.jpg)
MODULES FUNCTOINS
•Control And timing•Processor Communication•Device Communication•Data Buffering•Error Detection
![Page 10: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/13.jpg)
DEVICE COMMUNICATION• I/O Module must be able to perform device communication
This involve•Commands•Status •Data
![Page 14: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/14.jpg)
DATA BUFFERING
• I/O Module must be able to communicate at both Device and Memory Speeds
![Page 15: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/15.jpg)
ERROR DETECTION
•Different error detection techniques used•Report error: bad disk track or paper jam•Error techniques: Parity bit etc
![Page 16: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/16.jpg)
MODULE STRUCTURE•Signal Lines (system bus lines): Connection with rest of computer •Logic: Interact with the processor Sturcture
![Page 17: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/17.jpg)
![Page 18: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/18.jpg)
INPUT OUTPUT TECHNIQUES
•Programmed I/O•Interrupt Driven I/O•Direct Memory Access
![Page 19: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/19.jpg)
PROGRAMMED I/O•Sequential manner Processing with module•Direct control of Input output operation
•Disadvantage: Processor time wastage
![Page 20: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/23.jpg)
DIRECT MEMORY ACCESS
![Page 24: Input output](https://reader033.fdocuments.us/reader033/viewer/2022052912/5554ab4eb4c905fd608b51e1/html5/thumbnails/24.jpg)