Should I eliminate inputs in a logic circuit design?

空扰寡人 提交于 2019-12-11 10:16:57

问题


Recently I had an exam where we were tested on logic circuits. I encountered something on that exam that I had never encountered before. Forgive me for I do not remember the exact problem given and we have not received our grade for it; however I will describe the problem.

The problem had a 3 or 4 inputs. We were told to simplify then draw a logic circuit design for that simplification. However, when I simplified, I ended up eliminating the other inputs and ended up literally with just

A

I had another problem like this as well where there was 4 inputs and when I simplified, I ended up with three. My question is:

What do I do with the eliminated inputs? Do I just not have it on the circuit? How would I draw it?


回答1:


Typically an output is a requirement which would not be eliminated, even if it ends up being dependent on a single input. If input A flows through to output Y, just connect A to Y in the diagram. If output Y is always 0 or 1, connect an incoming 0 or 1 to output Y.

On the other hand, inputs are possible, not required, factors in the definition of the problem. Inputs that have no bearing on the output need not be shown in the circuit diagram at all.




回答2:


Apparently it not eliminating inputs but the resulted expression is the simplified outcome which you need to think of implementing with logic circuit.

As an example if you have a expression given with 3 inputs namely with the combination of A, B & c, possible literals can be 2^9 = 9 between 000 through 111. Now when you said your simplification lead to just A that mean, when any of those 9 input combinations will result in to value which contain by A.

An example boolean expression simplified to output A truth table is as follows,

 A B | Output = A 
------------------
 0 0 |     0
 0 1 |     0
 1 0 |     1
 1 1 |     1


来源:https://stackoverflow.com/questions/22354226/should-i-eliminate-inputs-in-a-logic-circuit-design

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!