Princeton Architecture v/s Harvard Architecture

There are two fundamental architectures to access memory..Princeton and Harvard.

Princeton Architecture:

  1. It has a single memory which has to be shared by data and code(program).
  2. Processor requires two clock cycles,one for fetching the code and another for fetching the data.
  3. Simpler Design..
Harvard Architecture:

  1. It has separate memories for code and data.
  2. Processor requires only one clock cycle as it has separate buses to access both data and code.
  3. Complex Design.

If speed is required we will go for Harvard,otherwise it is better to go for Princeton Architecture.

Comments

Post a Comment

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig