Beginner Topic 16 of 51 Computer Architecture & Logic
Von Neumann Architecture
Design storing instructions and data in the same memory.
How it works
The von Neumann architecture stores both instructions and data in the same memory and connects it to a CPU containing a control unit, an ALU and registers over a shared bus, along with input and output devices. The stored-program concept lets software be loaded and changed without rewiring. The processor repeatedly fetches an instruction, decodes it and executes it.
Step-by-step walkthrough
- Instructions and data live in the same memory.
- The CPU fetches an instruction over the bus.
- It then reads or writes data over the same bus.
- Input and output devices attach to the same bus.
- One shared path creates the von Neumann bottleneck.
Where it is used
Almost all general-purpose computers, from phones to servers, follow this model. It enables compilers, operating systems and loading programs on demand. Harvard architecture, with separate memories, appears in microcontrollers and in CPU level-one caches.
Common pitfall
The shared bus creates the von Neumann bottleneck, since instructions and data compete for bandwidth and memory is slower than the processor. Treating instructions as data also enables bugs and attacks like buffer overflow code injection. Caches, separate instruction and data paths and memory protection reduce these problems.
Where it fits in the course
Von Neumann Architecture is topic 16 of 51 in Computer Architecture & Logic, rated Beginner. It follows Clock Signal. The next topic is Fetch-Decode-Execute Cycle.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Computer Architecture & Logic quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Computer Architecture & Logic quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Von Neumann Architecture?
Where do people use Von Neumann Architecture?
What is the most common mistake with Von Neumann Architecture?
What should I learn before this topic?
How can I practice it?
Is Von Neumann Architecture hard to learn?
How long does it take to learn Von Neumann Architecture?
Which topics are related to Von Neumann Architecture?
What should I study after Von Neumann Architecture?
Related topics
- Clock Signal (Computer Architecture & Logic)
- Fetch-Decode-Execute Cycle (Computer Architecture & Logic)
- Registers (Computer Architecture & Logic)
- Sequential Circuits (Computer Architecture & Logic)
- MVC Architecture (Software Engineering)
- Layered Architecture (Software Engineering)
- IoT Architecture (Mobile, Embedded & IoT)