java 逻辑表达式 布尔
将布尔表达式转换为逻辑电路 (Converting Boolean Expression to Logic Circuit)
The simplest way to convert a Boolean expression into a logical circuit is to follow the reverse approach in which we start from the output of the Boolean expression and reach towards the input.
将布尔表达式转换为逻辑电路的最简单方法是遵循相反的方法,在这种方法中,我们从布尔表达式的输出开始,然后向输入过渡。
Example1: Realize the Boolean Expression BC + A + (A + C) using AOI logic.
示例1:使用AOI逻辑实现布尔表达式BC + A + (A + C) 。
Solution:
解:
To realize this using the AOI logic gates, we will use the reverse approach.
为了使用AOI逻辑门来实现这一点,我们将使用相反的方法。
Step 1:
第1步:
Our expression BC + A + (A+C) is the summation of three terms BC, A and, (A+C), thus a 3-input OR Gate must have been used to obtain the expression as given :0
我们的表达BC + A +(A &