Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programmable Logic Devices

Similar presentations


Presentation on theme: "Programmable Logic Devices"— Presentation transcript:

1 Programmable Logic Devices

2 Introduction Fixed Function ICs-
They perform a specific, fixed function They are designed by manufacturers in large quantities Eg.- multiplexers, adders, comparators etc. Advantages: Low development cost Fast turn around of designs Relatively easy to test the circuits

3 Disadvantages: Large board space requirements Large power requirements Lack of security Additional cost, space, power requirements etc. to modify the design or to introduce more features

4 ASICs (Application specific integrated circuits)
They overcome the disadvantages of fixed function ICs They are designed by the users according to the user’s specifications and are produced by the IC manufacturer as per the user’s specifications Advantages of ASICs: Reduced space requirements Reduced power requirements Cost is reduced considerably when produced in large volumes Large reduction in size through use of high level of integration Very difficult to copy the designs Disadvantages of ASICs: Enormous initial development cost Testing methods needs to be developed which may increase the cost

5 Programmable Logic Devices (PLDs)
They have the advantage of fixed ICs as well as ASICs. PLD is an IC that is user configurable and is capable of implementing logic functions It is a VLSI chip that contains ‘regular’ structure and the designer can customize it for specific application. They have short design cycle and low development cost as in fixed function ICs They have higher density, lower quantity production costs, design security, reduced power and space requirements as in ASICs

6 Advantages of PLDs over fixed function ICs
Reduction in board space requirements Reduction in power requirements Design security Compact circuitry Higher switching speed

7 Various PLDS: ROMs PLA PAL SPLDs CPLDs FPGA

8 ROM as a PLD It is a combinational circuit used to implement a logic function A ROM of size M X N has M locations and N number of bits can be stored at each location Number of address inputs is ‘P’ where A ‘P’ variable function, with ‘N’ outputs logic fn can be implemented using ROM of size In case of PROM, EPROM, and E2PROM user can program them Since programmable ROMs can be used for logic design it is also referred to as PLD

9 Advantages of using ROM as a PLD
Easy to design since there is no need of simplification or minimization of logic function Designs can be changed or modified rapidly Usually faster than discrete SSI/MSI Cost is reduced Disadvantages of ROM-based circuits: Non-utilization of complete circuit Increased power requirement Enormous increase in size with increase in input variable

10 PLDs- PAL & PLA PLD consists of programmable array of logic gates and interconnections The logic gates may be two level AND-OR, NAND-NAND, NOR-NOR configuration or sometimes AND-OR-EX-OR configuration There are two typed of PLDS- PLA PAL They are suitable for implementing logic functions in SOP form

11 PLA- Programmable Logic Array
Consists of two level AND-OR circuits on a single chip The number of AND, OR gates and inputs are fixed It has M inputs, n product terms, and N outputs with and can be used to implements a logic function of M variables with N outputs All of the possible minterms are not available, hence logic minimization is required to accommodate the given logic function

12 Block diagram of PLA device

13 1. Input Buffer Buffer circuits are required to limit loading of the sources that drive the inputs It produces inverted and non-inverted inputs at the output for one input Similar buffers are there for each of the M inputs

14 AND Matrix Used to form product terms Each AND gate has all
the input variables in complemented and un- complemented form There is a nichrome fuse link in series with each diode All the links are intact in unprogrammed PLA device

15 Each AND gate generates one product terms given by:
P= I0 . I̅0 .I1 .I̅1. …IM-1. I̅M-1 It is logic 0 in unprogrammed device To generate required product term unwanted links are opened

16 Section of AND matrix for P0 output and its equivalent logic gate representation

17 This is a convenient method to show the input buffers and the AND matrix with interconnections marked as ‘X’. When an array is programmed to implement a function the desired interconnections are left with ‘X’ marks and the unwanted interconnections without ‘X’ marks

