3 INPUT/OUTPUT
IN COMPUTER
SYSTEM
I/O module
Modul I/O adalah interface atau central switch untuk mengendalikan satu atau
lebih peripheral atau peranti input output.
I/O module fungsi logik untuk komunikasi antara bus dan peripheral.
Tidak hanya sekadar modul penghubung, tetapi sebuah peranti logik dalam
melakukan fungsi komunikasi antara peripheral dan bus computer.
• Error detect
-berfungsi sebagai error detection program yang dilakukan oleh
device
I/O MODULE DIAGRAM: Function of I/O
modules
Example transaction:
• — Processor interrogates status of I/O module
• — Module returns device status
• — Device indicates ready to transmit; processor requests
data transfer by means of a command to the module
• — I/O module obtains a byte of data from the device
• — Data are transferred to the processor
• – Typically requires one or more bus arbitrations
CPU Communicator:
— Command decoding
– Commands sent as signals on control bus with parameters on data bus
E.g. disk: Read Sector, Write Sector, Seek, …