Resources | Subject Notes | Computer Science
The Von Neumann architecture is a fundamental design for most modern computers. It's characterized by a single address space for both instructions and data, connected by a single bus. This document details the purpose of the key components within this architecture.
The Von Neumann architecture consists of the following main components:
The CPU is the "brain" of the computer. It fetches instructions from memory, decodes them, and executes them. It performs arithmetic and logical operations, and controls the flow of data within the system.
The CPU typically contains:
Memory is used to store both instructions and data. It's organized as a sequence of memory locations, each with a unique address.
There are different types of memory:
Input devices allow users to enter data and instructions into the computer. Examples include keyboards, mice, and scanners.
Output devices display or present the results of processing to the user. Examples include monitors, printers, and speakers.
The system bus is a set of wires that connects all the components of the computer. It allows data, addresses, and control signals to be transmitted between them.
The system bus typically consists of three main buses:
The interaction between these components follows a fetch-decode-execute cycle:
Component | Purpose |
---|---|
CPU | Fetches, decodes, and executes instructions. |
Memory | Stores instructions and data. |
Input Devices | Allows data and instructions to enter the computer. |
Output Devices | Displays or presents the results of processing. |
System Bus | Connects all components and facilitates data transfer. |
The Von Neumann architecture's single address space is a key characteristic, meaning instructions and data share the same memory locations. This can lead to the Von Neumann bottleneck, where the CPU spends time fetching instructions and data from memory, limiting overall performance.