Computer Architecture Flashcards

von neuman, harvard, memory types

1
Q

name three (two) key aspects of Von-Neumann Architecture

A
  • instructions to be executed and data are stored together in memory
  • instructions are executed sequentially (one instruction at a time is fetched from memory)
  • there is a single data bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an “instruction” in the von-neumann architecture? How much data is transferred from memory to the CU when an “instruction” is fetched?

A

not sure ask prof.

I believe it is one line of assembly code.
This is why execution is normally sequential unless a line of assembly code says that execution should jump

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

what is von-neumann bottlenecking? Why does it happen?

A

There is only a single data bus connecting the memory, CPU (CU and ALU) and I/O. This means an instruction cannot be fetched at the same time data is being processed. The “bottleneck” is when the CPU can process instructions very quickly but the data bus is slower to get the instructions to the CPU than it could be able to handle

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

What type of data bus is used in Von-Neumann architecture?

A

application specific.
The architecture is simply a machine with the certain types of characteristics. This related to the data buses in that there is one, not the type.

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

what is a main disadvantage of Von-Neumann architecture?

A

von-neumann bottlenecking. (because there is only one data bus, and the CPU can only process one action and a time it can take multiple clock cycles for the CPU to carry out an instruction. )

summary:
- one data bus
- CPU single action
- multiple clock cycles
- bottlenecking

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

what are common applications of Von-Neumann architecture machines?

A

common computers.

avionics (hard to prove reliability with multiple cores)

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

what are some advantages of von neumann architecture?

A

The “simplifications” make is easier and cheaper for development

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

is the architecture still used today?

A

There are very few applications of the V-N architecture and Harvard architecture in their purest forms today.

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

describe the basic functioning of VN architecture

A

the cpu fetches instructions from the memory unit sequentially and processes them (moves data around or reads from input or writes to output)

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

how is memory organized `

A

unique addresses

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

what are the three parts of a CPU

A

CU, AU, registers

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

what is the purpose of registers

A

so if an instruction is to add the data does not have to be moved back into the main memory, two registers can simply be added by the ALU.

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

what are the roles of the ALU and CU in processing an instruction

A

The ALU actually performs the arithmetic operation and the CU controls the movement of data.

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