Von neuman and Harvard (with cisc risc cpu) Flashcards

1
Q

What is von neumann architecture?

A

Processor can access instructions and data in the main memory as required to execute the program. It does this by using dedicated connections called buses. Address bus identifies addressed location and data bus transfers contents to and from that location.

This means that the same address and data buses are used in the process of transferring instructions and data between main memory and the processor. 3rd bus, control bus, used to synchronise and control operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is in the von neumann architecture?

A

Consists of:
- processor
- memory unit communicate directly with processor
- connections for input output devices
- secondary storage for saving/backing up data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Harvard architecture?

A

Harvard architecture mostly used in embedded systems. Has 2 memory units rather than 1, separating data and instructions to having its own memory unit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is in the Harvard architecture?

A

Consists of:
- processor
- separate memories for data and instruction, communicate directly with processor
- connections for input output devices
- secondary storage for saving/backing up data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Comparison between neumann and harvard architectures

A

Each memory unit in the Harvard architecture can be adapted to meet the needs of a particular system; each unit can be different size, word length or implemented using different technology. Von neumann allows for the instructions and data to be saved in same memory unit, which can be exploited by hackers. harvard usually used in embedded systems. basically, used in computer systems that are designed purposefully to perform an algorithm. Whilst von Neumanns architecture enables a more flexbile use of the main memory, allowing processor to run a variety of programs that are not known in advance. Used in general-purpose computers that are expected to accommodate the varying needs of the end user: like running numerous applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a risc processor?

A

Works with simple methods that tries to perform lines of code in as few cycles as possible. Therefore may need longer code to be able to perform a task

+ less cycles executed
+ simple code used

  • uses lots of RAM, can cause system bottlenecks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a cisc processor?

A

Works with more complex methods. Tries to reduce the number of lines that the code needs to work. However, will need more cycles for each instruction.

+ efficient use of ram
+ less lines

  • more cycles executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly