Ram Rom
Ram Rom
MEMORY MAP
(UNIT-1)
Solution:
a. 2K = 2 x 1024 = 2048 location.
b. Word size is 8-bits (one byte).
c. The total capacity is 2048 x 8bit = 16,384 bits
Memory Example…
Which memory stores the most bits:
a 5M x 8bits memory OR
a 1M x 16bits memory?
Solution: Capacity
5M x 8 = 5 x 1,048,576 x 8 = 41,943,040 bits
1M x 16 = 1,048,576 x 16 =16,777,216 bits
The 5M x 8 memory stores more bits.
MEMORY TERMINOLOGY
ROM RAM
(Read Only Memory) (Random Access Memory)
Pin description
A0 – An - address line
connect to address bus
D0 – Dn - bus line
connect to bus data
CS* - Chip select atau CE* - Chip enable
to active device
OE* - Output enable
RAM give data to data bus
WE* - Write enable
to active write data bus
RAM
(Dynamic Random Access Memory)
The illustrations to the right show a simple example with only 4 by 4 cells
(modern DRAM can be thousands of cells in length/width).
The long lines connecting each row are known as word lines. Each
column is actually composed of two bit lines, each one connected to every
other storage cell in the column.
RAM
(Dynamic Random Access Memory)
This means that for a given valid address, one and only one
memory-mapped component must be accessed.
Start Address = 0
End Address = 65536 – 1 (size -1)
= 65535
Start
0000 H
ROM
I/O
RAM
End unused
FFFF H
ii. Range Address for ROM
0000 H
ROM
2FFFF H
I/O
RAM
unused
FFFF H
iii. Range Address for I/O
RAM
unused
FFFF H
iv. Range Address for RAM
FFFF H unused
Memory Map for the System is Figure below:
0000
ROM
2FFF
3000
I/O
3FFF
4000
RAM
7FFF
8000
UNUSED
FFFF