CPU Architecture & The Von Neumann Model
1. The von Neumann Model
The von Neumann Model describes a computer design where:
- There is a Central Processing Unit (CPU).
- Program instructions and data are stored in a single Main Memory (RAM).
- Instructions are fetched and executed sequentially.
2. CPU Components & Special Purpose Registers
Registers are high-speed storage locations inside the CPU itself.
Holds the address of the next instruction to be fetched.
Holds the address of the memory location currently being accessed.
Holds the actual data or instruction being moved to/from memory.
Holds the instruction that is currently being decoded and executed.
Stores the results of mathematical and logical calculations from the ALU.
3. The System Bus
A "bus" is a set of parallel wires used to transmit data between components.
| Bus | Direction | Function |
|---|---|---|
| Address Bus | Unidirectional | Carries the address of the memory location to be read from/written to. |
| Data Bus | Bidirectional | Carries the actual data/instructions between CPU and RAM. |
| Control Bus | Bidirectional | Carries signals from the Control Unit (e.g., Read/Write signals, Interrupts). |
4. The Fetch-Execute (F-E) Cycle
Fetch-Execute Cycle Visualizer
Trace the flow of data through registers using Register Transfer Notation (RTN).
The width of the data bus determines how many bits can be moved at once (e.g., a 64-bit bus is faster than a 32-bit one). The width of the address bus determines the maximum memory capacity the CPU can address.