Chapter N°1 Introduction & Basics
Chapter N°1 Introduction & Basics
Course Document
Computer Architecture
Mr. A. LAHMISSI - January 2025
1
H
2
X R
1 Introduction
4 ‘’Harvard’’ Machine
7 Conclusion
8 Questions
3
H
INFORMATION AUTOMATIQUE
INFORMATIQUE
PHILIPPE DREYFUS
Was the first person who who gave the
translation to Franche « informatique »
In 1962
4
H
Output
Receive Process
Store
5
H
6
H
ASPECT
SOFTWARE
ARCHI 2 !! MATERIAL
concerns the organization of the different ASPECT
physical devices of computer
(OPERATION + COMMUNICATION)
7
H
18000 1500
Resistance Capacitors
70000 10000
170 m2 !!
8
H
HARDWARE ASPECT
PRIMARY SECONDARY
MEMORY MEMORY
SRAM
HD
DRAM
Flash Disk
ROM
SSD
9
H
Memory
Hard Disk
SRAM DRAM EPROM EEPROM SSD
Flash
CDROM, DVD
SRAM and DRAM are two types of RAMs. SRAM i.e., static RAM is RAM in which
data is stored in transistors in the form of voltage.
DRAM i.e., dynamic RAM is RAM in which data is stored in capacitors in the form
of electric charges.
The SRAM is faster and expensive whereas DRAM is slower and less expensive.
10
H
SRAM DRAM
it stores information as long as the power is supplied. it stores information as long as the power is supplied or a
few milliseconds when the power is switched off.
Transistors are used to store information in SRAM. Capacitors are used to store data in DRAM.
Capacitors are not used hence no refreshing is required. To store information for a longer time, the contents of the
capacitor need to be refreshed periodically.
SRAM is faster compared to DRAM. (high data transfer rate) DRAM provides slow access speed. (lower data transfer rate)
bits are stored in voltage form. bits are stored in the form of electrical charges.
These are used in cache memories. These are used in main memories.
Consumes less power and generates less heat. Uses more power and generates more heat.
SRAMs has lower latency DRAM has more latency than SRAM
SRAM is used in high-speed cache memory DRAM is used in lower-speed main memory.
SRAM is used in high performance applications DRAM is used in general purpose applications
latency = in Computing, is the delay before a transfer of data begins following an instruction.
11
H
12
H
Memory
I/O
13
H
1 Memory (Main)
C 3
P Control Unit
(UCC)
Arithmetic Logic Unit
(ALU)
U 2 Accumulator (Acc)
Input Output
4
14
H
Memory
Acc
I/O
15
H
Memory
Acc
I/O
Memory: Program (Instructions) + Data –
Memory: Set of Addresses
Sequential Execution (unless modified)
UAL: Perform basic arithmetic (+, *, …) and logical (AND, OR, …) operations
16
H
Memory
Acc
I/O
17
H
Memory
Acc
Bus
A bus is a set of wires (electrical conductors) that ensures I/O
the transmission of binary information between the elements
of the computer.
18
H
1 Memory
C
P Control Unit
3
Arithmetic Logic Unit
2
(UCC) (UAL)
U Accumulator (Acc)
Input Output
4
19
H
C
P Control Unit
(UC)
Arithmetic Logic Unit
(UAL)
U Accumulator (Acc)
Input Output
20
H
C
P Control Unit
UC
Arithmetic Logic Unit
(UAL)
U Acc
I/O
21
H
22
H
Memory
UC UC UC
I/O
23
H
Cache memory
Memory
RAM is fast, but the microprocessor is even
faster! In order not to limit its performance by
forcing it to wait, small memory units are used, Cache memory 2
much faster, but much more expensive!
CPU
24
H
Mémoire
25
H
Memory
Acc
I/O
26
27