Escolar Documentos
Profissional Documentos
Cultura Documentos
Bus Systems
CPU terminal
RAM memory
printer
clock
CPU centered organization of computer system
bus
Bus organization of computer system
Bus structure
Parameters describing a bus system
– Mechanical and electrical data: board dimension, type of connector, power
consumption, cooling requirements
– Whether the bus is processor-oriented or processor independent
– Address width or addressable memory space
– Data width
– Data transfer type synchronous/asynchronous
– Data and address multiplexing
– Clock frequency
– Data transfer rate, typical and maximum
– Number of interrupts and interrupt handling
– Number of master units (that can control the data transfer)
– Additional features such as auto-configuration
1. Mechanical Construction
– Board size
– Connector types
1/10
6) Bus Systems
b) Plug-in connectors
Plug-in connectors: higher electrical
and mechanical stability
DIN 41612 standard Model A: 32
pins, Model B: 64 pins, Model C: 96
pins
DIN 41612 C used in VMEbus and
Multibus II
Used in IDE cable in personal
computer
2/10
6) Bus Systems
a) b)
a) Internal structure of TTL NAND gate and b) short connection of two totem pole
outputs
b) Open collector
TTL output
Pull-up resister connected to output
Outputs connected together wired OR configuration
Output is high only if all the transistors are high
Output is low if one (or more) of the transistors is low
All non communicating (idle) boards outputs high
The communicating board output is reflected in the line
Used for indicating readiness to send or accept data
(a) (b)
(a)Open collector configuration (b) wired OR connection
c) Tristate logic
Three states Logic HIGH, Logic LOW and high impedance state
High impedance state does not affect the state of the line, but can
monitor the state of the line
Can be connected together. The board which does not have to write will be
in the high impedance state
3/10
6) Bus Systems
electronics
board
logic data
output to the bus line
control line
logic data
input
Bus Operation
Bus Protocol: set of rules for operation of a bus
Bus Master: board which controls the bust i.e. sets address and operation to be
performed
Bus Slave: unit address by the bus master and reacts to command by the master
Slave
bus
Master
4/10
6) Bus Systems
Synchronous Data Transfer: bus operation based on the timing of a reference clock
signal
Bus Cycle: reference clock period
Asynchronous Data Transfer: event based bus operation, no synchronization clock,
coordination by handshaking
valid
data (from slave)
data
1 2 3 4 5 6 7 8
Read operation
Master sets the address lines and asserts ADDRESS_VALID line and data READ
line
All boards decodes the address
The addressed board puts the data in data line and asserts DATA_READY
Master negates DATA_READY and DATA_ACKnowledge
5/10
6) Bus Systems
(data accepted
address no longer valid)
address valid address
(from
master) ADDRESS_VALID
(data accepted) / READ/ DATA_ACK
data read (from master)
(data no
longer valid)
valid data
data (from slave)
(data no
DATA_READY
longer valid)
data valid (from slave)
Write operation
Master sets the address lines, puts data in the data line and asserts
ADDRESS_VALID line and data WRITE line
All boards decodes the address
The addressed board processes the data and asserts DATA_ACKnowledge
(address
no longer valid)
address valid address
(from
master)
(data and address ADDRESS_VALID
no longer valid) / WRITE
data write (from master)
(data no
longer valid)
valid data
data
(from slave)
(ready for
data accepted new data) DATA_ACK
data accepted
(from slave)
6/10
6) Bus Systems
4. Interrupt Handling
Interrupt: signal sent by a peripheral board to the central processor (or another
board) in order to request attention.
The processor stops its current task and executes a service routine according to the
interrupt.
Interrupt is event base
Interrupt Priority: buses have several interrupt request lines and each line has
different priorities. Interrupts generated at the same time is served according to
their priority.
Shared Interrupt: each interrupt line is shared by several boards. If a board want
to generate an interrupt, it asserts the interrupt line, the CPU identifies the interrupt
generated by polling.
Daisy-chain connection:
A board generates interrupt request
Interrupt handler generates an acknowledge signal
The acknowledge signal is daisy-chained and the line is normally closed
The board requesting interrupt will open the connection and prevent the
acknowledge signal from traveling further.
And the board writes its identification code in the bus
In case of interrupt from several boards, the board closest to the interrupt
handler will get the acknowledge
Daisy-chain line needs two pins. If no board is connected in a slot, the pins
should be shorted with jumpers.
7/10
6) Bus Systems
interrupt request
from this unit
Board 1 Board x Board n
jumper
to mater unit
other bus lines
5. Bus Arbitration
Bus Arbitration: selection of the bus master
Arbiter: super master, allocates bus master
Board wishing to get bus control sends a request to the arbiter via an interrupt
on a BUS_REQUEST line
The arbiter compares priority of the requesting board with the current bus
master and decides when the bus control has to be transferred
Bus busy line
Bus Bus
request acknowledge
Arbiter
8/10
6) Bus Systems
Multibus II
– ANSI/IEEE 1296
– Double Eurocard format 233 160 mm
– Two 96-pin DIN 41612 – C connectors called P1 and P2
– Address/Data line 32 bits multiplexed
– Synchronous data transfer, clock frequency 10 MHz
– Board in the first slot is central service module (CSM)
– CPU and RAM in same board
– Addressable range – Memory Space
– Message Space : bus system arbitration and protocols
– Interconnect Space : data and procedures for board
identification and self-testing and system auto-
configuration
– Communication by message packets up to 32 bytes
– Solicited message: sent only after an explicit request by the receiving unit
– Unsolicited message: request for data, signaling message and interrupts
– Dedicated bus interface chip, called message passing coprocessor (MPC)
– MPC: bus arbitration, division of messages into packets and their reconstruction
– Interrupts send as unsolicited message
9/10
6) Bus Systems
CPU CPU
memory memory
MPC MPC
Multibus II
10/10