Professional Documents
Culture Documents
Microcontroller Systems
Chapter 2
SEMICONDUCTOR
MEMORY
ﻭﺟﺩﻱ ﺳﻠﻳﻣﺎﻥ ﺍﻟﺣﻠﺑﻲ. ﻡ. ﺩ:ﻣﺩﺭﺱ ﺍﻟﻣﺳﺎﻕ
n 2n n 2n
0 20=1 8 28=256
1 21=2 9 29=512
2 22=4 10 210=1024 Kilo
3 23=8 11 211=2048
4 24=16 12 212=4096
5 25=32 20 220=1M Mega
ROM:
does not lose its contents when the power is turned off.
called nonvolatile
Types of ROM,
PROM,
EPROM,
EEPROM,
Flash EPROM,
and mask ROM.
Mask ROM
Note: All ROM memories have 8 bits for data pins; therefore,
the organization is x8.
Volatile memory
RAM (SRAM),
NV-RAM (nonvolatile RAM),
and dynamic RAM (DRAM).
SRAM (static RAM)
made of flipflops
refreshing in order to keep their data
is not required.
problem each storage cell requires at
least 6 transistors to build, and the
cell holds only 1 bit of data.
Recently, have been made of 4 transistors, still too many
4-transistor cells + the use of CMOS technology high-
capacity SRAM, but still far below DRAM.
10/9/2020 Dr. Eng. Wajdi Halabi 20
RAM (random access memory)
DRAM organization
In ROM, we noted that all of these chips have 8 pins for data.
But DRAM memory chips can have ×1, ×4, ×8, or ×16
organizations.
Example:
Discuss the number of pins set aside for addresses in each of
the following memory chips.
(a) 16K × 4 DRAM (b) 16K × 4 SRAM
Solution:
Since 214 = 16K:
(a) For DRAM we have 7 pins (A0–A6) for the address pins and
2 pins for RAS and CAS.
(b) For SRAM we have 14 pins for address and no pins for RAS
and CAS since they are associated only with DRAM.
In both cases we have 4 pins for the data bus.
10/9/2020 Dr. Eng. Wajdi Halabi 29
RAM (random access memory)
DRAM organization
In memory chips, the data pins are also called I/O. In some
DRAMs there are separate Din and Dout pins.
Figure shows a 256K × 1 DRAM chip
with pins A0–A8 for address, RAS and CAS,
WE (write enable),
and data in and data out,
as well as power and ground.