Unit V - PLD
Unit V - PLD
• For example, if the size of computer memory is 64k words, the memory units have
64 * 1024 = 65536 locations or cells. The address of the memory's cells varies from
0 to 65535.
Why do we need a computer
memory?
• In the computer system, we need computer memory to store various
types of data like text, images, video, audio, documents, etc. We can
retrieve it when the data is required.
Block Diagram of Memory Device
Data
Address N-lines
outputs
inputs P-lines
Read
Write 2P XN
Bits of Memory
Control inputs
• Inmost of the memory chips available, the same set of lines is used for data
input as well as data output and is referred as bidirectional bus.
• A number of control inputs are required to give commands to the device to
perform the desired operation.
• When R/ is HIGH ,the data bus will be used for reading the memory(output
bus)whereas when R/ is LOW ,the bus will be acting in the input direction and
the data on the bus will go into the memory.
• Chip Enable(CE)
Bidirectional data bus
• Chip Select (CS)
• Power Supply Address bus
• Ground R/ Memory
Read/write control
CS Chip Select
• The primary memory is further divided into two parts:
1) RAM (Random Access Memory)
2) ROM (Read Only Memory)
Read-Only Memories(ROM)
• ROM is a memory device or storage medium that is used to permanently store
information inside a chip.
• It is a read-only memory that can only read stored information, data or programs,
but we cannot write or modify anything.
• A ROM contains some important instructions or program data that are required
to start or boot a computer.
• It is a non-volatile memory; it means that the stored information cannot be lost
even when the power is turned off or the system is shut down.
Read Only Memory
• It is programmed at the time of manufacturing, as the last process of
fabrication ,according to the information specified by the user.
• It is referred to as custom programmed or mask programmed .
• The data stored cannot be changed after fabrication.
• This process is quite costly , therefore ,this type of ROM is suitable only for
bulk requirements ,of the order of millions of chips.
Programmable Read only
Memory(PROM)
• It is a type of digital read-only memory, in which the user can write any type of
information or program only once.
• It means it is the empty PROM chip in which the user can write the desired
content or program only once using the special PROM programmer or PROM
burner device; after that, the data or instruction cannot be changed or erased.
• This type of ROM is suitable for storage of data which is of permanent nature.
• The chip is available without any data stored from the vendor.
PROM
• A programmable read only memory is a device that includes both the AND plane
and OR-plane within a single IC package.
• Out of these two arrays AND plane is fixed and OR plane is programmable. Figure
below shows the block diagram view of PROM. In the PROM the AND array will
act as a decoder which will decode the address lines. The gate level structure of
PROM is also shown in figure.
• In mask PROM it is necessary to specify the bit pattern to be stored according to
the requirements of the circuits.
• Since PROMs are used in logic designs these are also referred as PLDs.
• Fig shows AND-OR implementation
of PROM.
• AND matrix is used to form
product terms.
• Each AND gate has all the input
variables in complemented and
uncomplemented form. There is a
nichrome fuse link in series with
each diode which can be burn out
to disconnect particular input for
that AND gate.
• Before programming all the fuse
links are intact and the product
term for each AND gate is given by
• P = I0 .0 .I1 . …..In-1 n-1
Q1) Using PROM realize the following expressions
F1(a,b,c) = Ʃ m(0,1,3,5,7)
F2(a,b,c) = m(1,2,5,6)
Block Diagram n Truth Table of
PROM
A2 A1 A0 F1 F2
0 0 0 1 0
0 0 1 1 1
c A0
0 1 0 0 1 O0
8x2 F1
0 1 1 1 0 b A1 ROM O F2
1 0 0 0 0 1
1 0 1 1 1 a A2
1 1 0 0 1
1 1 1 1 0
Erasable and Programmable ROM
• It is a type of digital read-only memory, in which the user can write any type of
information or program only once. It means it is the empty PROM chip in which the
user can write the desired content or program only once using the special PROM
programmer or PROM burner device; after that, the data or instruction cannot be
changed or erased.
• This type of ROMs are reprogrammable i.e., it can be programmend again and again.
• It is referred to as erasable and programmable ROM.
• Two techniques used for erasing
1) the chip is exposed to ultraviolet radiation
2) in other technique the contents are altered electrically
• The erasable programmable ROM using ultraviolet radiation for erasing is known as
EPROM
• The device using electrical voltage for erasing is known as electrically alterable
ROM(EAROM) or (EEPROM)
EEPROM (Electrically Erasable
and Programmable Read Only
Memory):
• The EEROM is an electrically erasable and programmable read only
memory used to erase stored data using a high voltage electrical
charge and re-programmed it.
• It is also a non-volatile memory whose data cannot be erased or lost;
even the power is turned off.
• In EEPROM, the stored data can be erased and reprogrammed up to
10 thousand times, and the data erase one byte at a time.
Random Access Memory (RAM)
• Random Access Memory (RAM) is one of the faster types of main memory
accessed directly by the CPU.
• It is the hardware in a computer device to temporarily store data, programs or
program results.
• It is used to read/write data in memory until the machine is working. It is volatile,
which means if a power failure occurs or the computer is turned off, the
information stored in RAM will be lost.
• All data stored in computer memory can be read or accessed randomly at any
time.
There are two types of RAM:
1) SRAM
2) DRAM