š”Why a Common Bus?
A basic computer system has eight registers, memory, and a control unit. Instead of connecting every register to every other register (which would require excessive wiring), we use a common bus system.
Key Benefit: Efficient information transfer between multiple registers with minimal hardware complexity!
- Reduces wiring complexity exponentially
- Uses multiplexers or three-state buffers
- Enables simultaneous access control
- Scalable for multiple components
šSystem Specifications
16-bit Common Bus
7 Connected Components
3 Selection Inputs
Components Connected:
- 6 Registers (AR, PC, DR, AC, IR, TR)
- 1 Memory Unit (4096Ć16 bits)
- Control via SāSāSā selection lines
Memory Configuration: 4096 words Ć 16 bits per word
šSystem Architecture
š®Interactive Bus Simulator
Click a register to select it on the bus
AR
Address Register (12-bit)
PC
Program Counter (12-bit)
DR
Data Register (16-bit)
IR
Instruction Register (16-bit)
TR
Temporary Register (16-bit)
Memory
Memory Unit (16-bit)
16-BIT COMMON BUS
Bus Selection Control: SāSāSā
Select a register or toggle selection bits
šBus Selection Table
| Output Line |
Register/Unit |
Binary Select (SāSāSā) |
Description |
| 1 |
AR |
001 |
Address Register (12-bit, 4 MSBs = 0) |
| 2 |
PC |
010 |
Program Counter (12-bit, 4 MSBs = 0) |
| 3 |
DR |
011 |
Data Register (16-bit) |
| 4 |
AC |
100 |
Accumulator (16-bit, via Adder/Logic) |
| 5 |
IR |
101 |
Instruction Register (16-bit) |
| 6 |
TR |
110 |
Temporary Register (16-bit) |
| 7 |
Memory |
111 |
Memory Unit (16-bit output) |
| ā |
None |
000 |
No register selected |
š§Register Details
16-bit Registers
- DR, TR: Full 16-bit data transfer
- AC: Connected via Adder/Logic Circuit
- IR: Holds instruction code (LD only)
12-bit Registers
- AR, PC: Memory address registers
- 4 MSBs set to 0 on bus transfer
- Only 12 LSBs loaded from bus
- PC supports INR (increment)
8-bit I/O Registers
- INPR: Connected to Adder/Logic Unit
- OUTR: Receives from bus only
āļøControl Inputs
Most registers have three control inputs:
LD - Load
INR - Increment
CLR - Clear
Special Cases:
- IR: Only has LD input
- AC: Loads via Adder/Logic Circuit
- Memory: Uses Read/Write signals
- AR: Always specifies memory address
Memory Operations:
Read: DR ā M[AR]
Write: M[AR] ā Data from Bus