Professional Documents
Culture Documents
Parallel Busses
Parallel Busses
Parallel Busses
1
CONTENTS
PARALLE L BUSES.
TRISTATE BUSES.
PARALLEL CONNECTION OF
TRISTATE DRIVERS.
2
PARALLE L BUSES
3
especially embedded systems containing
processor cores, parallel connections carry
encoded data from multiple sources to several
alternate destinations.
Such connection structures, shown
conceptually in Fig. are called buses.
In the simplest case, a bus is just the collection
of signals carrying the data.
control remains in a separate control section
that sequences operation of the data sources
and destinations.
4
5
MULTI PLEXED BUSES
The multiplexer selects the value to drive the bus
signals based on a control signal generated by a
control section.
6
FIG. Conceptual
connection structure for a bus.
7
FIG. A DISTRIBUTED MULTIPLEXER
BUS STRUCTURE.
8
The data signals are connected in a chain going
past all of the sources and then routed to the
destinations.
9
The advantage of this form of distributed
multiplexer is the reduction in wiring
complexity.
10
example 8.5 Show how, in an embedded
system using a Gumnut core,the keypad
controller of Example 8.3 and two instances of
the ADC controller of Example 8.4, the
components are interconnected using
distributed multiplexers.
11
solution The Gumnut core is the single source for the
port address and control signals and for the output
data signals, so no multiplexer is needed for those
signals. The controllers each provide input data and
ack signals, so distributed multiplexers are needed for
them.
We can decode the port address to derive the
controller strobe signals and multiplexer select
signals. We choose the first ADC controller when the
port address is 0 or 1, the second ADC when the port
address is 2 or 3, and the keypad controller when the
port address is 4. The connections are shown in
Figure 8.21.
12
13
14
TRISTATE BUSES
16
FIG. PARALLEL CONNECTION OF TRISTATE
DRIVERS.
17
A second solution to avoiding contention on a
bus is to use tristate bus drivers. We said that
the outputs of a tristate driver can be turned off
by placing it in a high-impedance, or hi-Z, state.
The symbol for a tristate driver is shown in Fig.
20
FIG. TRISTATE DISABLE
AND ENABLE TIMING.
21
22
tristate buses allow us to trade off significantly
reduced wiring complexity against performance
and design complexity, provided that our
chosen implementation fabric allows tristate
drivers.
For designs that don’t have stringent
performance requirements, tristate buses can
be a good choice.
24
25