Professional Documents
Culture Documents
Dr M Rajasekhara Babu
Vellore Institute of Technology (VIT)
Vellore-632014, Tamil Nadu, India
Computations of Memory chips Computation of Memory chips for Scalable Memories
Number of Words =N
Width of Word =W
Available Chip size =NxW
Required memory size = NI x WI
NI
p= Where NI ≥ N
N
q= W
I
Where WI ≥ W
W
q= WI = 8 Where WI ≥ W
W = 1
8
2 *1 =2, 1024 x 8 RAM Chips are needed for 2048x 8 memory size
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 8 2048 x 8 2 1 2 10 1 0 11
How many 1024x 8 RAM chips are needed to
provide a memory capacity of 2048 x 8?
No. of Required p= q= x y z
Memory Memory Available memory N = 2 p = 2 T= 2z x+ y+ z
x y
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 8 2048 x 8 2 1 2 10 1 0 11
How many 1024x 8 RAM chips are needed to
provide a memory capacity of 2048 x 8?
No. of Required p= q= x y z
Memory Memory Available memory N = 2 p = 2 T= 2z x+ y+ z
x y
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 8 2048 x 8 2 1 2 10 1 0 11
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 8 2048 x 8 2 1 2 10 1 0 11
RAM
1024 X 8
RAM
1024 X 8
Summary
• Case-1: Increase number of words by a factor
• Chips organization for scalable memory
– Case-1: (p-rows) x (1-column)
• Formula to compute number of address lines
for
– words/chip
– Size of de-multiplexer
• Address map table
• Chip organization with memory
connection to CPU
Dr M Rajasekhara Babu
Vellore Institute of Technology (VIT)
Vellore-632014, Tamil Nadu, India
Summary
To Demonstrate Memory
connections to CPU with
an example for increasing
word size by a factor
Number of Words =N
Width of Word =W
Available Chip size =NxW
Required memory size = NI x WI
NI
p= Where NI ≥ N
N
q= W
I
Where WI ≥ W
W
q= WI = 8 Where WI ≥ W
W = 2
4
1 * 2 =2, 1024 x 4 RAM Chips are needed for 1024x 8 memory size
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 4 1024 x 8 1 2 2 10 0 0 10
How many 1024x 4 RAM chips are needed to
provide a memory capacity of 1024 x 8?
No. of Required p= q= x y z
Memory Memory Available memory N = 2 p = 2 T= 2z x+ y+ z
x y
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 4 1024 x 8 1 2 2 10 0 0 10
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 4 1024 x 8 1 2 2 10 0 0 10
RAM RAM
1024 X 4 1024 X 4
Summary
• Case-2: Increase the word size of a Memory
by a factor
• Chips organization for scalable memory
– Case-2: (1-row) x (q-columns)
• Formula to compute number of address lines
for
– words/chip
– Size of de-multiplexer
• Address map table
• Chip organization with memory
connection to CPU
Dr M Rajasekhara Babu
Vellore Institute of Technology (VIT)
Vellore-632014, Tamil Nadu, India
Summary
To Demonstrate Memory
connections to CPU with an
example for increasing number
of words as well as word size
by a factor
Number of Words =N
Width of Word =W
Available Chip size =NxW
Required memory size = NI x WI
NI
p= Where NI ≥ N
N
q= W
I
Where WI ≥ W
W
q= WI = 8 Where WI ≥ W
W = 2
4
2 * 2 =4, 1024 x 4 RAM Chips are needed for 2048x 8 memory size
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 4 2048 x 8 2 2 4 10 1 0 11
How many 1024x 4 RAM chips are needed to
provide a memory capacity of 2048 x 8?
No. of Required p= q= x y z
Memory Memory Available memory N = 2 p = 2 T= 2z x+ y+ z
x y
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 4 2048 x 8 2 2 4 10 1 0 11
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
1 RAM 1024 x 4 2048 x 8 2 2 4 10 1 0 11
RAM RAM
1024 X 4 1024 X 4
RAM RAM
1024 X 4 1024 X 4
Summary
• Case-3: Increase the word size as well as
number of words of a Memory by a factor
• Chips organization for scalable memory
– Case-3: (p-rows) x (q-columns)
• Formula to compute number of address lines
for
– words/chip
– Size of de-multiplexer
• Address map table
Dr M Rajasekhara Babu
Vellore Institute of Technology (VIT)
Vellore-632014, Tamil Nadu, India
Session objectives
Summary
Dr M Rajasekhara Babu
Vellore Institute of Technology (VIT)
Vellore-632014, Tamil Nadu, India
Session objectives
Summary
Dr M Rajasekhara Babu, Vellore Institute of Technology (VIT)-Vellore Slide.# 40
Objective
To appraise with
organization of
different memory
chips for a large
memories from
smaller memory chips
To develop an address
map table for design
of scalable memory
using different types
of memories
Dr M Rajasekhara Babu, Vellore Institute of Technology (VIT)-Vellore Slide.# 41
Example-4
A computer employs RAM chips of 1024 x 8 and ROM
chips of 2048 x 4. The computer system needs 2K bytes of
RAM, and 2K bytes of ROM . The highest-order bit of the
address bus is assigned 0 for RAM and 1 for ROM.
a). How many RAM and ROM chips are needed?
b). How many lines of the address bus must be used to
access 2048 bytes of RAM and 2048 bytes of ROM? How
many of these lines will be common to all chips?
c). How many lines must be decoded for chip select?
Specify the size of the decoder
d). Draw a memory-address map for the system.
e). Draw a memory-address map for the system and Give
the address range in hexadecimal for RAM, ROM
2048 NI 2048
NI = 1
p= = = 2 p= =
1024 N 2048
N
q= W
I
q= WI = 8 = 8
= 1 W = 2
W 4
8
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
2 RAM 1024 x 8 2048 x 8 2 1 2 10 1 1 11
2 ROM 2048 x 4 2048 x 8 1 2 2 11 1 1 12
employs RAM chips of 1024 x 8 and ROM chips of 2048 x 4. The
computer system needs 2K bytes of RAM, and 2K bytes of ROM .
The highest-order bit of the address bus is assigned 0 for RAM and
1 for ROM.
No. of Required p= q= x y z
Memory Memory Available memory N = 2 p = 2 T= 2z x+ y+ z
x y
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
2 RAM 1024 x 8 2048 x 8 2 1 2 10 1 1 11
2 ROM 2048 x 4 2048 x 8 1 2 2 11 1 1 12
NI WI p *q
Types= Type Chip size size =
T =NxW NI x WI N W
2 RAM 1024 x 8 2048 x 8 2 1 2 10 1 1 11
2 ROM 2048 x 4 2048 x 8 1 2 2 11 1 1 12
RAM
1024 X 8
ROM ROM
2048 X 4 2048 X 4
Summary
• Organization of large memory from smaller
memory chips using different types of
memories
• Chips organization for scalable memory
– (p-rows) x (q-columns)
• Formula to compute number of address lines
for
– words/chip
– Size of de-multiplexer
• Address map table
• Chip organization with memory
connection to CPU
Dr M Rajasekhara Babu, Vellore Institute of Technology (VIT)-Vellore Slide.# 48
Dr M Rajasekhara Babu, Vellore Institute of Technology (VIT)-Vellore Slide.# 49