تنظيم حاسوب
تنظيم حاسوب
T. Ahmed M. Dubais
Lecture 1
Introduction to
Introduction of computer systems
• Reference Book
– The essentials of Computer Organization and
Architecture, 5th edition – Author: Linda Null
and Julia Lobur 2018
• Topics to be covered
– History of computers, Data Representation,
Intro. to simple computer, Boolean algebra &
Digital logic, Instruction Ste Archt., Real world
Archt., and Memory
Chapter 1 Objectives
6
1.1 Overview
7
1.1 Overview
• Computer organization
– Encompasses all physical aspects of computer systems.
• How components are connected together?
• How components interact with/talk to each other?
– It addresses issues such as
• Control signals, signaling methods
• Memory types, …
– It helps us to answer the question: How does a
computer work?
8
1.1 Overview
• Computer architecture?
– It focuses on the structure and behavior of the computer
system
– It refers to the logical aspects of system implementation
as seen by the programmer.
– It includes many elements such as
• instruction sets and formats, data types, addressing
modes, number and type of registers, …
– It helps us to answer the question: How do I design a
computer?
9
1.2 Computer Components
11
1.2 Computer Components
12
1.3 An Example System
14
1.3 An Example System
15
1.3 An Example System
16
1.3 An Example System
17
1.3 An Example System
18
1.3 An Example System
19
1.3 An Example System
20
1.3 An Example System
21
1.3 An Example System
22
1.3 An Example System
23
1.3 An Example System
24
1.3 An Example System
25
1.3 An Example System
26
1.3 An Example System
27
1.3 An Example System
28
1.4 Standards Organizations
• Standards organizations?
– Number of government and industry organizations
– Some standards-setting organizations are consortia
made up of industry leaders
– Aims
• Establish common guide lines for a particular type of
equipment
• Why? To ensure a “worldwide”1 interoperability
(compatibility)
29
1.4 Standards Organizations
30
1.4 Standards Organizations
31
1.4 Standards Organizations
32
1.5 Historical Development
33
1.5 Historical Development
34
1.5 Historical Development
35
1.5 Historical Development
36
1.5 Historical Development
IBM 360
DEC PDP-1
Cray-1
2nd Generation Third Generation
37
Transistors
• Replaced vacuum tubes
• Smaller
• Cheaper
• Less heat dissipation
• Solid State device
• Made from Silicon (Sand)
• Invented 1947 at Bell Labs
• Shockley, Brittain, Bardeen
38
Integrated Circuits
39
Chip Production
• Ingot of purified silicon – 1 meter
long, sliced into thin wafers
• Chips are etched – much like
photography
– UV light through multiple masks
– Circuits laid down through mask
• Process takes about 3 months
View of
Cross-Section
40
1.5 Historical Development
Size comparison
Vacuum Tube
Transistor
Integrated
circuit chip
Integrated
circuit package
42
1.5 Historical Development
43
Moore’s Law
44
The Shrinking Chip
• Human Hair: 100 microns wide
– 1 micron is 1 millionth of a meter
• Bacterium: 5 microns
• Virus: 0.8 microns
• Early microprocessors: 10-15 micron technology
• 1997: 0.35 micron
• 1998: 0.25 micron
• 1999: 0.18 micron
• 2001: 0.13 micron
• 2003: 0.09 micron
• Physical limits believed to be around 0.02 microns 45
Size
46
1.5 Historical Development
• Rock’s Law
– Arthur Rock, Intel financier
– “The cost of capital equipment to build
semiconductors will double every four years.”
– In 1968, a new chip plant cost about $12,000.
At the time, $12,000 would buy a nice home in
the suburbs.
An executive earning $12,000 per year was
“making a very comfortable living.”
47
1.5 Historical Development
• Rock’s Law
– In 2003, a chip plants under construction will
cost over $2.5 billion.
$2.5 billion is more than the gross domestic
product of some small countries, including
Belize, Bhutan, and the Republic of Sierra
Leone.
48
1.6 The Computer Level Hierarchy
49
1.6 The Computer Level Hierarchy
50
1.6 The Computer Level Hierarchy
51
1.6 The Computer Level Hierarchy
52
1.6 The Computer Level Hierarchy
53
1.6 The Computer Level Hierarchy
54
1.7 The von Neumann Model
55
1.7 The von Neumann Model
• On the ENIAC,
all programming
was done at the
digital logic
level.
• Programming
the computer
involved moving
plugs and wires.
56
1.7 The von Neumann Model
57
58
• Program instructions are stored inside the main
memory
• The machine runs the programs sequentially
(instruction per instruction – machine instruction)
• Each machine instruction is fetched, decoded and
executed during one cycle known as the von
Neumann execution cycle (also called the fetch-
decode-execute cycle)
59
• One iteration of the cycle is as follows:
1. The control unit fetches the next program instruction
from the memory, using the program counter to
determine where the instruction is located.
2. The instruction is decoded into a language the ALU
can understand.
3. Any data operands required to execute the instruction
are fetched from memory and placed into registers
within the CPU.
4. The ALU executes the instruction and places the
results in registers or memory.
60
Instruction 1
1. Fetch
• PC indicates Instruction 3
Instruction 2
61
Instruction 1
Instruction 2
Instruction 3
3. Execute Instruction 3
• Execute the Data 1 Data 2 Instruction 4
instruction Result
• Place the results
in registers or …
memory …
…
Instruction N
62
1.8 Non-von Neumann Models
63
1.8 Non-von Neumann Models
64
1.8 Non-von Neumann Models
66