Skip to content
Home ยป Stored Program Concept- Von Neumann Architecture

Stored Program Concept- Von Neumann Architecture

โœจ Introduction:

  • Before computers could store programs, they were programmed by manually rewiring circuits.
  • In 1945, John von Neumann proposed a revolutionary idea:

๐Ÿ‘‰ Store programs inside the computer memory โ€” just like data!

โœ… This made computers faster, easier to program, and more flexible.


๐Ÿ”ฅ What is the Stored Program Concept?

  • The Stored Program Concept means:
    • Both data and instructions (programs) are stored in the same memory.
    • CPU fetches instructions and data from memory and executes them.

๐Ÿง  Key Features of Stored Program Concept:

FeatureExplanation
Same MemoryData and Program stored together
Sequential ExecutionInstructions are fetched one after another
FlexibilityEasy to change program by changing memory
SpeedNo need for manual reprogramming

๐Ÿ› ๏ธ Von Neumann Architecture

  • Proposed by John von Neumann in 1945.
  • It is a model showing how a computer should be organized based on the Stored Program Concept.

๐Ÿ“‘ Components of Von Neumann Architecture:

ComponentDescription
MemoryStores data and program instructions
Control Unit (CU)Fetches and decodes instructions
Arithmetic Logic Unit (ALU)Performs calculations and logical operations
Input UnitSends data from outside world into the computer
Output UnitSends results from computer to outside world
RegistersSmall memory units inside CPU for quick access

๐Ÿ–‹๏ธ Diagram of Von Neumann Architecture:

          +------------------+
| Memory |
| (Program + Data) |
+--------+---------+
|
+----------v-----------+
| CPU |
| +------+ +---------+ |
| | CU | | ALU | |
| +------+ +---------+ |
+----------+------------+
|
+---------v--------+
| Input / Output |
+------------------+

โš™๏ธ How Von Neumann Architecture Works (Simple Steps):

  1. Fetch:
    The Control Unit fetches the instruction from memory.
  2. Decode:
    The Control Unit decodes the instruction (understands what needs to be done).
  3. Execute:
    ALU performs the necessary calculations or operations.
  4. Store/Output:
    Results are stored back in memory or sent to the output unit.

โžก๏ธ Then the next instruction is fetched, and the cycle repeats.


๐ŸŽฏ Key Characteristics of Von Neumann Architecture:

CharacteristicMeaning
Stored ProgramPrograms and Data together in memory
Sequential ExecutionOne instruction at a time
Single Memory BusSame bus for instruction and data transfer (causes Von Neumann Bottleneck)
Simplified DesignEasier to build and manage computers

๐Ÿšจ Von Neumann Bottleneck

  • Since data and instructions share the same bus, only one transfer at a time can happen.
  • This slows down the system.
  • Known as the Von Neumann Bottleneck.

๐Ÿ“š Real Life Examples of Von Neumann Architecture:

  • Most personal computers (PCs).
  • Laptops, smartphones, and tablets.
  • Early computers like EDVAC, ENIAC (updated).

๐Ÿ† Importance of Von Neumann Model:

โœ… Allowed automatic execution of programs.
โœ… Made computers cheaper and easier to program.
โœ… Foundation of all modern computers.


๐Ÿ“ข Summary:

The Stored Program Concept allows storing both instructions and data in memory. Von Neumann Architecture implements this idea and defines the basic structure of a computer system.


๐Ÿ“Œ Quick Flowchart:

User โ†’ Input Device โ†’ Memory โ†’ CPU โ†’ ALU โ†’ Output Device
โ†˜ (Data & Instructions stored together) โ†™