Professional Documents
Culture Documents
Elec204 Lecture22
Elec204 Lecture22
Lecture
22 of Engineering
KU College
Memory Organization
Organized as an indexed array of words. Value of the index
for each word is the memory address.
Often organized to fit the needs of a particular computer
architecture. Some historically significant computer
architectures and their associated memory organization:
Digital Equipment Corporation PDP-8 used a 12-bit address to
address 4096 12-bit words.
IBM 360 used a 24-bit address to address 16,777,216 8-bit
bytes, or 4,194,304 32-bit words.
Intel 8080 (8-bit predecessor to the 8086 and the current Intel
processors) used a 16-bit address to address 65,536 8-bit bytes.
Lecture
22 of Engineering
KU College
Lecture
22 of Engineering
KU College
Lecture
22 of Engineering
KU College
Memory Address
Binary Decimal
000
001
010
011
100
101
11 0
111
0
1
2
3
4
5
6
7
Memory
Content
10001111
11111111
10110001
00000000
10111001
10000110
00110011
11001100
5
Lecture
22 of Engineering
KU College
Lecture
22 of Engineering
KU College
20 ns
T1
T2
Address
T3
T4
T1
Address valid
Memory
enable
Read/
Write
Data
output
Data valid
65 ns
Lecture
22 of Engineering
KU College
Read cycle
8
20 ns
T1
Address
T2
T3
T4
T1
Address valid
Memory
enable
Read/
Write
Data
input
Data valid
75 ns
Write cycle
Lecture
22 of Engineering
KU College
Lecture
22 of Engineering
KU College
10
Lecture
22 of Engineering
KU College
Q
RAM cell
11
Data Lines:
Word
select
0
Select
C
X
RAM cell
Word
select
0
RAM cell
Word
select
1
Word
select
2n 1
Data in
Data out
RAM cell
Select
Word
select
2n 1
RAM cell
X
RAM cell
Read/Write
logic
Data in
Lecture
22 of Engineering
KU College
XC
Write logic
Read/
Write
Bit
select
Read logic
Data in
Data out
Read/ Bit
Write select
Data out
12
To build a RAM IC
from a RAM slice,
we need:
Decoder decodes
the n address lines to
2n word select lines
A 3-state buffer
on the data output
permits RAM ICs to
be combined into a
RAM with c 2n words
A3
A3
A2
A2
A1
A1
A0
16 x 1
RAM
A0
Data
output
Data
input
Read/
Write
Word select
4-to-16
Decoder 0
1
23
2
RAM cell
2
3
2
4
1
5
2
6
RAM cell
0
7
2
8
9
10
11
12
13
14
15
RAM cell
Memory
enable
Read/Write
logic
(a) Symbol
Data input
Data in
Data out
Read/ Bit
Write select
Read/Write
Data
output
Chip select
Lecture
22 of Engineering
KU College
13
n by
Lecture
22 of Engineering
KU College
14
Row decoder
2-to-4
Decoder 0
21
A2
20
RAM cell
0
RAM cell
1
RAM cell
2
RAM cell
3
RAM cell
5
RAM cell
6
RAM cell
7
RAM cell
8
RAM cell
9
RAM cell
10
RAM cell
11
RAM cell
12
RAM cell
13
RAM cell
14
RAM cell
15
Read/Write
logic
Read/Write
logic
Read/Write
logic
Read/Write
logic
Data in
Data out
Read/ Bit
Write select
Data in
Data out
Read/ Bit
Write select
Data in
Data out
Read/ Bit
Write select
Data in
Data out
Read/ Bit
Write select
Data input
Read/Write
X
Column select
0
Lecture
22 of Engineering
KU College
A0
Data
output
Enable
Chip select
15
Decoder
Data In
D3
A1 D-In
A0
R/W
CS D-Out
D2
A1 D-In
A0
R/W
CS D-Out
D1
A1 D-In
A0
R/W
CS D-Out
S1 D0
S0
A1 D-In
A0
R/W
CS D-Out
Data Out
R/W
Lecture
22 of Engineering
KU College
16
Data In
3210
A1 D-In
A0
R/W
CS D-Out
A1 D-In
A0
R/W
CS D-Out
A1 D-In
A0
R/W
CS D-Out
A1
A0
R/W
A1 D-In
A0
R/W
CS D-Out
CS
Data Out
Lecture
22 of Engineering
KU College
3210
17