18 OR Matrix Consists of parallel connected transistors with common emitter load. Outputs are obtained at S0 through SN-1 When all the fuse links are intact output S0 is given by S0 = P0 + P1+….+ Pn-1 Required sum terms are generated by opening the unwanted fuse links, which effectively makes logic level 0 at the corresponding OR gate inputs

19 OR Matrix Logic Symbol of a Section of OR matrix
Representation of OR Matrix

20 Invert/Non-Invert matrix
It is a programmable buffer that can be set for inverting or non-inverting operation corresponding to active low or active high output respectively In case of EX-OR gate, if the fuse is intact, the output is ‘S’ but if the fuse is blown off, the output is S bar S

21 Output Buffer They are used to increase the driving capability of PLA.
The outputs may be totem pole, open collector, or three state, but generally they are TTL compatible.

22 Applications Of PLA To implement combinational and sequential logic circuits Procedure to implement combinational logic functions are: Prepare truth table Write the Boolean equations in SOP form Simplify the equations to obtain minimum SOP form. ( main criteria is to minimize the number of product terms) Determine the input connections of AND matrix to generate the required product terms Determine the input connections of OR matrix to generate the required sum terms Determine the connections required for invert/non-invert matrix to set the active logic levels of the outputs. Program the PLA

23 PAL-Programmable Array Logic
As compared to PLA, PAL has programmable AND array and a fixed OR array in which each OR gate gets inputs from some of the AND gates.ie.. All the AND gate outputs are not connected to any OR gate

24 It has 5 inputs, 8 programmable AND gates, and 4 fixed OR gates
The input and output circuits of PALs are similar to those of PLAs. The number of fusible links in a PAL is the product of 2M and n, where M is the number of input variables and n is the number of product terms. Limited number of product terms are available for each output. Hence logic minimization techniques are required when logic circuits are implemented in PAL devices

25 CPLDs- Complex Programmable Logic Devices
SPLDs such as PALs etc. have limited number of inputs, product terms and outputs To implement circuits with more inputs and outputs than that are available in a single chip, we can use multiple SPLDs or CPLD. But using multiple SPLDs have some disadvantages

26 A CPLD is a collection of individual PLDs on a single chip and programmable interconnection structure CPLDs are manufactured by different manufacturers. Eg. XC9500 by Xilinx

27 Consists of PAL-like blocks, I/O blocks and a set of interconnection wires.
PAL-like blocks are connected to a set of interconnection wires and each block is also connected to an I/O block to which chip’s inputs and output pins are attached PAL like block usually consists of 16 macrocells. Each macrocell consists of an AND-OR configuration, an EX-OR gate, a flipflop, a mux, and a tristate buffer

28 Each AND-OR configuration usually consists of 5-20 AND gates and an OR gate with 5-20 inputs.
EX-OR gate is used to obtain the output of OR gate in inverted or non-inverted form A D FF stores the output of the EX-OR gate A mux selects either the output of the D FF or the output of the EX-OR gate depending upon its select input The tri state buffer acts as a switch which enables the chip’s pin to be used either as an output (tri-state enabled) or as an input (tristate disabled)

29 Block Diagram of CPLD

30 Microcell

31 Field Programmable Gate Array (FPGA)
CPLDs and SPLDs have basic architecture- that of PAL or PLA To increase the effective size and to add more functionality in a single programmable device , FPGA has been developed. Its logic density is higher than that of CPLD ( ranging from few thousands to hundreds of thousands equivalent gates) Large complex circuits can be implemented on FPGA Eg. Spartan from Xilinx.

32

33 FPGA Block diagram

34 Block Diagram- Explanation
It consists of CLBs (configurable logic blocks)- are organized as an array of rows and columns The logic blocks are connected to the I/O blocks through common row/column programmable interconnects The row/column interconnects are known as global interconnects A logic block consists of number of logic modules (LMs) The logic modules are the basic logic elements in an FPGA The logic modules within a CLB are connected through local programmable interconnects


Download ppt "Programmable Logic Devices"

Similar presentations


Ads by Google