1.1 Systems Architecture Flashcards
Purpose of the CPU
The processor is like a brain. It controls all the processing of the computer. It does this by using the Fetch-Decode-Execute cycle.
What happens at fetch?
The instruction stored at the memory address in the PC is fetched. The memory address is copied to the MAR.
The contents at the address are fetched into the MDR. The PC is now incremented.
What happens at decode?
The instruction is copied from the MDR to the CU. The CU decodes the instruction and turns it into a series of signals.
If more data is required, then the CU will send out signals to fetch the data.
What happens at execute?
The CU sends out signals to the relevant components to execute the instruction.
4 common CPU components
ALU, CU, cache, registers
Function of the ALU
Carry out logical, shift, arithmetic operations
Function of the CU
Co-ordinates all the activity:
Controls execution, decodes instructions, controls processer timing, sends and receives control signals
Function of cache
Cache is a memory bank that is very fast sits between the CPU and main memory. It is used to temporarily hold instructions and data that the CPU is likely to reuse.
Function of the registers
A register is a special very fast memory location within the CPU used in the execution of instructions.
4 registers
Memory address register, memory data register, program counter, accumulator
Function of the memory address register
Holds the address (location in memory) of the instruction or piece of data to be fetched or executed.
Function of the memory data register
Holds data or a program instruction temporarily when it is fetched from memory or is to be sent to memory.
Function of the program counter
Holds the memory address of the next instruction to be processed.
Function of the accumulator
A special purpose, memory location in which results of operations carried out in the ALU are temporarily stored.
3 characteristics that affect CPU’s performance
Clock speed, cache size, number of cores
What does the clock speed affect and what is it measured in?
The speed at which the operator operates. Measured in Hz. 1 billion cycles per second = 1GHz.
What does the cache size affect?
Makes accessing frequently used data and instructions a lot faster than accessing them from the RAM.
What does the number of cores affect?
The number of instructions that are processed at once. Each core is capable of processing instructions independently.
Purpose of embedded systems
An embedded system is a small computer built into a piece of equipment designed to perform a specific function.
5 charcteristics of embedded systems
Reliability, minimal resources - (ROM, timers, sensors, actuators), limited operating system, does not have to be loaded as it is held on ROM, only run a single application
5 examples of embedded systems
Vehicles, cameras, medical equipment, vending machines, mobile phones