SLR 1: Structure and Functions of the Processor Flashcards

1
Q

Function of Control Unit?

A

. Coordinates all activities in cpu
. Directs flow of data between CPU and other devices
. Accepts next instruction, decodes it, handles its ecectutions and stores data in registers
. Sends memory read and write requests to main memory on the control bus

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

Function of the Program Counter?

A

. Holds address of the next instruction to be executed
. At the start of the FDE the address in the PC is copied to the MAR

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

Function of the MAR?

A

. Holds address of memory location in which data or instruction is about to be fetched from or written to
. Sends address to memory down the address bus

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

Function of MDR?

A

. Used to temporarily stort data which is read from or written to memory
. all data to and from memory must travel through the data bus and through the MDR

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

Function of the CIR?

A

. Holds the current instruction being executed
. Contents of the MDR are copeied to the Cir is its an instruction
. Contains the opcode and operand of the current instruction

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

Function of the ALU?

A

. Performs arethmatic and logical operations on data
. Boolean logic operations
. Often uses general purpose registers to temporarily hold result of a calculation (eg ACC)
. Conduit for input and output

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

Function of the ACC?

A

. one of the general purpose registers
. data or control info is stored in them
. more general purpose operators a processer has, the faster it’ll operate
. ALU Calculations are temporarily stored here

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

Benefits of Pipelining

A

The CPU is never idle
No latency between each step of FDE.

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

What is pipelining?

A

Pipelining is when different instructions can be fetched decoded and executed concurrently.

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

What are the features of the Von Neumann Architecture?

A

. shared memory for instructions + data
. I + D are stored in the same format
. A single CU or processor follows a linear FDE
. One I at a time
. Registers are used for fast access to I + D

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

What is SIMD?

A

Single Instruction Multiple Data - parallel processing is where a processor carries out one instruction on multiple pieces of data.

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

What are the features of a Harvard Architecture?

A

. Instructions + Data stored in separate memory units
. I + D each have their own bus
. Pipelining is possible
. Used in RISC Processors

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

What is SIMD often used in?

A

GPU

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

What is MIMD?

A

Multiple Instructions Multiple Data - Multiple Instructions are used across many pieces of data.

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

What factors effect the performance of the CPU?

There’s 4.

A

Clock Speed
Cache Size
No of Cores
Bus Width

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

What is cache size and why is it useful?

A

Temporary Storage of data and instruction read from and written to.

Much quicker access than RAM.

16
Q

What is a core?

A

Each core has its own registers, ALU, ACC and CU. Dual core CPU have capabilities to run two processes simultaneously if they are paralyzable.

17
Q

What is clock speed?

A

The number of instructions executed per second.

18
Q

What happens in the fetch cycle?

A

. PC is checked, it holds address of next I to be Executed
. PC Copied to MAR
. Sent along A - Bus to RAM.
. CU sends read signal to RAM.
. Contents of that address are now sent along D-Bus to MDR.
. MDR copied to CIR
. PC increments

19
Q

What happens in the decode stage of the FDE?

A

. Data in the CIR is split into opcode and operand
. It is decoded by the decode unit

20
Q

What is opcode and operand?

A

Opcode - What process to do to some data/address.
Operand - What do do that process to.

21
Q

What do each of the buses do?

A

Address Bus: Carries memory addresses
Data Bus: Carries the binary that make up the data carried.
Control Bus: Carries control signals (Read/Write) to other CPU components.