CPU

studied byStudied by 1 person
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions
Get a hint
Hint

Arithmetic Logic Unit (ALU)

1 / 26

flashcard set

Earn XP

27 Terms

1

Arithmetic Logic Unit (ALU)

Performs arithmetic and logic operations

New cards
2

Central Processing Unit (CPU)

Made up of multiple components including:

  • Control Unit (CU)

  • Buses

  • Arithmetic Logic Unit (ALU)

  • Registers

New cards
3

Control Unit (CU)

Controls and coordinates the activities of the CPU by directing the flow of data between the CPU and other devices

New cards
4

Bus

A set of parallel wires connecting two or more components of the computer. Typically consists of 8, 16, 32 or 64 lines

New cards
5

Control Bus

Bi-directional bus that transmits commands, timing and specific status information between system components

New cards
6

Data Bus

Bi-directional bus that moves data and instructions between system components

New cards
7

Address Bus

Transmits the memory addresses of words that are used so data can be retrieved and sent back to the processor

New cards
8

Registers

Special memory cells that operate at very high speed. All arithmetic and logical/shift operations occur in registers

New cards
9

Program Counter (PC)

Holds the address of the next instruction to be executed

New cards
10

Current Instruction Register (CIR)

Holds the current instruction being executed, divided into operand and opcode

New cards
11

Memory Address Register (MAR)

Holds the address of the memory location from which data/instructions are fetched/written on

New cards
12

Memory Data Register (MDR)

Temporarily stores the data read from/written to memory

New cards
13

Fetch, Decode & Execute Cycle (FDE Cycle)

The sequence of operations that are involved in executing an instruction

New cards
14

Fetch Phase

  1. Address of the next instruction is comping from the program counter (PC) to the memory address register (MAR)

  2. The instruction held at the address is copied to the memory data register (MDR). The PC is then incremented by 1

  3. The contents of the MDR are copied to the current instruction register (CIR)

New cards
15

Decode Phase

  • Instruction in the CIR is decoded & split into opcode + operand

  • Opcode = Tells the processor what needs to be done

  • Operand = Contains the data to be acted on

New cards
16

Factors that affect processor performance

  • Clock speed

  • Number of cores

  • Amount/type of cache memory

New cards
17

Clock speed

The amount of instructions completed per second. The faster the clock speed, the faster instructions will be executed

New cards
18

Number of cores

The more cores, the more instructions can be completed at once. However, some instructions are sequential

New cards
19

Amount/type of cache memory

Increases the amount of recent instructions that can be stored which prevents it from taking longer to retrieve

New cards
20

Pipelining

Stores and executes instructions from the processor in an orderly process

New cards
21

How does pipelining improve efficiency?

It allows multiple instructions to be executed simultaneously to reduce overall processing time

New cards
22

Three main types or architecture

  • Von Neumann

  • Harvard

  • Contemporary

New cards
23

Features of Von Neumann architecture

  • Uses a CISC processor

  • Shared memory space for instructions & data in the same format

  • One instruction at a time

  • A single control unit/processor follows a linear FDE cycle

New cards
24

Features of Harvard Architecture

  • Uses a RISC processor

  • Supports pipelining

  • Instructions & data are stored in separate memory units

  • Reading and writing data & fetching an instruction can be done simultaneously

New cards
25

Features of contemporary architecture

  • Modern computer architecture

  • Combines both Von Neumann & Harvard architecture

New cards
26

SIMD

  • Single instruction multiple data

  • Processor carries out a single instruction on multiple data items at the same time

New cards
27

MIMD

  • Multiple instructions multiple data

  • Multiple instructions are carried out on multiple data items across cores

New cards
robot