Unit 1 Computers
Unit 1 Computers
1. Introduction
A processor, or central processing unit (CPU), is the primary component of a
computer that performs most of the processing inside a computer. It executes
instructions from programs, managing data and controlling peripheral devices.
2. Processor Architecture
Definition: A computing architecture where program instructions and data share the
same memory space.
Components:
Memory
Input/Output Devices
3. Processor Components
Function: Directs the operation of the processor and coordinates the activities of all
other components.
Components:
Adders
Subtractors
Multipliers
Dividers
3.3. Registers
Types:
R
General-purpose registers
4.1. Definition
The part of the processor that is visible to the programmer and includes the set of
instructions that the CPU can execute.
CISC (Complex Instruction Set Computing): Many addressing modes and complex
instructions.
5.1. Fetch
5.2. Decode
5.3. Execute
The route that data takes within the CPU, including connections between ALU,
registers, and memory.
Signals generated by the control unit to manage data flow and operations.
7. Pipelining
7.1. Definition
Typical stages include instruction fetch, instruction decode, execute, memory access,
and write-back.
7.3. Hazards
Data Hazards: Occur when instructions depend on the results of previous ones.
Control Hazards: Arise from branch instructions altering the flow of execution.
8. Superscalar Architecture
Allows multiple instructions to be issued in parallel during a single clock cycle, improving
throughput.
9. Multicore Processors
9.1. Definition
9.2. Advantages
Enhanced performance for multi-threaded applications and improved energy efficiency.
Measured in Hertz (Hz); determines how many cycles per second the processor can
execute.
10.3. Benchmarking
Key consideration in processor design, affecting battery life and operational costs.
11.2. Thermal Management
Techniques used to dissipate heat, including heat sinks and cooling fans.
12. Conclusion