Everything removed from the sylabus (for 2022 only) Flashcards
What is a CPU
Central Processing Unit, controls the manipulation of data.
What is the ALU?
Arithmetic / Logic Unit, performs arithmetic operations like addition and the logic operations like true and false
What is the CU?
Control Unit, the circuits which coordinate the activities of the CPU
What is a register
Quick, small stores of data within the CPU which exist as a temporary storage on the CPU
What is Von Neumann Architecture?
- Instructions to be executed are stored along side the data in the memory. The stored programme concept
- Instructions are executed sequentially, one instruction at a time is fetched from the memory and passed to the CPU. Data and instructions cannot be accessed at the same time
- If the connection in the wire is too slow you got a Von Neumann bottle neck.
Why do computers have a system clock?
It provides timing signals, producing a steady pulse of voltage to synchronise circuits. Eg: you only transfer data on the rising edge, or write data on the falling edge.
How does the CPU use the system clock?
- The CPU is much faster that the other components, takes the system clock and raises its speed, this is the clock speed (Hz).
- The CPU needs a certain amount of clock ticks to execute an instruction
What is the fetch execute cycle?
- Fetch: the next instruction is retrieved by the CPU from the main memory
- Decode: The instruction is broken down into its individual components (operator and operand)
- Execute: The CU activates the necessary circuits and the output of the stage is stored in the register, data may be written or read to main memory.
What factors effect CPU performance?
- Clock speed
- Cache
- Cores
How does clock speed effect CPU performance?
CPU carries out a set number of instructions per clock cycle. The higher the clock speed, the more instructions executed per second. Not designed to work at really high speeds, can overheat
How does Cache effect CPU performance?
Cache exists to speed up the fetch stage, as cache is checked first. The larger the cache, the more instructions accessed faster, more likely to get a cache hit.
How does Cache type effect CPU performance?
- trade off between cache speed and cache size.
- there are multiple levels of cache. L1 embedded in the chip (smallest and fastest, most used data)
- L2/L3 are larger and slower cache which is between the CPU and RAM.
How does number of cores effect CPU performance?
A CPU can have multiple cores. When the software is optimised, multiple cores can allow multiple instructions to be executed simultaneously. Each core will have their own L1 Cache. Performance will increase for multiple instructions.
What is an embedded system?
- A special purpose computer encapsulated by a larger system. Eg: microwave, hot tub, radio
- Only perform very specific tasks and cannot be easily reprogrammed
Describe some characteristics of embedded systems.
Tend to:
- Have memory and CPU on the same chip
- Have more ROM than RAM (or no RAM at all)
- Work in real time (deals with the input straight away)