1.1.1 Structure and Function of the processor Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is “Cache”?

A

A temporary store where instructions or data that are likely to be needed are anticipated and are stored, ready for fast access.

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

Why is “Cache” used?

A

Because RAM is significantly slower than the CPU, Cache is built into the CPU, reducing any limitation in cycles due to the RAMs speed.

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

What is the definition of a “Core”?

A

A Core acts as a distinct Processing Unit on the CPU.

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

Why are “Multiple Cores” used?

A

Having Multiple Cores means separate problems can be worked on at the same time. It also means that a single problem can be worked on by multiple Processing Units, speeding up the overall time it takes to solve the problem.

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

What is “Clock Speed”?

A

The amount instructions carried out/cycles per second.

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

What is “Clock Speed” measured in? What order do Modern Systems normally run at?

A

Clock Speed is measured in Hertz.

Modern Computer Systems usually run in the order of Gigahertz (GHz) or 1 Billion cycles per second.

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

What is “Pipelining”?

A

The process of allowing all (but may not always be the case) parts of the processor to always be doing something instead of sitting idle.

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

What is the benefit of “Pipelining”?

A

It allows for each step of the Fetch, Decode, Execute Cycle can run at the same time on different instructions. When the first instruction has been Fetched, the next one can be Fetched while the first is being Decoded.

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

When can “Pipelining” occur?

A

Pipelining can occur if subsequent instructions can be predicted. For example, the Fibonacci Sequence cannot be Pipelined as the previous number is needed to find the next one, meaning the next number of the sequence can only be processed if the previous is known.

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

What is a “Flush”?

A

This is when the current instructions being Pipelined are cleared from the processor so that another instruction can begin to be Pipelined.

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

What is a “Register”?

A

Areas of memory within the processor that work at very high speeds so they can be used by the processor without causing a Bottleneck.

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

What is the definition of a “Bottleneck”?

A

A Bottleneck is where a system stops due to its inability to support the traffic.

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

What is the “PC”, and what does it do?

A

The “Program Counter” holds the address of the next instruction. Once it copies its contents to the MAR, that value its hold is incremented by one, allowing the CPU to execute in sequence. The contents of the PC can also be changed due to Branching.

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

What is the “MDR”, and what does it do?

A

The “Memory Data Register” stores the data that is fetched or stored into memory.

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

What is the “MAR”, and what does it do?

A

The “Memory Address Register” stores the address of the data or instruction to be fetched from or sent to the memory.

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

What is the “CIR”, and what does it do?

A

The “Current Instruction Register” stores the most recently fetched instruction that needs to be Decoded or Executed.

17
Q

What is the “ACC”, and what does it do?

A

The “Accumulator” stores the results of calculations made by the ALU.

18
Q

What is the “ALU”, and what does it do?

A

The “Arithmetic Logic Unit” carries out calculations and logical decisions.

19
Q

What can “General Purpose Registers” be used for?

A

They can be used temporarily by the CPU to store data instead of sending it to memory.

20
Q

What are “Buses”?

A

Communication channels through which data can be sent around the computer.

21
Q

What 4 “Buses” do you need to know?

A

Address, Data, Control and System.

22
Q

What is the role of the “Data Bus”?

A

It carries data between the processor and the memory.

It is Unidirectional.

23
Q

What is the role of the “Address Bus”?

A

It carries the address stored in the MAR from the processor to memory.
It is Bidirectional.

24
Q

What is the role of the “Control Bus”?

A

It sends control signals from and to the CU.

It is Unidirectional.

25
Q

What is the “CU”, and what does it do?

A

The “Control Unit” sends out signals to synchronise the CPU and the memory. It also controls how data moves around the CPU, as well as how it moves between the CPU and the memory.

26
Q

Explain the “Fetch” part of the Fetch, Decode, Execute Cycle.

A

The contents of the PC is copied to the MAR.
A signal is sent from the CU to the Memory across the Control Bus to read and fetch memory, with the MAR sending its contents to the Memory along the Address Bus.
The contents of the location stored in the MAR are then sent along the Data Bus to the MDR, with its contents copied to the CIR.
The contents of the PC are incremented by one.

27
Q

Explain the “Decode” part of the Fetch, Decode, Execute Cycle.

A

The contents of the CIR are sent to the Decode Unit to be Decoded (the Opcode and Operand are ‘translated’ to find what process should be executed on what data).
The contents Decoded by the Decode Unit are copied to the MAR for Execution.

28
Q

Explain the “Execute” part of the Fetch, Decode, Execute Cycle.

A

A signal is sent along the Control Bus by the CU to read and fetch data from memory, with the contents of the MAR sent along the Address Bus.
The process and data found in Memory is sent along the Data Bus to the MDR, with its contents copied to the ACC.
The ALU then uses the contents stored in the ACC to carry out the calculation or logical decision, with the result being stored in the ACC.

29
Q

Define the features of a “Von Neumann” Architecture.

A

Single Control Unit.
Works through instructions in a sequence.
Instructions and Data are stored in the same memory unit.
Von Neumann is used in CISC.

30
Q

How does “Harvard” Architecture differ from that of “Von Neumann”?

A

Harvard Architecture has separate memory units for Instructions and Data.
Harvard is used in RISC.