1.1.1 structure and function of processor Flashcards

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

purpose of CPU

A

fetch, decode and execute instructions (FDE)

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

CPU contains

A

control unit
ALU
system buses
dedicated registers

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

control unit

A

COORDINATE the activity of all components(1m)
control signals sent along the control bus

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

what does control signal contain

A

memory read
memory write
bus request
bus grant
clock
(memorise 2 only)

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

what are system buses

A

series of connectors that transfer signals between internal components
(copper wires on the motherboard)

-control
-address
-data

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

control bus

A

transmit control signals from the control unit (to other parts of the processor)
(bidirectional)

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

data bus

A

carries data from one place to another (bidirectional)

width defined by number of wires or lines it contains

bottleneck would occur if data is not wide enough for word

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

address bus

A

carries the location of address where the data is going(from processor to memory- unidirectional)

width of address bus determines the max possible memory address of system
e.g. 8-bit address bus= 2^8 =256 max memory address

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

what are the direction of buses

A

control bus: bidirectional
data bus: bidirectional
address bus: unidirectional

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

ALU

A

arithmetic-logic unit
-arithmetic operations: +,-,*, /
-logical operations: AND, OR, NOT, XOR
-shift operations: move bits L or R within a register

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

register

A

special memory that operate at a very high speed
all memory that holds temporarily

the 5 dedicated registers:
-PC
-CIR
-MAR
-MDR
-accumulator

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

PC

A

program counter: hold memory address of NEXT instruction

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

CIR

A

current instruction register: holds current instruction, which is split into opcode and operand

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

MAR

A

hold address in memory where process is required to fetch or store data

OR

holds address of instruction from PC
holds address of data from CIR

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

MDR

A

temporarily holds data/instruction moving between the processor and main memory

act as buffer

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

accumulator

A

results from the ALU(calculations) temporarily stored

also a register

17
Q

FDE cycle

A
18
Q

machine code

A
19
Q

word

A

memory that is divided up internally into equal units
length of 8,16,32,64 bits (depends on processor)
each word has its own specific address

20
Q

clock speed

A

a clock keep regular tick/ clock pulse in the background

more ticks per second, faster the computer can do the FDE cycle

21
Q

number of cores

A

each core is THEORETICALLY able to process a different instruction at the same time and carry out their own FDE cycle (depends on the program, e,g. google chrome) ;making quad-core computer faster

22
Q

cache

A

levels: CPU register>L1 cache >L2 cache

higher the level, close to CPU, faster it is, less cache memory it has

cache memory is split into instruction cache and data cache , so they can be fetched simultaneously

23
Q

pipelining

A

fetch one instruction, decode the previous instruction , execute the instruction before the previous one AT THE SAME TIME

24
Q
A