1.1 Hardware & Communication Flashcards
What happens in the FDE cycle?
1) The address in the PC is copied to the MAR
2) The address stored in the MAR is sent along the Address bus to the main memory where the data/ instruction is found
3) A “fetch” signal is then sent to the MDR via the control bus so it can fetch the contents of the memory address location which is then sent along the data bus
4) The contents of the MDR are copied to the CIR all while the contents of the PC are incremented
5) The contents are the CIR are decoded into operand and opcode
6) If more data is required for the instruction, it is fetched and passed to the accumulator
7) The instruction is then executed and the results are held in the accumulator or stored in the memory
How does the CPU make efficient use of memory and clock cycles?
As an instruction is being executed, the next one is being fetched by the MDR and the PC is incrementing to memory address by one
What does the Control bus do?
The Control Bus is unidirectional and sends control signals between the CPU’s registers and to other components
What does the Data Bus do?
Is bi-directional and carries data or instructions from the main memory to the registers and vice versa.
What does the Address Bus do?
Is unidirectional and carries the memory address of location being written or read to
What does the CIR split instructions into?
Opcode and Operand
What is opcode?
Is the part of an instruction that specifies the operation that is to be carried out
What is operand?
Part of the instruction that:
Specifies the memory address of any addition data which is copied to the MAR
or
The actual data to be operated upon
What is word size?
The number of bits that a CPU (registers) can manipulate at a time at a time.
Usually 8,16,32 or 64 bits
What does increasing the word size do?
It allows for data to be manipulated at a greater speed. It also means that the CPU can fetch and keep track of more memory locations
What happens if the width size of bus lines is the same as the word size?
Data can be transferred to and from memory in a single operation (clock tick), making the process more efficient
What are the advantages and disadvantages of overclocking?
Advantages
- Can increase processing speeds especially in resource intensive tasks like video editing.
Disadvantages
- The CPU can be instructed to carry out instructions too quickly leading to corruption
- Places strain on the power supply
What is a clock tick in terms of a wave?
When the electricity oscillates between 1 and 0 state
What is a clock period?
The time between each rising edge (from 0 to 1)
What are the advantages and disadvantages of using multiple cores?
Advantages
- Multiple programs can be run at the same time
- Resource intensive tasks take less time to process
Disadvantages
- Each core will take time in communicating to one another
- Sometimes a core will have to wait on the instruction of another core
OVERHEAD
What is Parallel Processing and what is it also known as?
Parallel Processing AKA concurrent processing is when several processor cores are used at the same time to process multiple computations. It does this by splitting tasks into sub-tasks (threads) and splitting them between cores