In computer architecture, a bus (historically also called a data highway or databus) is a communication system that transfers data between components inside a computer or, more rarely, between computers. It encompasses both hardware (e.g., wires, optical fiber, bus slots) and software, including communication protocols. At its core, a bus is a shared physical pathway, typically composed of wires or traces on a circuit board, that allows multiple devices to communicate. Unlike networks, which route addressed packets across switches, buses use arbitration protocols to manage which device can transmit data over the shared pathway. Buses are categorized based on their role, such as system buses (also known as internal buses, internal data buses, or memory buses) connecting the CPU and memory. Expansion buses, also called peripheral buses, extend the system to connect additional devices, including peripherals. Examples of widely used buses include PCI Express (PCIe) for high-speed internal connections and Universal Serial Bus (USB) for connecting external devices. Modern buses utilize both parallel and serial communication, employing advanced encoding methods to maximize speed and efficiency. Features such as direct memory access (DMA) further enhance performance by allowing data transfers directly between devices and memory without requiring CPU intervention.
Address bus An address bus is a bus that is used to specify a physical address. When a processor or DMA-enabled device needs to read from or write to a memory location, it specifies that memory location on the address bus (the value to be read or written is sent on the data bus). The width of the address bus determines the amount of memory a system can access. For example, a system with a 32-bit address bus can address 232 (4,294,967,296) memory locations. If each memory location holds one byte, the addressable memory space in this example is about 4 GB.
Address multiplexing Early processors used a wire for each bit of the address width. For example, a 16-bit address bus had 16 physical wires making up the bus. As the buses became wider, this approach became expensive in terms of the number of chip pins and board traces. Beginning with the Mostek 4096 DRAM, address multiplexing became common. In a multiplexed address scheme, the address is sent in two equal parts on alternate bus cycles. This halves the number of address bus signals required to connect to the memory. For example, a 32-bit address bus can be implemented by using 16 lines and sending the first half of the memory address, immediately followed by the second half of the memory address. Typically, two additional pins in the control bus – row-address strobe (RAS) and column-address strobe (CAS) – are used to tell the DRAM whether the address bus is currently sending the first half of the memory address or the second half.
Implementation Accessing an individual byte frequently requires reading or writing the full bus width (a word) at once. In these instances, the least significant bits of the address bus may not even be implemented – it is instead the responsibility of the controlling device to isolate the individual byte required from the complete word transmitted. This is the case, for instance, with the VESA Local Bus, which lacks the two least significant bits, limiting this bus to aligned 32-bit transfers. Historically, there were also some examples of computers that were only able to address words – word machines.
Memory bus
The memory bus is the bus that connects the main memory to the memory controller in computer systems. Originally, general-purpose buses like VMEbus and the S-100 bus were used, but to reduce latency, modern memory buses are designed to connect directly to DRAM chips, and thus are defined by chip standards bodies such as JEDEC. Examples are the various generations of SDRAM, and serial point-to-point buses like SLDRAM and RDRAM.
… excerpt ends here. Continue reading the full article.


