Professional Documents
Culture Documents
Dr. S. Rajendar
Objectives
• Memory
• Programmable Logic Devices (PLD)
Memory
• Memory: A collection of cells capable of storing
binary information (1s or 0s) – in addition to
electronic circuit for storing (writing) and
retrieving (reading) information.
A7 A6 A5 A4 A3 A2 A1 A0
Solution:
• Inputs to the ROM (address lines) = 8 (first number) + (8 second
number) + 1 (Cin) + 1 (Add/Subtract) 18 lines
• Hence number of words in ROM is 218 = 256K
• Size of each word = number of possible functions/outputs
= 16 (addition/subtraction) + 1 (Cout)
= 17
State Table
Exercise: Compare design with ROMs with the traditional design procedure.
Types of ROMs
A ROM programmed in four different ways:
• ROM: Mask Programming
• By a semiconductor company
• PROM (Programmable ROM)
• User can blow/connect fuses with a special programming
device (PROM programmer)
• Only programmed once!
• EPROM (Erasable PROM)
• Can be erased using Ultraviolet Light
• Electrically Erasable PROM (EEPROM or E2PROM)
• Like an EPROM, but erased with electrical signal
Other PLDs
All use AND-OR structure- differ in which is programmable
Fixed
Programmable Programmable
Inputs AND array Outputs
connections OR array
(decoder)
Example:
• 3 inputs/2 outputs
• F1 = A B’ + A C + A’ B C’
• F2 = (AC + BC)’
The 4 products
C
X X 1 X X AB
X X 2 X X AC X Fuse intact
1 Fuse blown
X X 3 X X BC
But we actually
X X X 4 X ABC need F1 as an O/P,
not F1- So invert F1
C C B B A A X 0
1
with the XOR
X
Implement F1
F1
using the PLA then invert it
(more economical) F2 F1
F2
Programmable Array Logic (PAL)
• Fixed OR array and programmable
AND array
• Opposite of ROM
• Feed back is used to support more
product terms
• AND output can not be shared
here!
Example:
• 4 inputs/4 outputs with fixed 3-input
OR gates
• W = A B C’ + A’ B’ C D’
• X=?
• Y=?
• Z=?