Hardware #1 Flashcards
What is CPU short for?
Central Processing Unit
What is inside a processor?
Transistors
Use of a transistor?
(4 things)
- Stores zeros and ones
- Microscopic switches that control flow of electricity
- depending if switch on/off
- Transistor contains binary info
1 = current passes thru
0 = current doesn’t pass thru
Where are transistors located in CPU?
Very thin slice of silicon (single silicon chip)
How many transistors are there in a silicon chip?
How much silicon chips are there in a CPU?
Thousands
A large number
How much do silicon chips cover on the CPU?
Benefit of this?
Couple of square centimetres
Able to hold several million transistors, processing hundreds of millions of instructions per second
What is CPU architecture?
The design of a Microprocessor, an integrated circuit, where components of CPU are combined as a single unit
Who was Von Neumann?
What he do?
• A guy who proposed idea of storing program instructions
• in same memory as the data
What did the idea of stored program lead to?
- Computers being able to be easily re-programmed
- The basis of fetch-decode-execute cycle (FDE)
stored program = Von Neumann architecture
What are CPUs really used for?
Processing data and instructions
What are the 4 components of the CPU?
- controller
- Arithmetic and Logic Unit (ALU)
- registers
- internal memory
What does the controller do?
(CPU)
- Sends and receives signals from all parts of computer
- Ensures processes take place at right time in correct order
What does arithmetic and logic unit (ALU) do?
(CPU)
- Processes and manipulates data
- Performs simple calculation on data temporarily stored in registers
- Can perform comparisons on data
What do registers do?
(CPU)
- Temporarily store data/control info
- Faster than internal memory
What is the internal memory?
(CPU)
- Fast access temporary storage
- Data moved here from register if not being actively used
- Data here written to RAM/called back into register
What do buses do?
(CPU)
- Allow data to be transferred to different parts of computer
What are the 3 main buses
(CPU)
Address bus
Data bus
Control bus
What does address bus do?
(CPU)
- When data saved or loaded from memory,
the address where it’s to be stored/loaded from must be sent - Storage address of data always travels along an address bus
What is the data bus?
(CPU)
- The path where data travels through
Use of control bus?
(CPU)
- Used by controller to send control signals to diff parts of computer
Describe fetch-decode-execute cycle
(3 steps to processing instructions given by currently running program)
(CPU)
- Fetch cycle - takes address required from memory
Stored in current instruction register
* Moves program counter on one, to points at next instruction - Control unit authenticates the instruction in current instruction register
* Instruction decoded to determine action needed to be carried out - Actual actions happening during execution cycle depend on the instruction itself
What do ppl demand from CPUs?
Faster processing speed
What is cache memory?
(CPU)
- Fast access type of memory
- Depending on size, improves performance of CPU
Problem with cache memory in CPU?
Expensive, most pc systems have very little cache memory, relying on RAM
What unit is used for clock speed?
Hz
Should be self explanatory for this page
Why fan used in case?
- Draw cool air into case
- Expel hot air
- Uses heat sink to cool components
Why are number of cores good?
(2 things)
(CPU)
- Single core process instructions one after the other
- Dual core process two instructions at same time
long story short, fast processing if multiple cores
2 types of processors?
- RISC processor
Reduced Instruction Set Computer - CISC processor
Complex Instruction Set Computer
What do RISC processors do?
Reduced Instruction Set Computer
- Process limited number of simple instructions
- Does complex commands by breaking it down into a longer list of simple instructions
3 advantages of RISC processors?
+ Processes simple instructions easily
+ Less circuitry to decode and execute instructions
+ Less power consumption, less heat