31
Programmable Logic Design (PLD)

Programmable Logic Design (PLD)

Embed Size (px)

Citation preview

Page 1: Programmable Logic Design (PLD)

Programmable Logic Design (PLD)

Page 2: Programmable Logic Design (PLD)

Programmable Logic Device

• An IC that contains large amount of gates, flip flops and registers that are interconnected on a chip

• Can be configured by the user to perform a logic function

• Configured by programming of fuses

Page 3: Programmable Logic Design (PLD)

Problems of using standard ICs

• Require hundreds or thousands of ICs

• Require large board space

• Requires large amount of time and cost in inserting, soldering and testing

Page 4: Programmable Logic Design (PLD)

Advantages of using PLD

• Less board space

• Faster in designing

• Higher reliability

Page 5: Programmable Logic Design (PLD)

ANDArray

ORArray

Input Output

Introduction

Page 6: Programmable Logic Design (PLD)
Page 7: Programmable Logic Design (PLD)
Page 8: Programmable Logic Design (PLD)

Classification of PLD

• Programmable Array Logic (PAL)

• Programmable Logic Array (PLA)

• Programmable Read Only Memory (PROM)

• Complex Programmable Logic Device (CPLD)

• Field Programmable Gate Array (FPGA)

Page 9: Programmable Logic Design (PLD)

Programmable Array Logic(PAL)

Page 10: Programmable Logic Design (PLD)

ANDArray

ORArray

Programmable Fixed

Input Output

Programmable Array Logic (PAL)

The output comes back as an input

Programmable Fixed

Page 11: Programmable Logic Design (PLD)

4 input, 4 output, 3 AND-OR Structure

Page 12: Programmable Logic Design (PLD)

Example of a PAL Design

Example: Design a PAL

W(A,B,C,D) = ∑m(2,12,13)

X(A,B,C,D) = ∑m(7,8,9,10,11,12,13,14,15)

Y(A,B,C,D) = ∑m(0,2,3,4,5,6,7,8,10,11,15)

Z(A,B,C,D) = ∑m(1,2,8,12,13)

Page 13: Programmable Logic Design (PLD)

CD

AB00 01 11 10

00 101

11 1 110

CD

AB00 01 11 10

00 1 1 101 1 1 1 111 110 1 1 1

CD

AB00 01 11 10

00 1 101

11 1 110 1

CD

AB00 01 11 10

00

01 111 1 1 1 110 1 1 1 1

Page 14: Programmable Logic Design (PLD)

W = ABC’ + A’B’CD’

X = A + BCD

Y = A’B + CD + B’D’

Z = AC’D’ + A’B’C’D + ABC’ + A’B’CD’

= W + AC’D’ + A’B’C’D

Page 15: Programmable Logic Design (PLD)
Page 16: Programmable Logic Design (PLD)
Page 17: Programmable Logic Design (PLD)

Limitations

• Even if the terms are repetitive they cant be reused as the AND outputs are fixed therefore it is not possible to share the AND outputs.

Page 18: Programmable Logic Design (PLD)

Programmable Logic Array(PLA)

Page 19: Programmable Logic Design (PLD)

ANDArray

ORArray

Programmable Programmable

Input Output

Programmable Logic Array (PLA)

Implements SOP

Programmable Fixed

Page 20: Programmable Logic Design (PLD)

PLA

• The output and its compliment are available.

• Any SOP can be implemented

• But it should be seen to it that the terms are shared to the maximum extent.

• Only limitations is the number of AND gates available.

Page 21: Programmable Logic Design (PLD)

Example of PLA Design

Design a PLA circuit :

W(A,B,C,D) = ∑m(3,7,8,9,11,15)

X(A,B,C,D) = ∑m(3,4,5,7,10,14,15)

Y(A,B,C,D) = ∑m(1,5,7,11,15)

Page 22: Programmable Logic Design (PLD)

CD

AB00 01 11 10

00 101 111 110 1 1 1

CD

AB00 01 11 10

00 101 1 1 111 1 110 1

CD

AB00 01 11 10

00 101 1 111 110 1

Page 23: Programmable Logic Design (PLD)

W = A’CD + ACD + AB’C’

X = A’BC’ + A’CD + BCD + ACD’

Y = A’C’D + BCD + ACD

Page 24: Programmable Logic Design (PLD)

Exercise

Design the following using PAL and PLA

F1(A, B, C) = ∑m(3,5,6,7)

F2(A, B, C) = ∑m(0,2,4,7)

Page 25: Programmable Logic Design (PLD)

Programmable Read Only Memory (PROM)

Page 26: Programmable Logic Design (PLD)

ANDArray

ORArray

Fixed (Decoder) Programmable

Input Output

Programmable Read Only Memory (PROM)

Implements Sum of Min-terms

Programmable Fixed

Page 27: Programmable Logic Design (PLD)

32 x 8 ROM

Page 28: Programmable Logic Design (PLD)

Design a circuit using ROM whcich accepts a 3 bit binary no. and outputs the square of the number

Page 29: Programmable Logic Design (PLD)

B0 = A0

B1 = 0

B2 = ∑m(2,6)

B3 = ∑m(3,5)

B4 = ∑m(4,5,7)

B5 = ∑m(6,7)

Page 30: Programmable Logic Design (PLD)
Page 31: Programmable Logic Design (PLD)