1
What are major requirements for an I/O module?
i/o device • 7.1k  views
1  upvotes
1
  • I/O modules are the critical element of the computer system after CPU and memory. All computer systems must have efficient means to receive input and deliver output. Wide variety of peripherals in different amounts of data, at different speeds and in different formats, all are slower than CPU and RAM.
  • Input-output module provides a method for transferring information between internal storage and external I/O devices.
  • Peripherals connected to a computer need special communication links for interfacing them with the central processing unit.
  • The requirements of the communication link are to resolve the differences that exist between the central computer and each peripheral.

The requirements are as follows:

  1. Peripherals are electromechanical and electromagnetic devices and their manner of operation is different from the operation of the CPU and memory, which are electronic devices. Therefore, a conversion of signal values may be required.
  2. The data transfer rate of peripherals is usually slower than the transfer rate of the CPU, and consequently, a synchronization mechanism may be needed.
  3. Data codes and formats in peripherals differ from the word format in the CPU and memory.
  4. The operating modes of peripherals are different from each other and each must be controlled so as not to disturb the operation of other peripherals connected to the CPU.
  • A typical I/O module is shown in Figure 8:

enter image description here

  1. Device Communication - communicate with external devices
  2. Data Buffering - Temporarily hold data between being transferred between the I/O module and external devices.
1  upvotes
1
  1. Processor communication -- this involves the following tasks: (a). exchange of data between processor and I/O module (b). command decoding - I/O module accepts commands sent from the processor. E.g., the I/O module for a disk drive may accept the following commands from the processor: READ SECTOR, WRITE SECTOR, SEEK track, etc. (c). status reporting – The device must be able to report its status to the processor, e.g., disk drive busy, ready etc. Status reporting may also involve reporting various errors. (d). Address recognition – Each I/O device has a unique address and the I/O module must recognize this address.
  2. Device communication – The I/O module must be able to perform device communication such as status reporting.
  3. Control & timing – The I/O module must be able to co-ordinate the flow of data between the internal resources (such as processor, memory) and external devices.
  4. Data buffering – This is necessary as there is a speed mismatch between speed of data transfer between processor and memory and external devices. Data coming from the main memory are sent to an I/O module in a rapid burst. The data is buffered in the I/O module and then sent to the peripheral device at its rate.
  5. Error detection – The I/O module must also be able to detect errors and report them to the processor. These errors may be mechanical errors (such as paper jam in a printer), or changes in the bit pattern of transmitted data. A common way of detecting such errors is by using parity bits.
1  upvotes
Please log in to add an answer.

Next up

Read More Questions

If you are looking for answer to specific questions, you can search them here. We'll find the best answer for you.

Search

Study Full Subject

If you are looking for good study material, you can checkout our subjects. Hundreds of important topics are covered in them.

Know More