DEV Community

Cover image for Von Neumann & Harvard Architectures

Von Neumann & Harvard Architectures

yetkinakyuz profile image Yetkin Akyuz Updated on ・3 min read

Considering the problem of how to access memory in CPU level, There are two popular designs: Von Neumann and Harvard architectures.

Von Neumann Architecture

Figure 1: Von Neumann Architecture [2]

The Von Neumann architecture, created by John Von Neumann in 1945, is a computer architecture in which data and instruction memories share a single storage unit. There is only one bus each for memory addresses and data transmission.

Harvard Architecture

Figure 2: Harvard Architecture [3]

In the Harvard architecture, which takes its name from Harvard Mark I, the computer for which it is used for the first time, data and instruction memories are physically separated from each other. Both have separate memory address bus and data bus. When a program runs, instruction flow and data flow take place over separate sets of buses.

The Von Neumann Bottleneck

The fact that a single bus transmits both instructions and data leads to a problem called The Von Neumann Bottleneck. Because a single bus can only access one class of memory at a time, the throughput is lower than the speed at which the CPU can run. Therefore, the CPU has to constantly wait for the required data to be transported, resulting in a drastic drop in processing speed.

Performance of processor and memory

Figure 3: Performance of processor and memory [4]

The most logical solution is to use a cache, which holds the last data used by the processor. In this way, the processor does not need to access memory and the expected time is compensated.

The problem is experienced in general today, rather than only in Von Neumann architecture. Memory technology, which cannot keep up with the development of processor technology, greatly increases this problem.

The Modified Harvard Architecture

Modified Harvard Architecture

Figure 4: Modified Harvard Architecture [6]

The Modified Harvard architecture is a variation of the Harvard computer architecture that allows the contents of the instruction memory to be accessed as data, unlike the pure Harvard architecture. It supports higher performance concurrent data and instruction access of Harvard architecture. It also loosens the distinction between commands and data. Two separate caches are used, supported by the same memory address, one for commands and the other for data. In short, while Harvard architecture is used on the cache side, Von Neumann architecture is used on the main memory side.

Most of the modern computers described as Harvard architecture are actually modified Harvard architecture.


  1. Zhu, Y. (Jun 2018). Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C
  2. Wikipedia. Von Neumann Architecture
  3. Wikipedia. Harvard Architecture
  4. Nowak, A. (2014). Opportunities and choice in a new vector era
  5. Wikipedia. Modified Harvard Architecture
  6. Blocksandfiles. (2019). Back to the future with persistent memory

Discussion (2)

Editor guide
patarapolw profile image
Pacharapol Withayasakpunt

It would be nice if you make a YouTube. I want to hear voices explaining complex concepts.

yetkinakyuz profile image
Yetkin Akyuz Author

I am very new in this writing thing. I would love to make videos on YouTube after I'm out of the novice. Thank you very much for your comment and advice :)