Programmable Logic Devices 2, tutorial, ppt

10
Programmable Logic Devices Indresh Kumar Verma Asst. Prof. Deptt. of Electronic & Instrumetation

description

pld, ppt , tutorial

Transcript of Programmable Logic Devices 2, tutorial, ppt

Page 1: Programmable Logic Devices 2, tutorial, ppt

Programmable Logic Devices

Indresh Kumar VermaAsst. Prof.

Deptt. of Electronic & Instrumetation

Page 2: Programmable Logic Devices 2, tutorial, ppt

• Programmable Logic Devices (PLDs) refer to integrated ckt which can be programmed to implement any design.

• PLDs were introduced in 1970s , with an idea to design a single purpose chip which can be programmed to meet particular hardware requirement.

• PLDs are a genereal purpose chip for implementing logic circuitry. It consist of logic circuit elements that can be coustamized in different ways.

• The first PLDs were called PAL (Programmable Array Logic) or PLA (Programmable Logic Array), depending on the programming scheme.

• They used only logic gates (no flip-flops), thus allowing only the implementation of combinational circuits.

• Registered PLDs were launched to overcome this problem, which included one flip-flop at each output of the circuit. With them, simple sequential functions could then be implemented as well.

Introduction :

Page 3: Programmable Logic Devices 2, tutorial, ppt

Types of PLDs

• Broadly classified in folowing categories

– SPLD (Simple PLDs)– CPLD (complex PLDs)

• SPLDs are simple PLDs which can handle up to 10 - 20 logic equations only & ment for simple design.

– A typical SPLD is a two level array of logic gates AND - OR with programmable switches and gives output in SOP form. SPLDs are of 4 types :

PLAs PALs Registered PLAs GALs

PLDs

SPLDs

CPLDs

FPGAs

Page 4: Programmable Logic Devices 2, tutorial, ppt

PLAs (Programmable Logic Arrays)

• PLAs are SPLD. introduced in 1970s. It has two level of logic implementation wired AND plane & wired OR plane. Both AND & OR Planes are programmable.

Input Buffer & Inverters

Programmable AND Plane

Programmable OR Plane

x1x2

xn

f2

f1

fn

The basic Structure of PLA

Page 5: Programmable Logic Devices 2, tutorial, ppt

Internal structure of PLA

Page 6: Programmable Logic Devices 2, tutorial, ppt

• The output of PLA is in SOP form.

• Two level of programmability gave flexibility to design any logic circuit. It led to low speed.

• Making Both AND - OR configrable made the manufacturing cost very high.

• This led to introduction of PALs.

Page 7: Programmable Logic Devices 2, tutorial, ppt

PALs (Programmable Array Logic)

• PAL are PLDs with only AND plane Programmable & OR plane fixed.

• Output in SOP form.• The ouptut of OR gate are connected to F/F so as to realize

sequential circuits.

Input Buffer & Inverters

Programmable AND Plane

Fixed

OR Plane

x1x2

xn

F/F

F/F

Basic Structure of PAL / Registered PALs.

Page 8: Programmable Logic Devices 2, tutorial, ppt

),,()7,6,4,2( CBA

Implementation of Logic function using PAL

Page 9: Programmable Logic Devices 2, tutorial, ppt

Advantage of PLDs

The biggest advantage of a PLD is its programmability. A PLD is not a one time device. It can be programmed again & again.

To reprogram a PLD, it is not required to be removed from the PCB but can be programmed on the field, due to this reason PLDs are also known as FPLDs (Field PLDs).

A PLD could handle large, complex design. It could be easily implemented with single PLD in comparision to the previously used SSI & MSI Circuits, with comming of CPLD & FPGA the capacity to handel complexity has increased.

Due to use of single chip for circuit implementation, the cost of design impementation decreased drastically.

Page 10: Programmable Logic Devices 2, tutorial, ppt

Difference between FPGA & CPLD

FPGA CPLD

FPGA consist of configurable logic blocks, I/O blocks interconnected by routing channels.

It is a conection of PAL like structure interconnected by programable switch matrix.

They donot contain AND-OR planes. AND-OR plane form the backbone of CPLD structure.

They are much more versatile than CPLDs with much higher logic capacity & hence used for complex level design.

It is limited to moderate level of design complexity.

They generally use SRAM technology for programmable switches.

They rely on E2PROM/flash technology for programming interconnects.

Logic capacity of FPGA is much higher than CPLDs. Logic capacity is lower than FPGAs