6 - Bus System Using Multiplexer (For Numerical Part)
6 - Bus System Using Multiplexer (For Numerical Part)
Organization and
Architecture
BUS SYSTEM USING
MULTIPLEXER
by
Upendra Mishra
(B.Tech., M.Tech. PhD.(P))
KIET Group of Institutions
Contents
MULTIPLEXER
A bus structure consists of a set of common lines, one for each bit of a
register, through which binary information is transferred one at a time.
Control signals determine which register is selected by the bus during
each particular register transfer.
One way of constructing a common bus system is with multiplexers.
The multiplexers select the source register whose binary information is
then placed on the bus.
Bus System for Four Registers
Bus System for Four
Registers
1.Number of Multiplexer Required= Number of bits in each register
2. Size of Multiplexer = Number of register used
Bus System for Four Registers
Each register has four bits, numbered 0 through 3.
The bus consists of four 4X1 multiplexers each having four data inputs, 0
through 3, and two selection inputs, S1 and S0.
For example, output 1 of register A is connected to input 0 of Mux 1 because
this input is labelled A1.
The MUX 0 multiplexes the four 0 bits of the registers, MUX 1 multiplexes the
four 1 bits of the registers, and similarly for the other two bits.
Bus System for Four Registers
The two selection lines S1 and S0 are connected to the selection inputs of all
four multiplexers.
The selection lines choose the four bits of one register and transfer them into
the four-line common bus. When S1S0=00, the 0 data inputs of all four
multiplexers are selected and applied to the outputs that form the bus.
This causes the bus lines to receive the content of register A since the outputs
of this register are connected to the 0 data inputs of the multiplexers. Similarly,
register B is selected if S1S0=01, and so on.
Bus System for Four Registers
In general, a bus system will multiplex k registers of n bits each to produce an
n-line common bus.
The number of multiplexers needed to construct the bus is equal to n, the
number of bits in each register.
The size of each multiplexer must be k X 1 since it multiplexes k data lines.
Bus System for Four Registers
The transfer of information from a bus into one of many destination registers
can be accomplished by connecting the bus lines to the inputs of all destination
registers and activating the load control of the particular destination register
selected.
GENERAL REGISTER ORGANIZATION Input
Clock
A bus organization
for seven CPU R1 A
R2
registers. R3
R1 R2+R3 R4
B
R5
1. MUX A selector (SELA): R6
to place the content of R2 R7
into bus A . Load
2 . MUX B selector (7 lines)
(SELB): to place the SELA { MUX MUX } SELB