Unit - 1 System Design Using Plds Programmable Logic Devices
Unit - 1 System Design Using Plds Programmable Logic Devices
product term sharing: every product term of the AND array can be
connected to the input of any OR gate
unidirectional input/output pins
Basic PLD Concepts
Memory based: Device with fixed AND array and programmable OR array
output of OR gate has fixed connection with input of AND gates
PROM, EPROM and EEPROM are memory based PLD device
3.) PAL/GAL(Programmable Array Logic/ Gate Array Logic):
AND array is programmable and OR array has fix connection with outputs
of AND gates. PAL/GAL devices may have bi-directional I/O pins.
There are three different types of PAL/GAL devices
combinational PAL devices are used for the implementation of logic
function
sequential PAL devices are used for the implementation of sequential
logic (finite state machines)
arithmetic PAL devices sum of product terms may be combined by XOR
gates at the input of the macrocell D flip-flop
Basic PLD Concepts
Additional features of PAL/GAL devices
PAL:
- EPROM - based programming Technology
GAL:
- has array of programmable AND gates and OLMC (Output
Logic Macro Cell)
- EEPROM - based programming Technology
- programmable output polarity
- device can be configured as dedicated input and output mode
A programmable logic array (PLA) is a kind of programmable logic device used
to implement combinational logic circuits. The PLA has a set of programmable
AND gate planes, which link to a set of programmable OR gate planes, which can
then be conditionally complemented to produce an output. This layout allows for a
large number of logic functions to be synthesized in the sum of products (and
sometimes product of sums) canonical forms.
PLA's differ from Programmable Array Logic devices (PALs and GALs) in that
both the AND and OR gate planes are programmable.
Tri-state outputs
gives programmable bi-directional pins
saves the pin-count
Registered outputs
Enables the use of the PAL in finite state
machines
Increases the versatility of the device
PAL
The top two and bottom two circuits are simple combinational logic circuits
It consists of 4 D flipflops
Each flipflop is loaded on the low to high transition of clock input.
A power up reset function has been incorporated in PAL16RX series Ics to
reset all internal registers to active low after specified time duration.
Designing Circuits with PAL devices is also anautomated process (most of
the cases)
One can use VHDL, Verilog, ABEL(advanced BooleanExpression
Language), PALASM or similar language todo this
If you dont like using CAD tools you have the option
of representing your design as a programming table
But before using a PAL/ and PLD its better to befamiliar with the internal
details of the device so thatone can optimally use a PAL .
Combinational PAL
device, AMD PAL16L8
PAL 16R4
PAL22V10
PAL22V10 is a CMOS flash erasable programmable array logic device.
It is implemented with the sum of product logic architecture and
programmable macro cell.
The programmable macro cell provides capability of defining architecture of
each output.
It has 10 logic section and each logic section has 8 to 16 AND gates.
The top AND gate of each section is independent programmable enable.
It has 12 inputs and 10 programmable inputs/outputs.
Function specification:
Macrocell:
A great amount of architectural flexibility is provided by the userconfigurable macro cell output options.
The macro cell consists of a D-type flip-flop and two select multiplexers.
The D-type flip-flop operates like a standard TTL D-type flip-flop.
The input data is latched on the low-to-high transition of the clock input.
The Q and Q outputs are made available to the output select multiplexer.
Macrocell:
Erasable CPLD
EP1800 is erasable PLD device and has 48 macrocells, 16 dedicated
input pins and 48 I/O pins.
device is divided into four quadrants, each contains 12 macrocells and
has local bus with 24 lines and a local clock
out of 12 microcells, 8 are local macrocells and 4 are global
Macrocells
Local macrocell
Global macrocell
State diagram
Truth table
ASM Chart
The Algorithmic State Machine (ASM) method is a method for designing finite
state machines. It is used to represent diagrams of digital integrated circuits. The
ASM diagram is like a state diagram but less formal and thus easier to understand.
An ASM chart is a method of describing the sequential operations of a digital
system.
An ASM chart consists of an interconnection of four types of basic elements: state
names, states, condition checks and conditional outputs. An ASM state, represented
as a rectangle, corresponds to one state of a regular state diagram or finite state
machine. The Moore type outputs are listed inside the box.
State Name
State name: The name of the state is indicated inside the circle and the circle is
placed in the top left corner or the name is placed without the circle.
State box
State box : The output of the state is indicated inside the rectangle box
Decision box
Decision box: A diamond indicates that the stated condition expression is to be
tested and the exit path is to be chosen accordingly. The condition expression
contains one or more inputs to the FSM (Finite State Machine). An ASM condition
check, indicated by a diamond with one input and two outputs (for true and false),
is used to conditionally transfer between two states or between a state and a
conditional output. The decision box contains the stated condition expression to be
tested, the expression contains one or more inputs of the FSM.
Eg of ASM chart
ASM Architecture: