46.2k views
4 votes
Design a circuit that outputs a 1 when the bit pattern (101) has been applied to input, and 0 otherwise.

User Jlhuertas
by
5.8k points

1 Answer

5 votes

Answer:

see the attachment

Step-by-step explanation:

The circuit shown uses Nand and Nor gates to produce the desired logic. The input bits are numbered 0 to 2, right to left.

The logic is ...

out = ((b2·b0)' + b1)'

out = b2·b1'·b0

Design a circuit that outputs a 1 when the bit pattern (101) has been applied to input-example-1
User Ismet
by
5.6k points