Past exam question: 2082 Chaitra (Regular), Q1(b)
Open in the Padhaiko appQuestion
Explain the bus organization of microprocessor with block diagram.
Solution
Definition of System Bus: A bus is a shared group of parallel conducting wires used to transfer binary information (signals, addresses, and data) between the microprocessor and external memory/IO subsystems. The bus organization in a microprocessor system is structured into three functional groups:
- Address Bus: A unidirectional group of lines driven solely by the microprocessor. It designates the specific memory address or I/O port involved in a data transfer. An n-bit address bus can directly reference 2^n unique physical locations (e.g., 8085's 16-bit address bus A15–A0 addresses 2^16 = 65,536 bytes = 64 KB).
- Data Bus: A bidirectional group of lines through which data bytes and instruction opcodes travel between the microprocessor, memory, and peripheral devices. The width determines the word length the processor transfers in one operation (e.g., 8085 has an 8-bit data bus D7–D0).
- Control Bus: A collection of individual timing and command lines generated by the microprocessor timing/control unit to coordinate and synchronize bus operations (e.g., RD\_bar, WR\_bar, IO/M\_bar, ALE).
Bus Organization Block Diagram:
+---------------------------------------+
| Microprocessor (CPU) |
+-------------------+-------------------+
|
Unidirectional Address Bus | (e.g. A15-A0)
================================v=======================================> To Memory & I/O
|
Bidirectional Data Bus | (e.g. D7-D0)
<==============================>x<======================================> To Memory & I/O
|
Control Bus Signals | (RD, WR, IO/M, ALE, etc.)
--------------------------------+---------------------------------------> To Memory & I/O
Interconnection of functional units:
- Memory Unit (ROM/RAM): Receives address lines from address bus, transfers data to/from data bus, and receives MEMR\_bar/MEMW\_bar control signals.
- Input/Output Ports: Receive port address from address lines, exchange data over data bus, and receive IOR\_bar/IOW\_bar control signals.
Answer:
A microprocessor coordinates memory and I/O devices using three buses: a unidirectional Address Bus specifying target locations, a bidirectional Data Bus carrying information bytes, and a Control Bus carrying synchronizing timing and command strobes.