Computer Organization Chapter8
Computer Organization Chapter8
Magnetic Disk and Tape Systems: These storage devices store data in
a format that can be read and written by computer hardware, using
magnetic fields to encode the information.
3. Communication:
Human to human, machine to machine, human to machine
communication.
- The interface to the I/O module is in the form of control, data, and status
signals.
Control signals determine the function that the device will perform, such as
send data to the I/O module (INPUT or READ), accept data from the I/O module
(OUTPUT or WRITE), report status, or perform some control function particular
to the device (e.g., position a disk head).
Disk Drive:
Definition: A disk drive is a data storage device that reads and writes
data on a disk using magnetic or optical techniques.
Transducer:
Definition: A transducer is a device that converts one form of energy into
another. In the context of disk drives, it converts magnetic patterns on
the disk surface into electrical signals (bits) and vice versa.
8.2 I/O Modules
1. Control and Timing:
Definition: This function ensures the proper sequencing and timing
of operations to coordinate the transfer of data between the
processor, memory, and peripheral devices.
Explanation: The I/O module manages the timing of data transfers
to prevent conflicts and ensure that data is sent and received in the
correct order. This involves synchronizing the operations of various
components within the computer system.
2. Processor Communication:
Definition: The methods and protocols through which the I/O
module interacts with the processor.
Explanation: This includes decoding commands from the
processor, transferring data via the data bus, reporting the status of
I/O operations, and recognizing the addresses of peripheral devices.
Effective processor communication is crucial for the smooth
execution of I/O operations.
3. Device Communication:
Definition: The interaction between the I/O module and external
devices, involving the exchange of commands, status information,
and data.
Explanation: The I/O module must send appropriate commands to
the device, receive status updates, and handle data transfers. This
ensures that external devices operate correctly and data is
accurately transferred between them and the computer system.
4. Data Buffering:
Definition: The temporary storage of data within the I/O module to
match the different speeds of data transfer between the
processor/memory and peripheral devices.
Explanation: Since peripheral devices often operate at slower
speeds than the processor or memory, data buffering helps to
smooth out the data flow. The I/O module temporarily holds data in
a buffer, allowing it to be transferred at the appropriate rate for
each device, preventing bottlenecks and inefficiencies.
5. Error Detection:
Definition: The process of identifying and reporting errors that
occur during data transmission or device operation.
Explanation: The I/O module monitors for errors such as
mechanical failures or data transmission errors. Techniques like
parity checks are used to detect errors, ensuring data integrity and
reliable operation. When an error is detected, the module reports it
to the processor for appropriate action.
I/O Module Structure
1. Connection to Computer:
Signal Lines: The I/O module interfaces with the rest of the
computer through a set of signal lines, typically system bus lines.
These lines carry data, control signals, and status information
between the module and the processor.
2. Data and Status Registers:
Data Registers: These registers buffer data being transferred to
and from the I/O module, ensuring smooth and efficient data flow.
Status Registers: These provide the current status of the module
and the devices it controls. They may also act as control registers to
receive commands from the processor.
3. Control Lines:
Processor Commands: The processor uses control lines to send
commands to the I/O module. The module’s logic interprets these
commands to perform various operations.
Status Signals: The I/O module can send status signals back to the
processor, indicating conditions such as BUSY or READY.
4. Address Recognition:
Unique Addresses: Each I/O module, and potentially each device it
controls, has a unique address. The module must recognize these
addresses to direct data and commands correctly.
5. Device Interface Logic:
Specific Logic: The I/O module includes logic tailored to the
specific requirements of each device it controls, ensuring proper
communication and operation.
6. Functionality Spectrum:
Simplifying Processor Interaction: The I/O module hides the
complexities of timing, data formats, and electromechanical details
from the processor. This abstraction allows the processor to use
simple read and write commands without dealing with the intricate
details of each device.
7. Types of I/O Modules: