Inside RAM: Two-Level Addressing
Inside RAM: Two-Level Addressing
Inside RAM: Two-Level Addressing
Two-level addressing
Consider a 4M x 1 bit RAM. It will apparently need a 22to-4M decoder. 4 million output lines will make it complex!
Complex! Tw0-level addressing simplifies it.
These are D
flip-flops
A21-A0
22 to-222 decoder
Din
Dout
Basic idea
0
1
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
A20-A11
Row
Decoder
11-to-2048
2048 x 2048
array
Column latches
A10-A0
2048-1 mux
Data out
A 4M x 1 bit memory
bit
line
word line
word line
bit bit
line line
bit
line
Dynamic RAM
Word line
A bit is stored
here as charge
on the capacitor
Ground
Cycle time
Cycle time
Access time
Time
Read/write
read/write
read/write
Speeding up DRAMs
Here a ROM that is a solid-state device (not an electromechanical device like a CD-ROM). Its contents can be
randomly accessed, very similar to RAM, with the
exception that it contains fixed codes/data that cannot
be erased or overwritten by the programmer.
(PROM), the
Flash Memory
Flash Memory is a form of EEPROM (Electrically
Erasable Programmable ROM). Extensively used in
USB thumb drives, memory sticks etc. Smart
Media and Compact Flash are used as
electronic films in digital cameras.
8x2
ROM
address
Carry Cout
Address
000
001
010
011
100
101
110
111
Sum
0
1
1
0
1
0
0
1
Carry
0
0
0
1
0
1
1
1