Topic 3. Hardware Flashcards
What are the components of the CPU?
CIR
Memory Data Register
Accumulator
PC
Memory Address Register
Arithmetic Logic Unit
Control Unit
What is meant by a microprocessor?
A type of integrated circuit on a single chip
What is the function of the CPU?
Processes instructions and data that are input into the computer so that the result can be output
What’s the role of the CIR?
Holds the instruction that is currently being executed
What is the role of the MDR?
Holds data or a program instruction when it is fetched from memory or data that is waiting to be written to memory
What is the role of the accumulator
A register inside the ALU which results of operation carried out in the ALU are stored
What is the role of the PC?
A register which holds the memory address of the next instruction to be processed
What is the role of the MAR?
Holds the address of the current instruction of piece of data to be fetched or stored.
What is the role of the CU?
Coordinates all of the CPU’s actions in the fetch-decode-execute cycle and decoders instruction. Sends and receives control signals to fetch and write data
What is the role of the ALU?
Carries out mathematical and logical operations including, AND, OR and NOT, and binary shifts. It compares values held in registers
What is the role of the CU
Coordinates all of the CPU’s actions in the fetch-decode-execute cycle and decodes instructions. Sends and receives control signals to fetch and write data
What is the role of the clock?
To regulate the speed and timing of all signals and computer functions
What is the role of the registers?
Built into the CPU chip to temporarily store memory addresses, instructions or data
What is the role of address, data and control buses?
Wires used to transfer data instructions, memory addresses(of data and instructions) and control signals from one component to another
How does the clock speed affect the CPU performance?
Clock speed determines the number of fetch-execute cycles per second.
How does cache size affect the CPU performance?
Cache memory is much faster than main memory so data is transferred in and out of cache memory more quickly
THE CPU will optimise its use of the fastest cache before using the next level or using RAM in order to improve performance speed
How does the number of cores affect the CPU performance?
Each core can process one operation per clock cycle. A dual or quad core processor will be able to perform two or four operations simultaneously.
What is the Fetch cycle in the FDE cycle?
The memory address of the instruction to be fetched is stored in the Memory Address Register and is sent down the address bus
The data/instruction at the memory address is transferred back to the CPU, via the data bus, where it is stored in the MDR
The instruction is copied into the CIR and the PC increments
What is the Decode cycle in the FDE Cycle?
The instruction in the CIR is decoded, by the Control unit into an opcode (what to do) operand (what to do it to)
What is the Execute cycle in the FDE cycle?
The instruction is executed by the Arithmetic Logic Unit and the opcode is performed upon the operand. The result is stored in the accumulator or written to a memory location within memory
What is the role of an embedded system?
An embedded system is a small computer that forma part of a larger system, device or machine. Its purpose is to control the device and to allow a user to interact with it
What is an embedded system?
A computer system with either one function or limited specific functions built within a larger mechanical device
What is the role of an embedded system?
Controls the device and allows a user to interact with it
What are some types of embedded systems?
Microcontrollers - Integrated circuit containing a CPU and memory (RAM or ROM) built into the same chip
Microprocessor - Integrated circuit containing only a CPU on the chip. RAM, ROM, peripherals needs to be added