繁体   English   中英

如果我们知道另一个输入和最终结果,从“或”门的输出(按位“或”)取回输入(例如A)的最短逻辑是什么?

[英]What is the shortest logic to get back an input (say A) from an output of an OR gate (bitwise OR), if we know another input and the final result?

假设我知道一个输入B和一个输出A + B (A B),我可以用来得到另一个输入A的最短逻辑是什么?

你不一定能得到所有的东西

或门的逻辑表为

A  B  A+B
0  0   0
0  1   1
1  0   1
1  1   1

因此,如果您知道A + B为1且B为1,那么您将不知道A的值是多少。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM