Module 2: Components of CPU

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/55

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

56 Terms

1
New cards

Clock cycle

basic unit of time during which the processor performs operations; heartbeat of the processor

2
New cards

clock speed of CPU

measured in hertz, gigahertz for modern processors; each correponds to one oscillation of CPU’s internal clock

3
New cards

stages of CPU basic process of handling instructions

  1. Fetch: retrieve instruction from memory

  2. Decode: interpret instructions

  3. Execute: perform operation

  4. Memory access: if the instruction involves reading or writing data from memory, this happens

  5. write back: CPU writes resulst of operation back to register file or memory

4
New cards

unit of measurement of clock cycle

hertz

5
New cards

CPU cores

modern have many cores; independent processing units capable of processing things in parallel; each one has its own thread(like task)

6
New cards

multi threaded applications

applications where multiple things have to be processed at the same time

7
New cards

CPU parts

control unit; ALU; registers

8
New cards

Control unit(CU)

directions operations in CPU; gets instructions from memory, decodes them, and then sends signals to other parts of the CPU (like the hypothalamus)

9
New cards

ALU

Performs arithmetic and logic operations; operates based on data stored in registers; produces results that can be sent to other part of CPU or written back to memory

10
New cards

Registers

Small, fast storage locations within the CPU that hold data temporarily during instruction execution; types: program counter(PC), accumulator, instruction register(IR), general purpose registers

11
New cards

Program counter(PC)

Holds address of next instruction to be executed

12
New cards

accumulator

holds immediate results of calculations

13
New cards

Instruction registers

holds the current instruction being executed

14
New cards

general purpose registers

used for storing data during computation

15
New cards

cpu components

knowt flashcard image
16
New cards

cache memory

sit between CPU and main memory, very fast; helps reduce the time it takes to accomplish certain tasks

17
New cards

L1 cache memory

fastest and smallest; located closest to CPU cores

  • sometimes integrated into the CPU core

  • size: 16 KB to 128 KB per core

  • purpose: stores most frequent instructions and data needed by CPU

  • speed: fastest cache but limited storage capacity

18
New cards

L2 cache memory

larger and slowly, further from CPU

  • sometimes shared amongst cores in CPU, other times each core has its own

  • size: 128 KB to 4 MB per core, depending on CPU design

  • purpose: store data that is frequently accessed as L1 cache data but still needs to be readily available

19
New cards

L3

even larger and even slower, but still faster than main memory

  • generally shared across all cores in multi processor

  • located on same chip as CPU

  • size: 2 MB to 64 MB (or more) in modern processors

  • Purpose: stores data that is less frequently used than L1 and L2

  • speed: slowest of three cache levels but still significantly faster than accessing RAM

20
New cards

CPU example

intel core i9-13900K has:

  • L1 cache: 32 KM per core(16 KB for data and 16 KB for instructions)

  • L2 cache: 256 KB per core

  • L3 cache: 36 mb shared across all cores

21
New cards

cache memory def

memory that allows for faster retrieval of information into the CPU, faster than through RAM/ROM

22
New cards

external cache

used before on-chip cache was common; L2 cache memory, could be physically separate from CPU and placed on separate; chip near the CPU; meant to store data between CPU and RAM; it was faster than accessing data from RAM but slower than the CPU’s internal cache

23
New cards

Buses

communication pathways that connect various components of CPU and the system, allowing data to be transferred between them (like synapses in the brain)

special types:

  • data bus: transfers data

  • address bus: carries memory addresses

  • control bus: carries control signals to manage operations of the CPU and other components\

24
New cards

execution pipeline- piplelining

modern CPUS; breaks down instruction processing into multiple stages that can overlap, allowing multiple instructions to be processed simultaneously in different stages; helps the efficiency of the CPU

25
New cards

data processing pipeline

  • data collection, cleaning, transformation, analysis, storage, and reporting

  • example: in machine learning,d ata pipeline can be data extraction, preprocessing, feature engineering, model training, and evalulation

26
New cards

CI/CD pipeline (continuous integration/ continous deplyment)

  • stages: commit code → code review—> build → test→ deploy

  • example: developers push code changes to a repository, which triggers the pipeline for automated building, testing, and deployment

27
New cards

task execution pipline

  • stages: job submission → task assignment→ execution → result collection

  • example: in distributed computing, large tasks are broken down into smaller sub tasks executed in parallel or sequentially 

28
New cards

floating point unit

specialized part of CPU designed to handle calculations involving floating point numbers, scientific calculations, etc.; sometimes integrated into ALU, other times seperate component

29
New cards

execution units (EU)

modern CPUs can have multiple execution units to handle different tasks at the same time

30
New cards

clock

generates regular pulse (or signal) to synchronize operations of components in CPU

31
New cards

Bus Interface Unit (BIU)

existed in older systems; manages communication between CPU and external components like RAM; ensures data is fetched from and written to memory correctly; handless address and control signals

32
New cards

Thermal management

to manage heating and prevent overtemperature; may include thermal sensors too to monitor safe heat levels

33
New cards

integrated graphics

handles graphical tasks, like rendering images, videos, and 3D graphics; reduces the need for seperate graphics card in the system

34
New cards

CPU components diagram

knowt flashcard image
35
New cards

Factors that influence performance of CPU

  • architecture

  • number of cores

  • efficiency of instructions being executed

36
New cards

cpu cores

indepdent procesing units in CPU capable of executing instruction in parallel

37
New cards

CPU components

  • control unit

    • arithmetic logic unit

38
New cards

Control unit

  • responsible for directing operations of CPU

    • fetches instructions from memory, decodes them to determine what action to take, and then sends signals to other parts of the CPU to carry out the taskA

39
New cards

ALU

  • performs arithmetic and logic operations

  • includes basic operations, like addition and subtraction

40
New cards

Register

small, fast storage ocations within the CPU that hold data temporarily during the execution of instructions

41
New cards

Types of registers

  • program counter

  • accumulator

  • instruction register

    • general purpose register

42
New cards

program counter

holds the address of the next instruction to be executed

43
New cards

accumulator

holds intermediate results of calculations

44
New cards

instruction register

holds the current instruction being executed

45
New cards

general purpose registers

used to store data during computation

46
New cards

Cache memory

memory between CPU and RAM; multiple levels - L1, L2, L3,

47
New cards

L1 cahce

fastest and smallest, typically closest to coreL

48
New cards

L2

bit larger and slightly slower

49
New cards

L3

slower but faster than RAM

50
New cards

bits vs processors

bits that the processor can support

51
New cards

8 bit processor

process 8 binary digits in a single operation, which is equal to one byte; uses 8 bits to represent integers, chars, and all other data types, so it can handle data values which are represented from 2^8 possible values in a single instruction; used in older or embedded systems; some microcontrollers and small embedded devices use it

52
New cards

16 bit processer

older systems, comon in embeded systems, gaming, consoles, workstations; very specific applications in modern; some very early computers and PCs

53
New cards

32 bit processor

embedded systems, older PCs

54
New cards

64 bit processors

standard for most modern computing, like desktops; can handle larger amounts of memory(more than 4GB), faster data processing, advanced operation systems and applications

55
New cards

128 bit processors

research but not in mainstream commercial devices

56
New cards

computer basic defonition

process to interpret or execute; memory to store data and programs; mechanism to transfer data to and from the outside world