1.1 Architecture Flashcards
Memory
Stores data and instructions currently in use
CPU
Processes data and executes instructions
Program counter
Holds address of the next instruction
Memory address register
Stores the address of the instructed that is currently getting fetched
Memory data register
Holds data that has already been fetched from main memory
Accumulator
Holds results of calculations
Control unit
Decodes instructions and sends signals to control the CPU
Address bus
From the MAR to RAM
Data bus
from RAM to the MDR
Cache
Fast access memory to frequently used data without going back to RAM
Fetch
Program counter checked
Passes to MAR
MAR fetched from main memory via address bus
Data bus returns to MDR
program counter increments by one
Decode
CU decodes data/instructions
Execute
Depending on the instruction the CPU:
Fetches data for calculation(ALU-ACC)
Jump to another instruction out of sequence
Write data in ACC back to main memory
What factors affect performance of the CPU
Clock speed, number of cores, cache size
Clock speed affects cpu performance
Amount of FDE cycles per second(Hz)
Number of cores affects cpu performance
More cores, more cycles at the same time
Copy of a CPU
Cache size affects cpu performance
Stores frequently used data
It’s quicker to fetch than going back to RAM as it is physically closer
What are the 4 registers
Program counter
Memory data register
Memory address register
Accumulator
What are the three components in a CPU
control unit
Arithmetic logic unit
Cache
What are the two buses
Data bus
Address bus
Embedded system
Computer system with a dedicated function within a larger electrical system
Properties of embedded systems
Low power consumption
Small size
Low cost
Simple CPU and memory unit
Examples of embedded system
Microwave
Dishwasher
Washing machine
Sat nav
What speed do modern processors operate at
Billions of cycles per second (gigahertz- GHz)
Computer
An electronic device that takes an input, processes data and delivers and output
What is the von neuman architecture
A cpu and a single memory unit of RAM
What is a computer
An electronic device that takes an input processes data and delivers an output
Arithmetic logic unit
Completes calculations
What speed do modern processors operate at
Billion cycles per second (GHz)