1.1 Systems Architecture Flashcards
Hardware
Physical components that make up a computer
Software
Programs or applications that a computer runs
What do computers do?
Input
Process (done by CPU)
Stores
Outputs data
CPU full form
Central Processing Unit
CPU
The brain of a computer system
Processes data + instructions to make the system work
-> its processing power depends on other components
Main components of the CPU
CU
ALU
Cache
CU
Control Unit
Fetches, decodes and executes program instructions (by following the fetch-execute cycle)
Controls the flow of data in the CPU
ALU
Arithmetic Logic Unit
Performs all calculations: addition, subtraction, multiplication, division
Performs logic operations: AND, OR, NOT, binary shifts
How does the ALU do multiplication and division?
Repeated addition and subtraction
What does the ALU contain?
The accumulator
Cache
Data storage in the CU
Stores regularly used data so that the CPU can access it quickly when needed for operations
How does the CPU check for data?
It checks the Cache first, then the RAM
Disadvantage of Cache
Low capacity and expensive
Different levels of cache
L1 - quickest, lowest capacity
L2 - slower, higher capacity
L3 - slower, higher capacity
L4 - slower, higher capacity
The levels increase in size, and decrease in speed
Von Neumann Architecture
Describes a system where the CPU runs programs stored in memory
What is a program?
Consists of data + instructions
What does the CU contain?
Program Counter
What does the ALU contain?
Accumulator
What are the registers
MAR
MDR
Program Counter
Holds the memory address of the instruction for each cycle
MAR full form
Memory Address Register
MDR full form
Memory Data Register
MAR
Holds any memory address of an instruction or data, about to be used by the CPU
MDR
Holds the actual instructions or data