L2_Bus, Its Architecture and Types_unit-1
L2_Bus, Its Architecture and Types_unit-1
A. BUS
What is bus?
• A bus is a set of wires that act a shared but common data path to connect multiple subsystems
within the system.
• It consists of multiple lines, allowing the parallel movement of bits.
• The speed of the bus is affected by its length as well as by the number of devices sharing it.
• The size of a bus, known as its width, is important because it determines how much data can be
transmitted at one time. For example, a 32-bit bus can transmit 32 bits of data, whereas a 64-bit bus
can transmit 64 bits of data.
• Every bus has a clock speed measured in MHz or GHz. A fast bus allows data to be transferred
faster, which makes applications run faster.
• An address bus is measured by the amount of memory a system can retrieve. A system with a 32 -bit
address bus can address 4 gibibytes of memory space. Newer computers using a 64-bit address bus
with a supporting operating system can address 16 exbibytes or approx. 18446744073 GB of
memory locations, which is virtually unlimited.
[Note:1-GB is defined as 1000³ bytes, whereas 1-GiB is defined as 1024³ bytes.]
Why the bus is required?
• For communication and connections.
• The CPU communicates with the other component via a bus.
• Buses make it easy to connect new devices to each other and to the system.
Advantages of Bus
a. Data lines
• The lines of a bus dedicated to moving data are called the data bus.
• These data lines contain the actual information that must be moved from one location to another.
b. Control lines
• They indicate which device has permission to use the bus and for what purpose (reading or writing
from memory or from an input/output (I/O device, for example).
• These lines also transfer acknowledgements for bus requests, Interrupts, and clock synchronization
signal.
c. Address lines
• These lines indicate the location (e.g. in memory) that the data should be either read from or written
to.
d. Power lines
• These lines provide the electrical power necessary.
D. TYPES OF BUSES
a. Point-to-Point Bus
• It can be a common pathway that connects a number of devices, requiring these devices to share the
bus.
c. Processor -Memory Bus
• These buses are short, high-speed buses that are closely matched to the memory system on the
machine to maximize the bandwidth (transfer of data) and are usually design specific.
d. I/O Bus
• These buses are typically longer than processor-memory buses and allow for many types of devices
with varying bandwidth.
• These buses are compatible with many different architectures.
e. Back Plane Bus
It is actually built into the chasis of the machine and connects the processor, the I/O devices, and the
memory (So all device are one bus).
f. Dedicated and Multiplexed Bus
Types of Bus Dedicated Bus Multiplexed Bus
Explanation A dedicated bus is permanently Common bus used for both data and
assigned either to a particular address transmission.
function or to a physical subset Presence of a Control Line: Address
of computer components. valid signal.
Functional Dedication means a • Activate address valid control line.
separate bus for each different • Place address on multiplexed bus.
function. • Modules check if the address refer
Physical Dedication means use them.
of separate buses connecting • After sometime, address removed.
different system components • Data is now sent on this bus.
(same functionality).
Advantages High Throughput and Less Use of fewer lines -> Less Cost and
Waiting Time Space
Disadvantages More Cost (Larger Bus Size) Reduced Performance-> More Complex
Circuit
KIET GROUP OF INSTITUTIONS GHAZIABAD
(An ISO – 9001: 2008 Certified & ‘A’ Grade accredited Institution by NAAC)
All computing devices, from smartphones to supercomputers, pass data back and forth along
electronic channels called "buses." The number and type of buses used strongly affect the machine's
overall speed. Simple computer designs move data on a single bus; multiple buses, however, vastly
improve performance. In a multiple-bus architecture, each pathway is suited to handle a particular
kind of information.
In a single-bus architecture, all components including the central processing unit, memory and
peripherals share a common bus. When many devices need the bus at the same time, this creates a
state of conflict called bus contention; some wait for the bus while another has control of it. The
waiting wastes time, slowing the computer down. Multiple buses permit several devices to work
simultaneously, reducing time spent waiting and improving the computer's speed. Performance
improvements are the main reason for having multiple buses in a computer design.
2. Expansion
Having multiple different buses available gives you more choices for connecting devices to your
computer, as hardware makers may offer the same component for more than one bus type. For
example, most desktop PCs use the Serial Advanced Technology Attachment interface for internal
hard drives, but many external hard drives and flash drives connect via USB. If your computer's
SATA connections are all used, the USB interface lets you connect additional storage devices.
3. Compatibility
As with all of a computer's components, bus designs evolve, with new types being introduced every
few years. For example, the PCI bus that supports video, network and other expansion cards predates
the newer PCIe interface, and USB has undergone several major revisions. Having multiple buses
that support equipment from different eras lets you keep legacy equipment such as printers and older
hard drives and add newer devices as well.
4. Multi-core
A single central processing unit places heavy demands on the bus that carries memory data and
peripheral traffic for hard drives, networks and printers; since the mid-2000s, however, most
computers have adopted a multi-core model that require additional buses. To keep each core busy
and productive, the new bus designs ferry increased amounts of information in and out of the
microprocessor, keeping wait times to a minimum.
KIET GROUP OF INSTITUTIONS GHAZIABAD
(An ISO – 9001: 2008 Certified & ‘A’ Grade accredited Institution by NAAC)
• These buses connect the CPU, memory, and all other internal components.
b. External/Expansion Bus
• The buses connect external devices, peripherals, expansion slots, and I/O ports to the rest of the
computer.
• These buses are slower but allow for more generic connectivity.
c. Local Buses/Data Bus
• These buses connect a peripheral device directly to the CPU.
• These high - special buses can be used to connect only a limited number of similar devices.