Академический Документы
Профессиональный Документы
Культура Документы
AND
ARCHITECTURE
[CS301]
ASSIGNMENT ON:
Intrasystem communication
And
Input/output
TOPICS:
1. Peripheral Devices
2. Input-Output Controller and I/O driver
3. IDE for hard disk
4. I/O port and Bus concept
5. Bus cycle
6. Synchronous and asynchronous transfer
7. Interrupt handling in PC
8. Parallel Port
9. RS – 232 interface
10. Serial port in PC
11. Serial I/O interface
12. Universal serial bus IEEE 1394
13. Bus Arbitration Techniques
14. Uni-bus and multi-bus architectures EISA Bus
15. VESA Bus
1. Peripheral Devices
Devices that are under the direct control of the computer are said to be connected on-line. These
devices are designed to read information into or out of the memory unit upon command from the
CPU and are considered to be part of the total computer system. Input or output devices attached
to the computer are also called peripherals. Among the most common peripherals are keyboards,
display units, and printers. Peripherals that provide auxiliary storage for the system are magnetic
disks and tapes. Peripherals are electromechanical and electromagnetic devices of some
complexity.
In Asynchronous Transmission, data is sent in form of byte or character. This transmission is the
half duplex type transmission. In this transmission start bits and stop bits are added with data. It
does not require synchronization. Asynchronous transmission is slow and economical.
7. Interrupt handling in PC
An interrupt refers to an external event that needs immediate attention from the processor. An
interrupt signals the processor, indicating the need of attention, and requires interruption of the
current code the processor is executing. As a response, the processor suspends its current
activities, saves its state and executes a particular function to service the event that has caused
the interruption. Such function is often called an interrupt handler or an interrupt service routine.
Once the processor has responded to the interrupt, i.e. after the processor has executed the
interrupt handler, the processor resumes its previously saved state and resumes the execution of
the same program it was executing before the interrupt occurred. The interrupts are often caused
by external devices that communicate with the processor (Interrupt-driven I/O).
8. Parallel Port
A parallel port transfers data in the form of a number of bits (8 or 16) simultaneously to or from
the device. In parallel port, the connection between the device and the computer uses a multiple-
pin connector and a cable with as many wires. This arrangement is suitable for devices that are
physically close to the computer. A socket on a computer used to connect a printer or other
device via a parallel interface.
9. RS – 232 interface
RS-232C is the interface that your computer uses to talk to and exchange data with your modem
and other serial devices. RS-232C is the interface between your Communication networks and
other communication networks. RS-232 devices are both data terminal equipment (DTE)
and data circuit-terminating equipment (DCE). Computer terminals are usually equipped with
male connectors with DTE pin functions, while modems have female connectors with DCE pin
functions. Although the standard specifies twenty different signal connections, most devices use
only a few of these signals, enabling the smaller 9-pin (DB9) connectors to be used.
A serial port is used to connect the processor to I/O devices that require transmission of data one
bit at a time. The key feature of an interface circuit for a serial port is that it is capable of
communicating in a bit-serial fashion on the device side and in a bit parallel fashion on the bus
side. The transformation between the parallel and serial formats is achieved with shift registers
that have parallel access capability. These communication links are used to resolve the
differences between CPU and peripheral.
The method that is used to transfer information between internal storage and external I/O devices
is known as I/O interface. Serial communication may be asynchronous, where the data characters
include start and stop bits to delimit the data, or synchronous, where such additional bits are
omitted and the delimiting of the data depends purely on timing. SIO was a relatively slow mode,
but advances in silicon technology means that very fast SIO (hundreds of megabits per second)
now make SIO a very cost-effective alternative to parallel interfaces.
A conflict may arise if both the processor and a DMA controller or two DMA controllers try to
use the bus at the same time to access the main memory. To resolve this problem, an arbitration
procedure on bus is needed. The device that is allowed to initiate data transfer on the bus at any
given time is called the bus master. When the current master relinquishes control of the bus,
another device can acquire this status. Bus arbitration is the process by which the next device to
become the bus master take into account the needs of various devices by establishing a priority
system for gaining access to the bus. There are two approaches to bus arbitration: Centralized
and distributed. In centralized arbitration, a single bus arbiter performs the required arbitration.
In distributed arbitration, all devices participate in the selection of the next bus master.
VESA Local Bus (Video Electronics Standards Association) is a standard interface between your
computer and its expansion slot that provides faster data flow between the devices controlled by
the expansion cards and your computer's microprocessor. A "local bus" is a physical path on
which data flows at almost the speed of the microprocessor, increasing total system performance.
VESA Local Bus is particularly effective in systems with advanced video cards and supports 32-
bit data flow at 50 MHz .A VESA Local Bus is implemented by adding a supplemental slot and
card that aligns with and augments an Industry Standard Architecture expansion card.