0% found this document useful (0 votes)
24 views3 pages

Bus Architecture and Logic Gates

coa

Uploaded by

rudraee41
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

Bus Architecture and Logic Gates

coa

Uploaded by

rudraee41
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

BUSES, BUS ARCHITECTURE, TYPES OF BUSES AND BUS ARBITRATION

Bus and Memory Transfers


A digital system composed of many registers and paths must be provided to transfer information
from one register to another.
The number of wires connecting all of the registers will be excessive if separate lines are used
between each register and all other registers in the system.
A bus structure, on the other hand, is more efficient for transferring information between registers in
a multi-register configuration system.
A bus consists of a set of common lines, one for each bit of register, through which binary
information is transferred one at a time.
Control signals determine which register is selected by the bus during a particular register transfer.
The following block diagram shows a Bus system for four registers. It is constructed with the help of
four 4 * 1 Multiplexers each having four data inputs (0 through 3) and two selection inputs (S1 and
S2).
We have used labels to make it more convenient for you to understand the input-output configuration
of a Bus system for four registers.
For instance, output 1 of register A is connected to input 0 of MUX1.

The two selection lines S1 and S2 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 both of the select lines are at low logic, i.e. S1S0 = 00, the 0 data inputs of all four
multiplexers are selected and applied to the outputs that forms the bus. This, in turn, 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, when S1S0 = 01, register B is selected, and the bus lines will receive the content provided
by register B.
The following function table shows the register that is selected by the bus for each of the four
possible binary values of the Selection lines.

Note: The number of multiplexers needed to construct the bus is equal to the number of bits in each
register. The size of each multiplexer must be 'k * 1' since it multiplexes 'k' data lines.
For instance, a common bus for eight registers of 16 bits each requires 16 multiplexers, one for each
line in the bus. Each multiplexer must have eight data input lines and three selection lines to
multiplex one significant bit in the eight registers.
A bus system can also be constructed using three-state gates instead of multiplexers.
The three state gates can be considered as a digital circuit that has three gates, two of which are
signals equivalent to logic 1 and 0 as in a conventional gate. However, the third gate exhibits a high-
impedance state.
The most commonly used three state gates in case of the bus system is a buffer gate.
The graphical symbol of a three-state buffer gate can be represented as:

The following diagram demonstrates the construction of a bus system with three-state buffers.

o The outputs generated by the four buffers are connected to form a single bus line.
o Only one buffer can be in active state at a given point of time.
o The control inputs to the buffers determine which of the four normal inputs will communicate
with the bus line.
o A 2 * 4 decoder ensures that no more than one control input is active at any given point of
time.
Memory Transfer
Most of the standard notations used for specifying operations on memory transfer are stated below.
o The transfer of information from a memory unit to the user end is called
a Read operation.
o The transfer of new information to be stored in the memory is called a Write operation.
o A memory word is designated by the letter M.
o We must specify the address of memory word while writing the memory transfer operations.
o The address register is designated by AR and the data register by DR.
o Thus, a read operation can be stated as:
1. Read: DR ← M [AR]
o The Read statement causes a transfer of information into the data register (DR) from the
memory word (M) selected by the address register (AR).
o And the corresponding write operation can be stated as:
1. Write: M [AR] ← R1
o The Write statement causes a transfer of information from register R1 into the memory word
(M) selected by address register (AR).

Common questions

Powered by AI

For a bus system with eight registers, each being 16 bits, 16 multiplexers are required. Each multiplexer corresponds to one bit position across the registers, and each multiplexer needs to manage data input lines from all eight registers, which means each requires eight data input lines and three selection lines .

The introduction of three-state gates in bus systems simplifies design by eliminating the need for multiple multiplexers for each bit position. Instead of selection inputs built into multiplexers, three-state buffers use separate control inputs with decoder logic to ensure only one path is enabled at a time. This reduces the hardware complexity and potential for signal interference, allowing for more efficient operation and scalability .

Control signals in bus architecture are pivotal as they determine which register data is transferred to the bus. They ensure that only the appropriate register content is moved onto the bus without intermingling data from other registers, achieving efficient and precise data handling within the bus system .

A 2*4 decoder is crucial in a bus system with three-state buffers because it ensures that only one buffer is active at any time. The decoder translates the binary selection inputs into a unique active line that connects one of the buffer outputs to the bus. This prevents conflicts by ensuring no more than one control input is active, maintaining error-free data communication and bus integrity .

In a read operation, information is transferred from a memory unit to a data register (DR) using the memory word designated by an address register (AR), i.e., DR ← M[AR]. In contrast, a write operation transfers information from a register (e.g., R1) into the memory word also designated by AR, i.e., M[AR] ← R1. Hence, the read operation retrieves data while the write operation stores data, involving both address and data registers in specifying operations .

Multiplexers in a bus system function to select the data from one register among several registers to be transferred onto the bus. Each multiplexer corresponds to a bit position across the registers. Selection inputs, such as S1 and S2, determine which register's data will be placed onto the bus by selecting the appropriate data inputs of the multiplexers .

A high-impedance state in three-state gates enhances bus system functionality by effectively disconnecting an output from the bus line, allowing other outputs to drive the bus without interference. This state is critical in bus systems to prevent multiple sources from driving the bus simultaneously, avoiding data corruption and signal conflicts .

Three-state buffers allow multiple outputs to be connected to a single bus line, offering a high-impedance state in addition to normal logic levels. This permits only one buffer to be active at a time, managed by control inputs. Unlike multiplexers that use a selection mechanism for data input, three-state buffers use control signals to enable only a single pathway to avoid data conflicts on the bus line .

Bus architecture optimizes information transfer between registers by using a common set of lines to transfer bits one at a time between registers. This reduces the number of required wire connections, as separate lines between each register would be excessive in complexity and materials. The selection of which register to transfer from is controlled by selection lines, which makes the system efficient for multiple-register configurations .

A bus system is more efficient than separate register pathways because it minimizes the wiring and connection complexity. By using common lines and controlled selection mechanisms, a bus allows for scalable and manageable inter-register communication with fewer physical resources, reducing costs and design complexity in digital systems .

You might also like