Professional Documents
Culture Documents
Computer Organization & Architecture: Instructor Engr. Zeeshan Raza
Computer Organization & Architecture: Instructor Engr. Zeeshan Raza
Computer Organization & Architecture: Instructor Engr. Zeeshan Raza
2
Computer Organization & Architecture
3
Computer Organization & Architecture
4
Lectures out Line
5
Lectures out Line
6
Lectures out Line
7
Recommended Book:
8
Class Policy
Grading
Surprise quiz (5 marks)
Announced test (5 marks)
Midterm exam (30 marks)
Assignment (3 marks)
Research Paper (7 marks)
Final exam (50 marks)
Bonus Marks (optional) (2 marks)
Class attendance , attitudes
9
Architecture & Organization
10
Structure & Function
11
Function
12
Functional View
13
Structure - Top Level
Peripherals Computer
Central Main
Processing Memory
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
14
Central Processing Unit (CPU)
15
Memory
storage device
I/O device
input out put device like keyboard, printer
System interconnection
the mechanism provide interconnection b/w
component like buses
16
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
17
Control unit
control the operation of CPU
ALU
arithmetic logic unit perform logical operations
Register
Provide storage internal to the cpu
18
CPU operation
19
Fetch the Instructions
20
Decode the Instructions
21
Execute & Write back the Instructions
22
Block diagram of a simple CPU
Block Diagram
23
William Stallings
Computer Organization
and Architecture
7th Edition
Chapter 3
Computer Function & Interconnection
24
What is a program?
A sequence of steps
For each step, an arithmetic or logical operation is
done
For each operation, a different set of control signals
is needed
25
Function of Control Unit
26
How Control Signals
27
Computer Components:
Top Level View
28
Instruction Cycle
Two steps:
Fetch
Execute
29
Fetch Cycle
30
Execute Cycle
Processor-memory
data transfer between CPU and main memory
Processor I/O
Data transfer between CPU and I/O module
Data processing
Some arithmetic or logical operation on data
Control
Alteration of sequence of operations
e.g. jump
Combination of above
31
Example of Program Execution
32
Instruction Cycle State Diagram
33