0% found this document useful (0 votes)
72 views

Chapter 9 Memory

This document discusses RAM organization and memory expansion. It begins by outlining the key things students should be able to do after reading the chapter: discuss RAM organization, describe read/write operations, and explain how to expand memory capacity. It then provides examples of analyzing and expanding sample memory configurations, including determining address lines, input/output lines, capacity, number of ICs needed, type of decoder used, and drawing memory diagrams.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Chapter 9 Memory

This document discusses RAM organization and memory expansion. It begins by outlining the key things students should be able to do after reading the chapter: discuss RAM organization, describe read/write operations, and explain how to expand memory capacity. It then provides examples of analyzing and expanding sample memory configurations, including determining address lines, input/output lines, capacity, number of ICs needed, type of decoder used, and drawing memory diagrams.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

• At the end of this chapter, students should be able

to:-
– Discuss the basic organization of a memory (RAM).
– Describe the read and write operation.
– Explain how to expand the memory capacity of a memory.

10/9/2012 RA/Sept2013-Jan2014 2
• Five memory components are:
Input Data Output Data
I2 O2
I1 O1
I0 O0

Read/Write
ME
A1 A0

Address

• Memory components are manufactured in sizes


2n x m
n = number of address lines

m = word size/number of
input and output lines
10/9/2012 RA/Sept2012-Jan2013 3
Given an 8 x 4 bit memory IC.
a) Draw the memory diagram.
4 4
Data Input Lines Data Output Lines
8x4
Read/Write Lines bit
Memory Enable Lines
3
Address Lines

b)Identify the number of address lines.


For 8 x 4 bit, 2n x m = 23 x 4
Therefore, the number of address lines = 3 bits

10/9/2012 RA/Sept2012-Jan2013 4
c) Determine the number of data input /output lines.
Number of data input /output lines = Word size = 4
bits
d) Calculate the memory capacity in bits/bytes.
Memory capacity in bits = 8 x 4 bits = 32 bits
Memory capacity in bytes = 8 x 4 bits = 4 bytes
8
e) Calculate the number of memory cells.
Number of memory cells = 8 x 4 bits = 32 cells

10/9/2012 RA/Sept2012-Jan2013 5
f) Range of memory address.
Number of memory cells = 8 x 4 bits = 32 cells
Range = 0 – 31

g) Identify the number of IC(s) needed to expand the


memory capacity to 16 x 4bit.
Number of ICs = 16 = 2 ICs
8

10/9/2012 RA/Sept2012-Jan2013 6
h) Name the decoder used to expand the memory
capacity to 16 x 4bit.
Type of decoder = 1:2 decoder (based on no.of ICs)
i) Draw the expanded memory diagram.
(Refer to the next slide for the diagram)

10/9/2012 RA/Sept2012-Jan2013 7
Data Input Lines R/W Lines Data Output Lines

8x4bit
0

4 4

8x4bit
1

0 1
1:2 decoder
A 3

Address Lines

10/9/2012 RA/Sept2012-Jan2013 8
i) Determine total no of address lines
= 23 x 4 x 2
= 23 x 4 x 21
= 24 x 4
Total no of address line = 4

j) Total no of capacity in bytes.


= (23 x 4 x 2) / 8
= 8 bytes

10/9/2012 RA/Sept2012-Jan2013 9
a) Given 16K x 8 bit RAM. Determine the:
i. number of address lines.
ii. number of input/output lines.
iii. number of memory capacity in bytes.
iv. number of ICs needed to expand the memory
capacity to 96K x 8 bits.
v. type of decoder used to expand the memory
capacity to 96K x 8 bits .
vi. Draw the simplified memory diagram for iv.
b) Design 4M x 4 bit RAM using 1M x 4 bit RAM chips.

1K = 210 = 1024 bits 1M = 220 = 1024 x 1024 bits


10/9/2012 RA/Sept2012-Jan2013 10

You might also like