Transcript
Page 1: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

• Can be programmed by the users as per their requirement

• Large circuit is designed on a single chip

• Possible to implement a combinational or sequential circuit using the PLD

• Consist of array of NOT, AND and OR gates

• Any Boolean function can be represented by sum of the product form.

PLD (Programmable Logic Device)

Page 2: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

PLDs

2

OR Array

AND Array

n Input Lines

N Buffer/ Inverters

n Product –term lines

m output Lines

Page 3: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

• PROM (Programmable read only memory)

• PLA ( programmable logic array)

• PAL ( Programmable array logic)

• GAL (Generic array logic)

• PEEL (Programmable Electrically Erasable Logic)

• CPLDs ( Complex programmable logic device)

• FPGA ( Field programmable gate array)

Types of PLD

Page 4: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

Device AND Array OR Array

ROM Fixed Programmable

PLA Programmable Programmable

PAL Programmable Fixed

GAL Programmable Fixed

Programmable Array

Page 5: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

• Consider a ROM with m outputs (the address lines) and n inputs (the data lines).

• When used as a memory, the ROM contains words of n bits each

ROM as PLD

Page 6: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

• PROMs (programmable ROMs),

• EPROMs (ultraviolet-erasable PROMs)

• EEPROMs (electrically erasable PROMs)

TYPES

Page 7: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

7

Programmable ROM (PROM)

2 N x M

ROM

N input m output

Address: m bits; data: n bits ROM contains 2

N word of M bit each

The input bits decide the particular word that becomes available

on output lines

Page 8: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

– A ROM (Read Only Memory) has a fixed AND plane and a programmable OR plane

– Size of AND plane is 2n where n = number of input pins • Has an AND gate for every possible minterm so that all input

combinations access a different AND gate

– OR plane dictates function mapped by the ROM

Page 9: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

22x4 bit ROM has 4 addresses that are decoded

4x4 ROM

3 d 2 d 1 d 0

2 -to-4

decoder

a 0

a 1

d

Page 10: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

ROM Types

Programmable PROM ◦ Break links through current pulses ◦ Write once, Read multiple times

Erasable PROM (EPROM) ◦ Program with ultraviolet light ◦ Write multiple times, Read multiple times

Electrically Erasable PROM (EEPROM)/ Flash Memory ◦ Program with electrical signal ◦ Write multiple times, Read multiple times

Page 11: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

Combinational Circuit Implementation using PROM

0 0 0 1 0 0

0 0 1 0 1 0

0 1 0 0 1 1

0 1 1 1 0 0

1 0 0 0 1 0

1 0 1 0 0 1

1 1 0 1 0 0

1 1 1 0 1 0

I0 I1 I2 F0 F1 F2

F0 F1 F2

Page 12: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

– Use to implement circuits in SOP form

– The connections in the AND plane are programmable

– The connections in the OR plane are programmable

Programmable Logic Array (PLA)

f 1

AND plane OR plane

Input buffers

inverters and

P 1

P k

f m

x 1 x 2 x n

x 1 x 1 x n x n

Page 13: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

Gate Level Version of PLA

f 1

P 1

P 2

f 2

x 1 x 2 x 3

OR plane

Programmable

AND plane

connections

P 3

P 4

f1 = x1x2+x1x3'+x1'x2'x3

f2 = x1x2+x1'x2'x3+x1x3

Page 14: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

Customary Schematic of a PLA

f1 = x1x2+x1x3'+x1'x2'x3

f2 = x1x2+x1'x2'x3+x1x3

f 1

P 1

P 2

f 2

x 1 x 2 x 3

OR plane

AND plane

P 3

P 4

x marks the connections left in place after programming

Page 15: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

– Also used to implement circuits in SOP form

– The connections in the AND plane are programmable

– The connections in the OR plane are NOT programmable

Programmable Array Logic (PAL)

f 1

AND plane OR plane

Input buffers

inverters and

P 1

P k

f m

x 1 x 2 x n

x 1 x 1 x n x n

Page 16: PLD (Programmable Logic Device) - Dronacharyaggn.dronacharya.info/CSEDept/Downloads/QuestionBank...PLD (Programmable Logic Device) PLDs 2 OR Array AND n Array Input Lines N Buffer

Example Schematic of a PAL

f 1

P 1

P 2

f 2

x 1 x 2 x 3

AND plane

P 3

P 4

f1 = x1x2x3'+x1'x2x3

f2 = x1'x2'+x1x2x3


Recommended