How to determine minimum amount of AND and OR gates in PLA?

Click For Summary

Discussion Overview

The discussion revolves around determining the minimum number of AND and OR gates required to realize three specific functions using a Programmable Logic Array (PLA). Participants explore the concepts of PLA architecture and the necessary components for implementing the given functions.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • The original poster presents three functions and expresses confusion about how to begin solving the problem of realizing them with a PLA.
  • One participant suggests that additional gate types (NOT, NOR, NAND, XOR, XNOR) may be necessary to obtain complementary terms.
  • Another participant explains the structure of a PLA, noting that it consists of an AND plane and an OR plane, with the need for programmed connections between them.
  • A participant shares a link to a figure showing typical PLA architecture, questioning if it aligns with what has been discussed in class.
  • One participant recommends using Karnaugh maps (kmaps) to simplify the functions and suggests that having access to both the inputs and their inversions would facilitate finding a solution.
  • The original poster later expresses gratitude for the assistance received and indicates that they have gained a better understanding of the topic.

Areas of Agreement / Disagreement

Participants generally agree on the structure of a PLA and the need for AND and OR gates, but there is no consensus on the exact method to minimize the number of gates required for the specific functions. Multiple approaches and tools are suggested without a definitive resolution.

Contextual Notes

The discussion includes references to specific tools and methods (such as kmaps) for simplification, but the effectiveness of these methods in this context remains unresolved. There is also uncertainty regarding the availability of input inversions in the PLA.

Who May Find This Useful

Students or individuals studying digital logic design, particularly those interested in programmable logic arrays and combinational logic circuit design.

Peter Alexander
Messages
26
Reaction score
3

Homework Statement


Realization of given three functions
$$
\begin{array}{c} f_{1}=x_{1}\bar{x}_{2}\bar{x}_{3}+x_{2}x_{3}\bar{x}_{4}\\ f_{2}=\bar{x}_{3}x_{4}+x_{1}\bar{x}_{2}\bar{x}_{3}\\ f_{3}=x_{2}x_{3}\bar{x}_{4}+\bar{x}_{3}x_{4} \end{array}
$$
using the PLA.

Homework Equations


I don't know what to write here. Probably that according to Wikipedia, PLA should have ##2^n## AND Gates for ##n## input variables and for ##m## outputs from PLA, there should be ## OR Gates

The Attempt at a Solution


The thing is that I'm completely stuck on this problem and I don't even know how to begin. I do have a decent background in combinational logic circuits, but not in the PLA as I don't understand it at all. The solution, however, is known to be 3 AND and 3 OR gates.

Can someone please give me some information on how to begin solving this task? I don't think I need the full procedure, only some advice on where to begin or where to look.

Any sort of helpful information is welcomed.
 
Physics news on Phys.org
Are you sure this is the right question? You'll also need some NOT / NOR / NAND / XOR / XNOR gates. You need this to get the complementary terms. i.e x'
 
  • Like
Likes   Reactions: donpacino and Peter Alexander
Yes, double checked it. The thing is, it did take me awhile, but I think I understand how PLA works. It's composed of AND and OR plane. Input variables, in this particular case, are brought to the AND gates. Connections must be programmed. From AND gates connections lead to OR gates and those connections need to be programmed as well.

I don't know, however, how to produce the minimum amount of AND and OR gates.

Edit: the construction of PLA I'm mentioning comes DIRECTLY from how professor explained it to us. He never told us how to minimize the design, though.
 
Does this figure help? It kind of depends on the PLA, but this shows a typical architecture. Does it match the PLAs that you have been discussing in class?

https://courses.cs.washington.edu/courses/cse370/99sp/lectures/03-CombImpl/img048.gif
img048.gif
 

Attachments

  • img048.gif
    img048.gif
    13.3 KB · Views: 742
  • Like
Likes   Reactions: Peter Alexander
Peter Alexander said:
I don't know, however, how to produce the minimum amount of AND and OR gates.

If you have a decent background in digital logic you should know these things. see the website in the line below for tools you can use.
http://district.bluegrass.kctcs.edu/kevin.dunn/files/Simplification/4_Simplification_print.html

That being said, look into kmaps. By writing the solutions over 1 kmap, you may be able to find different ways to reduce across the three functions
3.

Also for this problem do you have access to both the input and the inversion of the input? (you should if its a good PLA). This will make it trivial to find the solution
 
  • Like
Likes   Reactions: Peter Alexander
I would like to thank both of you (sorry for the delayed response). I actually figured out how things work, and the links you provided, along with the replies, really helped a lot.

Thank you so much!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
5K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K