Professional Documents
Culture Documents
Lecture 23.
Read-Only Memories & Programmable Logic Arrays
Read-Only Memories
Memory is like an array of mailboxes (registries of binary data)
A stored array of binary data which can be read only, but not changed
In general, 2n m ROM
I/P lines
O/P lines
words*
each
bits long
For each combination of inputs on the n input lines, the corresponding pattern
of 0s and 1s (a word) is generated on the m output lines
- typical sizes range from (32 words x 4 bits) to (512K words x 8 bits) or larger
ROM
8 words
x 4 bits
F0 F1 F2 F3
a. Block diagram
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
F0 =
F1 =
= A'B' + AC
= B + AC
F2 =
F3 =
= A'B' + BC
= AC + B
23 - 4
Decimal Input
digit ABCD
0000
0001
0010
0011
0
1
0100
0101
0110
0111
1000
1001
1010
1011
A
B
C
D
ROM
W
X
Y
Z
4-line to 16-line
DECODER
A
B
C
D
Output
W
EE280 Lecture 23
23 - 7
ROM Types
Mask-programmable (ROM)
- Permanent programming done at fabrication time
- Diodes blown at factory as per customer order
- Very expensive and therefore feasible only for large quantity orders
Programmable ROM (PROM)
- User programmed after purchase, called field-programmable ROM
(FPROM)
- Reprogrammable by user, erasable by UV emission, called erasable,
programmable ROM (EPROM)
Electrically erasable, programmable ROM (EEPROM)
- User can erase individual words; switching elements can be enabled/disabled
- Can be erased and reprogrammed limited number of times, typically 100 to
1000 times
ROM
PLA
EE280 Lecture 23
23 - 9
Inputs
Outputs
A B C
f1 f2 f3 f4
AC
0 0
A B
1 0
AC
1 1
BC
0 1
Product terms
PLA - Example
Design PLA that implements
following functions
abd
abd
A B
B C