16
م ق گاه ش ن ی دا ق ط ن مرهایرس مدا دhttp://lc-qom.blogfa.com / Programmable Logic ( PAL, PLA ) ی ن ا رخ" می ا% ن" سی ح وسط ت ده ه ش" ی ه ت ر" ی3 ب ک ر" میه ا گا ش ن ی دا ق ط ن مرهایرس مداهای د د" لای ش ر ا: ; ب ی ن ب مhttp://ceit.aut.ac.ir/~szamani/index_files/logic.htm

درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

  • Upload
    jada

  • View
    61

  • Download
    1

Embed Size (px)

DESCRIPTION

درس مدارهای منطقی دانشگاه قم http://lc-qom.blogfa.com / Programmable Logic (PAL, PLA) تهیه شده توسط حسین امیرخانی مبتنی بر اسلایدهای درس مدارهای منطقی دانشگاه امیرکبیر http://ceit.aut.ac.ir/~szamani/index_files/logic.htm. Symbols for OR gate. PLA (Programmable Logic Array). PLA. - PowerPoint PPT Presentation

Citation preview

Page 1: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

درس مدارهای منطقی دانشگاه قمhttp://lc-qom.blogfa.com/

Programmable Logic(PAL, PLA)

تهیه شده توسط حسین امیرخانیمبتنی بر اسالیدهای درس مدارهای منطقی دانشگاه امیرکبیر

http://ceit.aut.ac.ir/~szamani/index_files/logic.htm

Page 2: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

Symbols for OR gate

2

Page 3: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

3

PLA (Programmable Logic Array)

Page 4: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

4

PLA

A 3×2 PLA with 4 product terms

Page 5: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

5

PLA Pre-fabricated building block of many

AND/OR gates (or NOR, NAND)

General purpose logic building blocks

“Personalized” or “customized” by making/ breaking connections among the gates

This process is called “programming”

Page 6: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

6

PLA

Sums of Products

Inputs

Dense array of AND gates Product

terms

Dense array of OR gates

Outputs

Page 7: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

7

Design for PLA: Example Implement the following functions using PLA

Personality Matrix

1 = asserted in term0 = negated in term- = does not participate

Input Side:

1 = term connected to output0 = no connection to output

Output Side:

Outputs Inputs Product t erm A

1 - 1 - 1

B 1 0 - 0 -

C - 1 0 0 -

F 0 0 0 0 1 1

F 1 1 0 1 0 0

F 2 1 0 0 1 0

F 3 0 1 0 0 1

A B B C A C B C A

Page 8: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

8

A B C

F0 F1 F2 F3

AB

B’C

AC’

B’C’

A

Personality Matrix

Outputs Inputs Product t erm A

1 - 1 - 1

B 1 0 - 0 -

C - 1 0 0 -

F 0 0 0 0 1 1

F 1 1 0 1 0 0

F 2 1 0 0 1 0

F 3 0 1 0 0 1

A B B C A C B C A

Design for PLA: Example

Page 9: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

9

Constants

Sometimes a PLA output must be programmed to be a constant 1 or a constant 0.

Manufacturer MAY pull up the AND inputs:− P1 is always 1 is pulled

UP or HIGH.− This constant 1 term

drives the O1 output. Manufacturer MAY pull down

the OR inputs:− O2 is 0.

Another method of obtaining a constant-0 output is shown for O3.

Page 10: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

10

Inputs

Dense array of AND gates Product

terms

Dense array of OR gates

Outputs

PAL (Programmable Array Logic)

Sums of Products but with a fixed OR array

Page 11: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

11

PALinputs

1st output section

2nd output section

3rd output section

4th output section

Only functions withat most four products can be implemented

Page 12: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

12

Page 13: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

13

PAL

W = ABC + CDX = ABC + ACD + ACD + BCD Y = ACD + ACD + ABD

x

x

x

Page 14: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

14

Page 15: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

Final Remark

15

A Programmable Logic achieves higher flexibility at the cost of lower speed!

Page 16: درس مدارهای منطقی دانشگاه قم lc-qom.blogfa / Programmable Logic (PAL, PLA)

ارشد آزمون تمرین‌های

سؤال سال

13 1380

64 1386

68 1388

16