T1 - Architecture of the CPU/ Performance Flashcards

1
Q

CPU

A
  • The CPU processes instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Stored program concept

A
  • In 1943-44, von Neumann had the idea of storing the program
    instructions/data in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Von Neumann architecture

A
  • Program instructions and data are both stored in the same memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Control unit

A
  • coordinates activities in CPU
    -sends signals to control how data moves around
    Receives signals from the system clock
    Directs timing + controls other parts of the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Arithmetic logic unit

A
  • actual arithmetic operations are done
    Carries out logical operations: AND, OR and NOT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Registers -

A

very fast memory location in the CPU

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

Cache

A
  • it is slower to access than registers but faster than RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Types of Registers: Program Counter (PC)

A
  • holds the address of the next instruction to be executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Types of Registers: Memory Address Register (MAR) -

A

holds the memory address of the current instruction, so that these can be fetched from memory

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

Types of Registers: Memory Data Register (MDR)

A

holds the actual instruction, and data that has been fetched from memory

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

Types of Registers: Accumulator

A
  • holds the result of an instruction before it is transferred to memory
    -result if alu
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

FDE cycle

A

FETCH – fetches the next instruction + data involved to main memory
DECODE – decodes the instruction
EXECUTE – the instruction is executed

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

PC : role

A

holds the address of the next instruction to be executed
incremented (increased by 1) as soon as that instruction has been fetched = moves onto next instruction.

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

ACC : role

A

where arithmetic/ logic results are temporarily stored

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

MAR during FETCH stage:

A

address of the next instruction is copied from PC to MAR.

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

MDR during FETCH stage

A

instruction at that address is fetched from memory + copied to MDR

17
Q

Then the Control Unit during FETCH stage

A

decodes the instruction and decides if data needs to be fetched

18
Q

Factors affecting CPU performance:
Clock speed

A
  • Cycles per second measured in hertz
19
Q

Processor cores -

A

The number of duplicate processing units (cores) placed in one CPU

20
Q

Cache

A

Memory on the CPU that is faster than RAM but slower than registers

21
Q

Factors affecting CPU performance:

A

cache
processor cores
clock speed

22
Q

clock speed role

A

Everything in a computer happens on the pulse of the internal clock
The faster the clock speed, the faster the instructions are processed

23
Q

Processor speed: Hz, KHz, MHz, GHz

A

One cycle per second = 1 hertz (Hz) = 1 instruction carried out each second
1 kilohertz (kHz) = 1000 cycles per second
1 Megahertz (MHz) = 1,000,000 cycles per second
1 Gigahertz (GHz) = 1,000,000,000 cycles per second

24
Q

Multi- core processors:
A dual-core processor

A
  • can perform two instructions at the same time
  • allows twice as many instructions to be executed,
  • each core is theoretically able to process a different instruction at the same time with their own FDE cycles
25
Q

Cache Memory: role

A

a small amount of very fast, expensive memory in the CPU
It can be accessed faster than regular main memory (RAM)
Quickens fetch stage

26
Q

Level 1 cache -

A

extremely fast but small (between 2-256KB),
located on the CPU. Each core will have its own level 1 cache

27
Q

Level 2 cache -

A

usually also given to each core.
Is fast, but a little slower than level 1 cache.
The typical size is 256KB-8MB

28
Q

Level 3 cache -

A

slowest type of cache, but still faster than RAM.
It is usually located on the CPU
Stores 4MB-50MB.

29
Q

is cache shared

A

The cache is shared between all the cores on the processor

30
Q

Embedded Computers:

A

a single microprocessor:
that includes RAM, ROM and a CPU
frequently used to control a device using simple inputs

31
Q
A