2022 23 1i

Computer Organization and Architecture2022-232 marksPeripheral devices, I/O interface, I/O ports

List down the functions performed by an Input/Output unit.

List down the functions performed by an Input/Output unit.

The main functions of an Input/Output unit are:

  • Interfacing the CPU and memory with the I/O devices through the system bus.
  • Selecting the correct device by decoding the address.
  • Converting data between the different formats and signal levels of the device and the CPU (for example parallel and serial).
  • Matching the speed of the fast CPU to the slow devices, by buffering data.
  • Giving the CPU control and status information, such as ready, busy and error.
  • Detecting errors and sending an interrupt when the device needs service.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.

Up nextWhy does the DMA get priority over CPU when both request memory transfer?