Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) PDF Download

Input-Output interface

  • Input-Output interface provides a method for transferring information between internal storage (such as memory and CPU registers) and external I/O devices.
  • Peripherals connected to a computer need special communication links for interfacing them with the central processing unit.
  • The communication link resolves the following differences between the computer and peripheral devices.
    • Devices and signals
      Peripherals - Electromechanical Devices
      CPU or Memory - Electronic Device
    • Data Transfer Rate
      Peripherals - Usually slower
      CPU or Memory - Usually faster than peripherals
      Some kinds of Synchronization mechanism may be needed
    • Unit of Information Peripherals - Byte CPU or Memory - Word
    • Operating Modes Peripherals - Autonomous, Asynchronous
      CPU or Memory – Synchronous
  • To resolve these differences, computer systems include special hardware components (Interfaces) between the CPU and peripherals to supervise and synchronize all input and output interfaces. 

Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

  • Interface performs the following:
    • Decodes the device address (device code)
    • Decodes the commands (operation)
    • Provides signals for the peripheral controller
    • Synchronizes the data flow and supervises   the transfer rate between peripheral and CPU or Memory

Question for Input Output interface
Try yourself:
What is the purpose of an Input-Output interface in a computer system?
View Solution

  • I/O commands that the interface may receive:
    • Control command: issued to activate the peripheral and to inform it what to do.
    • Status command: used to test various status conditions in the interface and the peripheral.
    • Output data: causes the interface to respond by transferring data from the bus into one of its registers.
    • Input data: is the opposite of the data output.

I/O versus Memory Bus

  • Computer buses can be used to communicate with memory and I/O in three ways:
    • Use two separate buses, one for memory and other for I/O. In this method, all data, address and control lines would be separate for memory and I/O.
    • Use one common bus for both memory and I/O but have separate control lines. There is a separate read and write lines; I/O read and I/O write for I/O and memory read and memory write for memory.
    • Use a common bus for memory and I/O with common control line. This I/O configuration is called memory mapped.

Isolated I/O versus Memory Mapped I/O 

  •  Isolated I/O
    • Separate I/O read/write control lines in addition to memory read/write control lines
    • Separate (isolated) memory and I/O address spaces
    • Distinct input and output instructions
  • Memory-mapped I/O
    • A single set of read/write control lines (no distinction between memory and I/O transfer)
    • Memory and I/O addresses share the common address space which reduces memory address range available
    • No specific input or output instruction so the same memory reference instructions can be used for I/O transfers
    • Considerable flexibility in handling I/O operations

 

Example of I/O Interface

Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

  • Information in each port can be assigned a meaning depending on the mode of operation of the I/O device
    • Port A = Data; Port B = Command;  Port C = Status
  • CPU initializes (loads) each port by transferring a byte to the Control Register
    • Allows CPU can define the mode of operation of each port
    • Programmable Port: By changing the bits in the control register, it is possible to change the interface characteristics
The document Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Computer Architecture & Organisation (CAO).
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
20 videos|86 docs|48 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Input Output interface - Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

1. What is an input-output interface in CSE?
Ans. An input-output interface in CSE refers to the mechanism through which a computer system communicates with its external environment, including users, other computer systems, and devices such as printers, scanners, and keyboards. It facilitates the exchange of data between the computer and its surroundings, enabling the system to receive information as input and produce output in the form of text, graphics, or other media.
2. What are the components of an input-output interface?
Ans. The components of an input-output interface include input devices, output devices, communication devices, and software drivers. Input devices such as keyboards, mice, and touchscreens enable users to enter data and commands into the computer system. Output devices such as monitors, printers, and speakers display or produce the results of computer processing. Communication devices such as modems and network adapters facilitate data transfer between the computer and other systems. Software drivers are programs that enable the computer to recognize and interact with specific input or output devices.
3. What are the types of input-output interfaces?
Ans. The types of input-output interfaces include serial, parallel, USB, Ethernet, and wireless. Serial interfaces transmit data one bit at a time over a single wire or channel, enabling communication with devices such as modems and serial ports. Parallel interfaces transmit data in parallel over multiple wires, allowing for faster data transfer with devices such as printers and scanners. USB interfaces enable connection to a wide range of devices, including keyboards, mice, cameras, and storage devices, through a single port. Ethernet interfaces provide high-speed data transfer over local area networks (LANs) and wide area networks (WANs). Wireless interfaces use radio waves or infrared signals to transmit data without the need for physical wires or cables.
4. How does an input-output interface affect computer performance?
Ans. The performance of a computer system can be affected by the quality and speed of its input-output interface. Slow or outdated input-output devices can lead to delays or errors in data transfer, limiting the speed and efficiency of computer processing. In contrast, high-speed, reliable input-output devices can enhance system performance by enabling faster data transfer and reducing the risk of data loss or corruption. The use of appropriate software drivers can also improve input-output performance by ensuring compatibility and efficient communication with specific devices.
5. What are some common input-output interface issues and how can they be resolved?
Ans. Some common input-output interface issues include connection errors, compatibility issues, driver problems, and device malfunctions. Connection errors can be resolved by checking cables, ports, and settings, and ensuring that all devices are properly connected and configured. Compatibility issues can be addressed by checking system requirements and ensuring that devices and software are compatible with each other. Driver problems can be resolved by updating or reinstalling software drivers, and device malfunctions may require repair or replacement of faulty hardware.
20 videos|86 docs|48 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

video lectures

,

study material

,

practice quizzes

,

Summary

,

past year papers

,

Free

,

Objective type Questions

,

Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

shortcuts and tricks

,

Semester Notes

,

Sample Paper

,

Extra Questions

,

Exam

,

Viva Questions

,

pdf

,

Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Previous Year Questions with Solutions

,

Important questions

,

mock tests for examination

,

ppt

,

MCQs

,

Input Output interface | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

;