Professional Documents
Culture Documents
UNIT - V
Memory-mapped I/O
I/O mapped I/O
Synchronous Bus
Asynchronous Bus
Asynchronous serial character transmission.
Synchronous Transmission
Isochronous Transmission
Parallel Interface (printer)
Serial Interface
serial interface provides the UART (Universal Asynchronous Receiver/Transmitter
8251)
Synchronous interrupts are produced by the CPU control unit while executing
instructions and are called synchronous because the control unit issues them
only after terminating the execution of an instruction.
Asynchronous interrupts are generated by other hardware devices at arbitrary
times with respect to the CPU clock signals.
Not related to instruction being executed.
There are two sources for interrupts and two sources for exceptions:
1. Interrupts
Maskable : Received on the processors INTR pin. The processor
does not recognize a maskable interrupt unless the interrupt enable flag
(IF) is set.
Nonmaskable interrupts : Received on the processors NMI pin.
Recognition of such interrupts cannot be prevented.
2. Exceptions
Processor-detected exceptions: Results when the processor
encounters an error while attempting to execute an instruction. These are
further classified as faults, traps, and aborts.
Faults correctable; offending instruction is retried
Traps often for debugging; instruction is not retried
Aborts major error (hardware failure)
POWERPC VS PENTIUM
How the 601 stacks up against Intels state-of-the-art CISC design, the
Pentium. On a basis of price, performance, and power consumption, the
PowerPC 601 compares quite favorably. The 601 delivers integer
performance that matches and floating-point performance that exceeds
Pentiums for about half the cost. In addition it consumes about half the
power of Pentium.
Frequency
Die Size
Cache
Power
Price
Pentium
66 MHz
264 mm2
16K
14 Watts
$950.00
PowerPC 601
66 MHz
120 mm2
32K
9 Watts
$450.00
What is BUS ?
A bus connects all the internal computer components to the CPU and Main
memory.
Every bus has a clock speed measured in MHz. A fast bus allows data to be
transferred faster, which makes applications run faster.
System Bus:
Connecting to CPU, memory and Cache.
Address Bus
Data Bus
Control Bus
I/O Bus: Connecting to the above three buses is the "good old" standard I/O
bus, used for slower peripherals (mice, modems, regular sound cards, lowspeed networking) and also for compatibility with older devices.
ISA BUS
Industry Standard Architecture (Developed by IBM)
In 1982 when ISA BUS appeared on the first PC the 8-bit ISA bus ran at a
modest 4.77 MHZ the same speed as Intel 8088.
ISA BUS is extremely slow by today's standards and not suited to the use of
a graphical operating system like Windows.
ISA bus mostly gone from the home PC, but still found in many industrial
applications.
due to low cost & number of existing cards
In 1984 the IBM AT was introduced using the Intel 80286; at this time the
bus was doubled to 16 bits (the 80286's data bus width) and increased to
8 MHz
8 bit ISA
16 bit ISA
Additional connector is attached behind the 8 bit connector.
Contains 2 edge connector
ISA BUS is used with sound cards, modems,disk drives or most network and
video cards
5 or 6 ISA slots
Video and disk interface
ISA BUS
VESA connectors
Additional
connections converts
to 16 bit ISA
PCI slot
CPU
Main
Memory
Cache
PCI
Bridge
Motion
Video
Audio
PCI Bus
SCSI host
adapter
Interface to
Expansion Bus
LAN
adapter
I/O
Graphics
adapter
Bus Slot
Bus Slot
Bus Slot
Bus Slot
PCI
Controller
Cache
Memory
North Bridge
Video
Adapter
System
ROM
Disk
South Bridge
Expansion
Bus
Controller
ISA bus: slow (8 MHz, 8/16 bits) [125 nsec./cycle]
RTC
Keyboard
Serial
Port
Parallel
Port
Floppy
Disk
16 15
Unit ID
Manufacturer ID
Status
Command
Class code
BIST
Header
Revision
Latency
CLS
Reserved
Reserved
Expansion ROM Base Address
Reserved
Reserved
Max. Lat. Min. GNT
INT-Pin
INT-Line
Bus Type
VL-bus
100 MBps
VL-bus
132 MBps
132 MBps
PCI-X 66
512 MBps
PCI-X 133
1 GBps
500 MB/s
PCI Express x2
1000 MB/s
PCI Express x4
2000 MB/s
PCI Express x8
4000 MB/s
6000 MB/s
8000 MB/s
USB
The universal serial bus (USB) has solved a problem with the PC system.
Current PCI sound cards use internal PC power, which generates a lot of
noise.
USB allows the sound card to have its own power supply, for highfidelity sound with no 60 Hz hum
Other benefits are ease of connection and access to up to 127 different
connections.
The interface is ideal for keyboards, sound cards, simple video-retrieval,
and modems.
Data transfer speeds are 12 Mbps for full-speed operation and
The Connector
two types of connectors are
specified, both are in use
there are four pins on each
connector, with signals
indicated in Table
the +5.0 V and ground can
power devices connected to the
bus
data signals are biphase
signals
when +data are at 5.0 V, data
are at zero volts and vice versa
Important Signals
Pin
Name
Cable Color
Description
VCC
Red
+5 VDC
D-
White
Data -
D+
Green
Data +
GND
Black
Ground
Maximum power through the cables is rated at 100 mA, maximum current
at 5.0 V.
if current exceeds 100 mA, Windows will indicate an overload condition
(display a yellow exclamation point)
USB uses NRZI (non-return to zero, inverted) encoding to transmit packet
data
this method does not change signal level for the transmission of logic 1
signal level is inverted for each change to logic 0
NRZI encoding used with the USB.
Actual data transmitted includes sync bits, a method called bit stuffing,
because it lengthens the data stream.
If logic 1 is transmitted for more than 6 bits in a row, the bit stuffing
technique adds an extra bit (logic 0) after six continuous 1s in a row.
Bit stuffing ensures the receiver can maintain synchronization for long
strings of 1s.
data are always transmitted with the least-significant bit first,
followed by subsequent bits
IEEE 1394
The IEEE 1394 interface is a serial bus interface standard for highspeed communications and isochronous real-time data transfer
Frequently used by personal computers, as well as in digital audio,
digital video, automotive, and aeronautics applications.
The interface is also known by the brand names of FireWire
(Apple), i.LINK (Sony), and Lynx (Texas Instruments).
B
A
FireWire 400 (IEEE 1394a): 400 Mbit/s data rates (50MB per second)
FireWire 800 (IEEE 1394b): 800 Mbit/s data rates (100MB per second)
(63 devices)
FireWire S1600: 1.6Gbps
FireWire S3200: 3.2Gbps
USB was designed for simplicity and low cost, while FireWire was
designed for high performance, particularly in time-sensitive applications
such as audio and video.
The two technologies are still mainly the same, although FireWire costs a
bit more than USB. That's why USB is used as the standard in most
computers' high-speed buses.
Types of Connectors
FireWire 400 (IEEE 1394a-1995)
It can transfer data between devices at 100, 200, or 400
Mbit/s half-duplex
These different transfer modes are commonly referred to as
S100, S200, and S400.
Cable length is limited to 4.5 metres (14.8 ft), although up to
16 cables can be connected using active repeaters; external
hubs, or internal hubs
Most modern SCSI host adapters are PCI cards, either 32-bit or 64-bit. Older ones
were based on the 16-bit ISA bus or the transitional 32-bit VESA and EISA buses
Two leading manufacturers are Adaptec and LSI Logic.
devices are connected to a computer via a 50-wire cable, which can be up to 25
meters in length and can transfer data at rates of up to 5 Megabytes/s.
The standard has undergone many revisions, and its data transfer capability has
increased rapidly. SCSI-2 and SCSI-3
Data are transferred either 8 bits or 16 bits in parallel, using clock speeds of up
to 80 MHz.