Feee 1st Year
Feee 1st Year
Syllabus
.oation of memories - ROM- ROM organization PROM- EPROM- EEPROM - EAPROM,
RAM- RAM organizatio. Write operation - Read operation-Memory cycle Timing wave-forms-
0ry decoding - Memory expansion- Static RAM cell - Bipolar RÁM cell - MOSFET RAM cell -
combinational logic
circuits using ROM, PLA, PAL
Contents
. .Dec.-05, Marks 12
10.6 RAM Organization
. . Dec.-11, Markss8
10.7 DRAM Organization
May-08, 09, Dec.-08, 10, Marks 8
10.8 Memory Cycles and Timing Waveforms.... .
.
(10 1)
10-2 Memory Devices and
Digital Electronics
PLDs
10.1 Introduction Dec.-04, 05, 08, May-06
Each register in the memory is on one storage
Memories are made up of registers.
location is identified by aan
location. Each memory
n
Address Address
n-1 n-1
words that are multiples of eight bits in length. Thus, a 16-bit word contains two Dye
and a 32-bit word is made of 4-bytes.
n-data lines
The communication between a memory and
its environment is achieved through data lines,
address selection lines, and control lines that
the direction of transter. The Fig. 10.1.2 k-address
specify lines Memory
shows the block diagram of memory unit. unit
le 10.1.1
Example 10.1.1 A bipolar RAM chip is
the chip ?
arranged as 16 words. How
many bits are stored n
Dec.-05, Marks 4
Solution 16 x 8 =128 bits one word =8 bits.
Example 10.1.2 How many address bits are needed to operate a 2K x 8 ROM?
Solution 2K memory locations 2048 1locations =
Example 10.1.3 How many locations are addressed using 18 address bits?
Dec.-08, Marks 2
Solution: The number of locations addressed 218 = 262144.
Review Questions
Shitt Register
Note:
Read Only Memory
ROM
Programmable ROM
PROM
Erasable PROM
EPROM Electrically Erasable PROM
EEPROM Memory
Random
Access
SRAM Static
Memory
Access
Random
DRAM Dynamic
First-in First-out
FIFO
Last-in First-out
LIFO semiconductor
memories
Classification of
Table 10.2.1
memories and non-vol..
The semiconductor memories are also classified as Bipolar and MOS memories
Review Questions
- 5
Memory Devices and PLDs
is importan1 tant to note that although we
give the name RAM
static and dynamic
to
ad/write
memory devices, that does not
mean that the ROMs
random access devi
vices. In that we are using are
fact, most ROMs are accessed randomly with ique
unig
also
a d d r e s s e s .
Bit line
The Fig. 10.3.1 shows the Vcc
configuration of a ROM R
cal
b y p i c a l
of a transistor T w-
I t consists
cell.
and witch P. The transistor T is Word line
driven by line. The the word
of cell can be read from
ontent
There are four types of ROM : Masked ROM, PROM, EPROM and EEPROM or
EPROM.
therefore, the
bit position;
diodes in every
PROM. It
has in series wi
with it. By
ig. 10.3.3 shows four byte f u s i b l e link
has a
however
output, we can
n
output is initially all Os. Each diode,
at the
correspondin8
out tho
blow out 1 at that bit
20 to
to pasS around
the fuse,storing
storing logica the fuse it is
logic necessary
Fuse link-
Ap A
2:4 K
Decoder
A
ÄA
OE
Output enable
Do D D2 D3 D4 D5 De D7
Fig. 10.3.3 Four byte PROM
special EPROM
be programmed by the
programmer. The
user
the
m
important point is that we can erase
I+ is not possible to erase selective information, when erased the entire information is
lost.
chip can be reprogrammed. This memory is ideally suitable for product
The
relopment, expermental projects and college laboratories, since this chip can DE
many
tim
mes, over.
reus
EPROM Programming
When erased each cell in the EPROM contains 1. Data is introduced by selectively
ramming 0's into the desired bit locations. Although only 0's will be
hoth 1's and O's can be presented in the data.
programmed
During programming address and data are applied to address and data pins of the
PROM. When the address and data are stable, program pulse is applied to the prOgram
anut of the EPROM. The program
inpu pulse duration is around 50 ms and its amplitude
Hepends on EPROM IC. It is typically 5.5 V to 25 V. In EPROM, it is possible to
location at any time either individually, sequentially, or at random.
program any
floating gate in the device. The insulating layer is made very thin (< 200 A). Therefore, a
voltage as low as 20 to 25V can be used to move charges across the thin barrier in either
direction for programming or erasing. EEPROM allows selective
erasing at the register
level rather than erasing all the information since the information can be
changed by
using electrical signals. The EEPROM memory also has a erase mode special chip by
which entire chip can be erased in 10 This time is
ms.
quite small as compared to time
required to erase EPROM and it can be erased and reprogrammed with device right in
the circuit. However, EEPROMs are most expensive and the least dense ROMs.
Review Questions
May-07, Marks 2
0. Write the
adoantages of LPROM 0 OM '
R R RS R
00
01
2.4
Decoder 10
11
Oulpul enable
Do D D D
Data Output
Fig. 10.4.1 Simple four byte diode ROM
Now days ROMs use MOS
technology instead ot diode. Fig 104. Sh
nibble (hall-byte) ROM
using MOS transistors. 1
Here, diodes and pull up res
r e s i s t o r s
connected
rOW
(o transistor is tol
S
Address
M O S
the
row, MOS transistoAddress Binary Data Data in Hex
selected
sele
the
turned
on. This pulls the D D, D, D, D, D, D, D,
s onding column ata line to O0 10 100 10 1 A
ogic0
01
circuits, a thin|
0 1 0 10 0 0 1 51
In integrated
sistors. On
transistors. nce
the pattern/mask is decided, it is possible to make thousands of such
pOMs. Such ROMs are called Mask-programmed ROMs. Masked ROMs are used in
microprocessor based
ba tóys, TV games, home computers and other ch high volume
consumer products.
NcC
00
Ao
2:4
01
Decoder
10-
A
11
OE
Output enable o-
Do D D2 D3
Fig. 10.4.2 Simple four half-byte ROM
Review Questions
Stahc RAM
ynami RAM
memories.hese
are
random
and
are known as static
PPed
hence combinely called static RAM memóries.
The word line controls the opening Fig. 10.5.1 Static RAM Cell
Read operation
For read operation, word line is made logic 1 (high) so that both transistors are 0x
Now if the cell is in state 1, the signal on bit line b is high and the signal on bit line t
is low. The opposite is true if the cell is in state 0. The b and
b' are complements of
e
other. The sense/write circuits connected to the bit lines monitor the states ot b anu *
and set the output accordingly.
Write operation
For write operation, the state to be set is placed on the line b and its
placed on line b and then the word line comple
is activated. This the
action forces the cell n
corresponding State and write
operation is completed.
TECHNICAL
PUBLICATIONS An up thrust for
knowledge
igital Eloctronics
10-11
Bipolar RAM Cell Memory Devices and PLDs
0.5.1.2
Fig 10.5.2 shows
simplitied schematic of
VcC
a
bipolar memory cell. The
memory cell is jmplemented
R R2
using TT(Transistor
Transistor-Logic) multiple
emitter technology. It stores
1-bit of information. It is
nothing but a
flip-flop.
It Set
Reset
an store either 0 or 1 as
long as power is applied
and it can set or reset to
are made ON. Due to this, either read or write operation is possible.
I, nOae
by making
D 1s also logic 1 T
at
high. With
signal is logic
e operation enabled, if data-in
data-in pin
is lOgiC 0, l2 will1 be ccut-off
ut.
RAM
the capacitor. Fig. 10.5.4 shows the dynamic
cell. A dynamic RAM contains thousands of such
Storage
ROW
capacitor
memorv cells. When COLUMN (Sense) and
(Control) lines go high, the MOSFET conducts Control-
line
and charges the capacitor. When the COLUMN
and ROW lines go low, the MOSFET opens and Fig. 10.5.4 Dynamic RAM
the capacitor retains its charge. In this way, it
stores 1 bit. Since only a single MOSFET 'and capacitor are needed, the dynamic RAM
contains more premory cells as compared to static RAM per unit area. .
The
disdvagtage of dynamic RAM is that it needs
refreshing of charge on_the
capacit after every few milliseconds. This complicates the system design, since i
requis the extta hardware to control refreshing of dynamic RAMs.
12. Draw the logic diagram of static RAM cell and bipolar RAM cell. Dec.-12, Marks 10
organization of a 8192-bit
Data
memory chip. out
The chip has 13
1
address lines. The first
seven address lines are
Memory cell 0
Connected to the column Memory cell 127
127 126 125 124 2 1 0
decoder to indicate one of
7 to 128 Line decoder
the 128 columns. The
remaining 6 address lines
are connected to the row As As As Ap A A
8192-bit static
decoder to indicate one of column organization for
Fig. 10.6.1 Row and
64 RAM
rows. Where the
aecoded row and column
Review Question
The cells are organized in the form of a 4Kx 4K array. The 4096 cells in each row
are
addressed by 12 address bits and are divided in 512 groups of 8, so that a row can store
512x8, i.e. 512 bytes of data. Another 9 bits are used to specify a group of 8 bits in the
selected row. Thus, a 21-bit address identifies a byte in this memory.
RAS
A20 Ap
Sense/ write
circuits
Column
address
latch
Column
Ag Ao decoder
(column address)
CAS
Do
Fig. 10.7.1 (a) Internal organization of a 2M x 8 dynamic memory chip
Fig. 10.7.1 (b) shows another
typical DRAM
memory organisation. It is contigue
2M 4. In DRAMs address and column
row
address lines are edue
number of pins. Thus for a
given multiplexed tO
memory DRAM chip has less address
pl thand
a
SRAM chip. The elements of
vertical (column) lines. Each memory array are connected by both horizontal
horizontal line (row cell in
its connects to the select
row each vertical line connects to
the Data-ln/
terminal ot eac
column. sense terminal of each ce"
TECHNICAL
PUBLICATIONSAn up thrust for
knowledge
Digital Eectronics
10-15 Memory Devices and PLDs
The DRAM organisation
shown in
Fig. 10.7.1 (b) has four arrays of 2048 by 2040
laments. The 11 address lines are
required to select one of 2048 rows. These 11 lines are
fpd
fed into a row decoder, which has 1l lines
of input and 2048 lines for
the decoder activates a
single one of the 2048
output. The logIC
outputs depending on the bit pattern
the 11 input lines (2" =2048).
n additional
11 address lines select
one of 2048 columns of four bits
Four data lines are used for the input and output of four bits to and from a data columl
per butfer.
RAS CAS W
OE
iming and control
Refresh
counter
MUX
Row
Row decoder
Memory array
address (2048x2048x4)
buffer
Data input
Sense amplifier buffer
Column and l/O gate
address Data output
buffer buffer
Column decoder
Review Questions
10 25
Memory Devices and PLDs
Solution
Do
D7
(ROM) (ROM)
32 x 8
32 x 8
(ROM) (ROM)
32 x 8
328
CS OE| CS OEE CS OE CS OE
RD
2x4 1
Decoder 2
Fig. 10.10.4
Review Question
advantProgrammable logic devices are used to implement logic tunctions. The main
a g e of PLD approach is that PLDs can be easily configurable by the indiv iiual
ser
thrSpecific
three design applications. The Table 10.11.I shows the comparison betwen these
approaches.
TECHNICAL PUBLICATIONS An up tuust tor krow/edgu
10- 26 Devicos 5na Pip
Digital E l o c t r o n i c s
Fixed-function IC
ASIC approach PLD approach
Comparison approach
No More
Less
Design flexibility May be
Possible with change
in
No possible without
any circuit or
changes butcomponent
Modification in design circuit and/or with
change in components.
only by
recontigurating
device.
the
Less
More Less
Design time
approaches
Table 10.11.1 Comparison between design
flexibilihu
seconds and hence giIves more
PLDs can be reprogrammed in few
feature ot PLDs also make it possible acent
experiment with designs. Reprogramming
circuits. These two main advantages and
changes/modifications in the previously design
PLDs very popular in digital design.
others discussed in Table 10.11.1 make
Ap 0
A
2
6:64
Decoder
As 63
64 x 4 256 Fusess
F F2 Fa
10.11.2 Logic construction of 64x 4 PROM
Fig.
e PROM is a two level implementation in sum ot mnteriis torm. Let us see
10.11.3 shows the
D-OR implementation ot PROM. Fig
and AND-OR-INVERTER
X2 PROM with AND-OR and AND-OR-INVERTER implementations.
Address input
A
Mintonms
01
AND
matrix 10
8 Fuse6
OR
matri
F1 2
A1 Ap
00
AND 10
matrix
D!
OR
matrix
F F2
Fig. 10.11.3 (b) 4x 2 PROM with AND-OR-INVERTER gates
IM
n-1 Pm
n-1
OE
(DUutput enable) diagram
of a PLA
Block
10.11.20
Fig. for
knowledge
P U B L I C A T I O N S -
An uprihrust
TECHNICAL
10-40
Digital Electronics Memory Devices an
10.11.2.1 Iinput Buffer
PLA to limit
also provide
drive the inputs. They
non-inverted form of
inverted and
10.11.21
inputs at its output. The Fig. (b)
shows two ways of representing input Fig. 10.11.21 Input buffer for single s
buffer for single input.
ingle input ine
S%O
10.11.2.2 Output Buffer
is S
The driving capacity of PLA
at the
increased by providing buffers
Clock
Output enable (OE)
the outpur
Fig. 10.11.23 PLA with flip-flop at
10-41 PLDS
Memory Devices and
called. field-programniadie
field-programmable logi
logic array or FPLA. The FPLA can be grammed by the
by
e r
recommended neans of certain
programmed by u
procedures. FPLAs can be prrogrammed with
ercially ailable programmer runits.
Commercially
F m (3, 5, 7), F =
Z m (4, 5, 7)
Inlement the circuit with a PLA having 3 inputs, 3 product terms and two outputf.
Solution:
o o o 10 o 0 0
F1 AC+ BC Fa AB+AC
Fig. 10.11.24
The Boolean functions are simplified, as shown in the Fig. 10.11.21. The simplitied
obtained from the maps are
functions in sum of products are
F = AC + BC, F2 AB+AC
=
AB
TT T/C
table
Table 10.11.4 PLA program
nd hwo sum
terms : AC, BC and AB,
Erore, there are three distinct product columns
consists ot three
10.114
terms ePLA program table shown in Table
product
gives the lists of
first column
itying product terms, inputs outputs. The and and
the required paths
between inputs
err
nerically. The second column specifies
Step 3 Implementation
A B B CC
A
3 Product terms
AC
BC
AB
2 Sum
terms
F F2
Fig. 10.11.25
Solution
functions
Step 1 Simplify the Boolean
ABC+ A BC + AC = ABC A (BC + C)
=ABC + A (B + C) A + AB =A+
=ABC + AB +AC
The second Boolean function is in simplified form.
Note