4.7.1 Fo CompOrgArch (Computer Architecture) Flashcards
(8 cards)
What are the two main types of computer architecture and the difference betweenn them
- Harvard
- Von Neumann
Von Neumann architecture uses one shared memory for both data and instructions, while Harvard architecture uses separate memory for data and instructions.
What is meant by computer architecture in this context
The different ways of setting up the CPUs access to the main memory
What are the advantages of Von Neumann
- Allows various different tasks to be handled as long aas they are loded into the main memory
- Instructions can be changed dynamically for the need of the program
What are the disadvantages of Von Neumann
- Because both instructions and data share the same data bus, a bottleneck can occur when the CPU has to wait for one to be transferred before it can access the other.
- It is generally slower than the Havard approach
What are the advantages of Harvard architecture
- No bottleneck between data and instruction retreival
- Generally quicker than Von Neumann for the same power output
- It is better defended against viruses
Why is the Harvard approach better defended against viruses
Viruses are instructions disguised as data, so when they’re sent through the data bus and try to execute, they fail in Harvard architecture because the CPU separates data from instructions — but in Von Neumann architecture, it doesn’t, making it more vulnerable.
What is the Harvard approach used for
Embedded systems such as digital signal processing (DSP) systems
What is the Von Neumann approach used for
general purpose computing systems