architecture of the CPU flashcards

0.0(0)
studied byStudied by 6 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

what is a computer?

an electronic device that takes input, processes data and outputs a result. it may also communicate and store processed data.

2
New cards

CPU

Central Processing Unit

  • purpose is to process and execute instructions

3
New cards

main components of the CPU and functions

  • Arithmetic Logic Unit (ALU) - performs calculations

  • Control Unit (CU)- decodes instructions and sends signals to control how data moves around the CPU.

4
New cards

what are registers?

tiny, super-fast pieces of onboard memory, inside the CPU, each with a specific purpose

5
New cards

registers in the CPU

  • Memory Address Register (MAR)

  • Memory Data Register (MDR)

  • Program Counter (PC)

  • Accumulator (ACC)

6
New cards

MAR

Memory Address Register

stores the memory address where data is to be stored or fetched

7
New cards

MDR

Memory Data Register

holds data fetched from or to be written to the main memory

8
New cards

PC

Program Counter

holds the address of the next instruction

9
New cards

ACC

Accumulator

holds the results of calculations

10
New cards

cache

memory that provides fast access to frequently used instructions and data without having to go back to the main memory (RAM)

11
New cards

why do we need cache?

  • improves performance of computer - reduces number of times that the processor has to access main memory

  • by storing frequently accessed data in cache, the processor can access data more quickly

12
New cards

what factors affect CPU performance?

  • clock speed

  • number of cores

  • cache size

13
New cards

how does clock speed affect the CPU’s performance?

the faster the clock speed, the faster instructions are processed. (the faster the CPU will run)

14
New cards

how does cache size affect the CPU’s performance?

cache is faster than main memory (RAM).

the larger the cache size, the less time will be spent accessing the RAM and for the processor to wait for instructions to be fetched → CPU will work faster

15
New cards

how does the number of cores affect the CPU’s performance?

the more cores a CPU has, the greater the number of instructions it can process in a given space of time.

16
New cards

 von Neumann architecture

based on the stored-program concept, meaning both instruction data and program data are stored in the same memory in binary form

<p>based on the stored-program concept, meaning both instruction data and program data are stored in the <mark data-color="blue">same memory in binary form</mark></p>
17
New cards

fetch-execute cycle

  1. Data is fetched from main memory (RAM) into the CPU/registers to be decoded

  2. CPU decodes instructions to be ready for processing

  3. CPU performs/process instructions

18
New cards

embedded system

a computer system with a dedicated function within a larger mechanical system. examples:

  • traffic lights

  • hospital equipment

  • factory equipment

19
New cards

typical properties of embedded systems

  • Low power consumption

  • Small size

  • Rugged operating ranges

  • Low cost per unit