Memory
Philipp Koehn 9 September 2019
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
Memory Philipp Koehn 9 September 2019 Philipp Koehn Computer - - PowerPoint PPT Presentation
Memory Philipp Koehn 9 September 2019 Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019 D-Type Level-Triggered Latch 1 DATA AND Q NOR NOT CLOCK Q NOR AND Philipp Koehn Computer Systems Fundamental: Memory 9
Philipp Koehn 9 September 2019
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
1
NOT
AND AND NOR NOR
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
2
NOT
AND NOR NOR
AND Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
3
Data-In Write Data-Out 1 1 1 1 X Data
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
4
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
5
NOT
AND NOR NOR
AND Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
6
DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W WRITE DATA OUT DATA IN
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
7
address
bit value
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
8
DATA IN DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W WRITE 8-Bit Selector ADDRESS OUT
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
9
Address Output A2 A1 A0 OUT D0 1 D1 1 D2 1 1 D3 1 D4 1 1 D5 1 1 D6 1 1 1 D7
(NOT A2) AND (NOT A1) AND (NOT A0) AND D0
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
10
( (NOT A2) AND (NOT A1) AND (NOT A0) AND D0 ) OR ( (NOT A2) AND (NOT A1) AND A0 AND D1 ) OR ( (NOT A2) AND A1 AND (NOT A0) AND D2 ) OR ( (NOT A2) AND A1 AND A0 AND D3 ) OR ( A2 AND (NOT A1) AND (NOT A0) AND D4 ) OR ( A2 AND (NOT A1) AND A0 AND D5 ) OR ( A2 AND A1 AND (NOT A0) AND D6 ) OR ( A2 AND A1 AND A0 AND D7 )
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
11
AND AND AND AND AND AND AND AND
A0 A1 A2 D7 D6 D5 D4 D3 D2 D1 D0
OR
DATA OUT
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
12
– address – write flag – data bit
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
13
DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DATA IN DATA OUT ADDRESS WRITE 3-to-8 Decoder
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
14
Address Output A2 A1 A0 W7 W6 W5 W4 W3 W2 W1 W0 WRITE 1 WRITE 1 WRITE 1 1 WRITE 1 WRITE 1 1 WRITE 1 1 WRITE 1 1 1 WRITE
(NOT A2) AND (NOT A1) AND (NOT A0) AND WRITE
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
15
A0 A1 A2 W0 WRITE
AND AND AND AND AND AND AND AND
W1 W2 W3 W4 W5 W6 W7
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
16
DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DI DO W DATA IN 8-Bit Selector DATA OUT ADDRESS WRITE 3-to-8 Decoder
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
17
– address – write flag – data bit
– data bit
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
18
(and ultimately 8 bits (1 byte) and more) ⇒ Arrange them together
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
19
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
20
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
21
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
22
we will use it with 6502 assembly
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
23
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
24
Early 1980s: 64 KB RAM, 16 bit address space
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019
25
16 bit address space, up to 64 KB
32-bit address space, up to 4 GB
64-bit address space, up to 16 EB (exa-byte)
– 52 bits for physical memory: 4 peta-byte – 48 bits for virtual memory: 256 tera-byte
768 GB (doubles every ∼2 years)
Philipp Koehn Computer Systems Fundamental: Memory 9 September 2019