1 / 58

Programmable Logic Arrays (PLAs) and Tri-state Drivers: A Comprehensive Overview

This chapter provides a detailed explanation of common gates, open collector Schmitt triggers, and programmable logic arrays (PLAs). It also discusses the implementation of BCD to Excess-3 via PLAs, as well as the benefits and applications of tri-state drivers. The chapter further covers decoders, multiplexers, equality comparators, adders, and multipliers.

dianat
Download Presentation

Programmable Logic Arrays (PLAs) and Tri-state Drivers: A Comprehensive Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 5 2-23-09

  2. Read pages 311-337 much useful information such as common gates on page 329 Open collector Schmitt trigger

  3. Programmable Logic Arrays (PLAs) • Any combinational logic function can be realized as a sum of products. • Idea: Build a large AND-OR array with lots of inputs and product terms, and programmable connections. • n inputs • AND gates have 2n inputs -- true and complement of each variable. • m outputs, driven by large OR gates • Each AND gate is programmably connected to each output’s OR gate. • p AND gates (p<<2n The number of minterms)

  4. Example: 4x3 PLA, 6 product terms(Programmed by blowing fuses)

  5. PLD’s – PLA’s page 337-345Implement BCD to Excess-3. See page 49.

  6. BCD to Excess-3 via PLA O1 = (5,6,7,8,9;d,10,11,12,13,14,15) = I1’I2I3’I4 + I1’I2I3I4’+I1’I2I3I4 +I1I2’I3’I4’+ I1I2’I3’I4 O2 = (1,2,3,4,9;d,10,11,12,13,14,15) = I1’I2’I3’I4+ I1’I2’I3I4’+ I1’I2’I3I4+ I1I2’I3’I4’+ I1I2I3’I4’ O3 = (0,3,4,7,8;d,10,11,12,13,14,15) = I1’I2’I3’I4’+ I1’I2’I3I4+ I1’I2I3’I4’+ I1’I2I3I4+ I1I2’I3’I4’ O4 = (0,2,4,6,8;d,10,11,12,13,14,15) = I4’

  7. Some product terms

  8. PLA Electrical Design • See Section 5.3.5 -- wired-AND logic

  9. Programmable Array Logic (PALs) • How beneficial is product sharing? • Not enough to justify the extra AND array • PALs ==> fixed OR array • Each AND gate is permanently connected to a certain OR gate. • Example: PAL16L8

  10. 10 primary inputs • 8 outputs, with 7 ANDs per output • 1 AND for 3-state enable • 6 outputs available as inputs • more inputs, at expense of outputs • two-pass logic, helper terms • Note inversion on outputs • output is complement of sum-of-products • newer PALs have selectable inversion

  11. Decoders • General decoder structure • Typically n inputs, 2n outputs • 2-to-4, 3-to-8, 4-to-16, etc.

  12. Note “x” (don’t care) notation. Binary 2-to-4 decoder Y(I1, I0)

  13. 2-to-4-decoder logic diagram Y(I1, I0)

  14. MSI 2-to-4 decoder • Input buffering (less load) • NAND gates (faster) Y(B, A)

  15. Decoder Symbol Y(B, A)

  16. Complete 74x139 Decoder Y(B, A)

  17. More decoder symbols

  18. 3-to-8 decoder Y(C, B, A)

  19. 74x138 3-to-8-decoder symbol Y(C, B, A)

  20. Decoder cascading Y(C, B, A) 4-to-16 decoder

  21. More cascading 5-to-32 decoder

  22. Decoder applications • Microprocessor memory systems • selecting different banks of memory • Microprocessor input/output systems • selecting different devices • Microprocessor instruction decoding • enabling different functional units • Memory chips • enabling different rows of memory depending on address • Lots of other applications

  23. Tri-state drivers

  24. Three-state buffers • Output = LOW, HIGH, or Hi-Z. • Can tie multiple outputs together, if at most one at a time is enabled.

  25. Different flavors

  26. Only one Y can be low at a time.

  27. Three-state drivers

  28. Typical application of tri-state drivers – input port. INSELn’s are a function of Address signals. They may be obtained external to the microprocessor using a decoder (74LS138).

  29. Three-state transceiver Typical application – connected to microprocessor data buss to provide sufficient current drive for multiple memory and I/O (input and output) ports.

  30. Multiplexers – many inputs to one output.

  31. 74x1518-input multiplexer

  32. 74x151 truth table

  33. Logic design using multiplexer.

  34. Y X W

  35. 4-bit comparator EQ_L Equality Comparators • 1-bit comparator

  36. X Y Cin S Cout 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 Adders • Basic building block is “full adder” • 1-bit-wide adder, produces sum and carry outputs • Truth table:

  37. Full Adder

  38. Full-adder circuit Delay X, Y, Cin to Cout = 2. Delay X, Y to S = 2. Delay Cin to S = 1.

  39. Delay X, Y, Cin to Cout = 2. Delay X, Y to S = 2. Delay Cin to S = 1. Ripple adder • Speed limited by carry chain • Faster adders eliminate or limit carry chain • 2-level AND-OR logic ==> 2n product terms • 3 or 4 levels of logic, carry lookahead (see book). • Two’s complement subtraction: Invert and add 1.

  40. Multipliers • 8x8 multiplier

  41. Full-adder array

  42. Faster carry chain

  43. Read-Only Memories

More Related