1.1.1 Structure and Function of the Processor Flashcards

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

Performance of the CPU

What three ways can the performance of the CPU be improved?

A
  • Increasing clock speed
  • Larger cache size
  • Having multiple cores
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Performance of the CPU

How does increasing clock speed improve the performance of the CPU?

A

Control Unit uses a clock

Higher clock speed means more fetch-execute cycles per second, so more instructions can be carried out per second

More heat is produced, though therefore a cooling system is needed

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

Performance of the CPU

How does having a larger cache improve the performance of the CPU?

A

The MDR stores data in cache

Cache is a small piece of memory in the processor, which stores frequently used data, thus decreasing fetch time

Increasing cache size means more data can be stored closer than main memory

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

Performance of the CPU

How does having more cores improve the performance of the CPU?

A

Each core performs a fetch-execute cycle

Having more cores allows more instructions and cycles to be carried per second, allowing a greater processor speed

This would, however, require more complicated circuitry

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

Pipelining

Explain the process of pipelining

A

Multiple instructions are passed through the fetch-execute cycle at one time

As one instruction is being executed, the next one is being decoded

A third instruction is being fetched at the same time

All instructions more through the cycle, having multiple being processed at the same time

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

Pipelining

What are the limitations of pipelining?

A

Requires multiple cores to be a viable option

It will only work if the subsequent instruction can be predicted

If the wrong one is fetched, ‘flushing the pipe’ occurs, which when done too often can decrease the benefits of pipelining

‘Flushing the pipe’ is when the instructions are thrown away and the right one is fetched

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

Structure and function of the processor

What is the name and function of the CPU?

A

Central Processing Unit

Processes data and executes intructions

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

Structure and function of the processor

What general components are found inside the CPU?

A

ALU

CU

Registers (PC, MAR, MDR, CIR, ACC)

Buses (Address, Data, Control)

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

Structure and function of the processor

Which registers are found within the CPU?

A

PC (Program Counter)

MAR (Memory Address Register)

MDR (Memory Data Register)

CIR (Current Instruction Register)

ACC (Accumulator)

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

Structure and function of the processor

What is the name and function of the ALU?

A

Arithmetic and Logic Unit

Performs arithmetic and logical calculations

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

Structure and function of the processor

What is the name and function of the CU?

A

Control Unit

Sends signals to coordinate how the processor works

Controls the flow of data through the CPU, and to Main Memory

Decodes instructions fetched from memory

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

Structure and function of the processor

What are the roles of registers in the CPU?

A

Run at fast speeds to perform and control the fetch-decode-execute cycle

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

Structure and function of the processor

What is the name and function of the PC?

A

Program Counter

Stores the memory address of the next instruction

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

Structure and function of the processor

What is the name and function of the MAR?

A

Memory Address Register

Stores the memory address of the data or instruction that is to fetched or sent

The MAR will equal the PC if it is the location of an instruction, and the MDR will not equal the PC if it is the location of data

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

Structure and function of the processor

What is the name and function of the MDR?

A

Memory Data Register

Stores the data that is to be fetched or sent

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

Structure and function of the processor

What is the name and function of the CIR?

A

Current Instruction Register

Stores the instruction that is to be carried out

17
Q

Structure and function of the processor

What is the name and function of the ACC?

A

Accumulator

Stores the results of the calculations performed by the ALU

18
Q

Structure and function of the processor

What is the role of buses in the CPU?

A

Buses are communication channels between different components on the motherboard

19
Q

Structure and function of the processor

What are the 3 common buses used on a motherboard?

A

Address bus

Data bus

Control bus

20
Q

Structure and function of the processor

Describe how the address bus works

A

Unidirectional

Carries the address of data or instructions from the MDR on the CPU to Main Memory

21
Q

Structure and function of the processor

Describe how the data bus works

A

Bidirectional

Carries data or instructions to and from Main Memory and the CPU

22
Q

Structure and function of the processor

Describe how the control bus works

A

Bidirectional

Sends control signals between the components on the motherboard

Uses signals to specify which control bus line to use

23
Q

Structure and function of the processor

Describe what control lines are, as well as 4 examples of signals that can be received

A

Signals are sent on control buses to specify an action to be performed

The control bus line to be used is the control line

Bus request

A device is requesting the use of a bus

Bus grant

The CPU granting access of a bus to a device, in response to a bus request

Interrupt request

A device resting access to the CPU

Clock

Synchronising operations