Computer Systems - Von Neumann Architecture Flashcards
What is the Von Neumann architecture?
A system where the CPU runs programs stored in memory - the programs consist of instructions and data which are stored in memory addresses
What do arrows in the Von Neumann architecture represent?
The flow of data through buses
Describe a simplified version of the Von Neumann architecture
CPU in the middle (as a rectangle) - Control Unit (top left), ALU (top right), registers (below) each connected by buses flow to and from each other (2 arrows connected each one)
Input device (below the CPU) - data from buses only goes to the CPU (1 arrow)
Memory (on the left of the CPU) - data from buses flows both ways (2 arrows)
Output device above the CPU - data from buses only flows from the CPU (1 arrow)
IS SUBJECT TO CHANGE A BIT
What do the Control Unit (CU) do in the Von Neumann architecture?
- Controls the flow of data
- Keeps track of the memory address of the instruction for each cycle
What does memory do in the Von Neumann architecture?
Holds the program instructions and the program data
What do registers do in the Von Neumann architecture?
Hold any data, instructions and memory addresses that are about to be used by the CPU.
Why are there specific registers in the Von Neumann architecture?
Specific registers are for different tasks - e.g one that holds data about to be used by the CPU
What does the ALU do in the Von Neumann architecture?
- Gets data from the Control Unit and registers
- Performs an operation on that data
- Sends the output to the registers
What are one of the main features of the Von Neumann architecture?
It only uses 1 memory for both data and the instructions