In: Computer Science
Implement the following logic function using 3-to-8 decoder (74138) and any necessary gates. (Hint: Express Q in minterms. Q = AB'C + A'C'+ BC'
Given that .
To express 'Q' in min terms we need to introduce the missing variable in second and third word of the equation.
because anding with 1 doesn't change the result (x.1=x)
AND
Remove the repeated terms.
Therefore these are minterms of the equation Q.
The 3-to-8 decoder consisting of 8 output lines and 3 selection lines. These 3 selection lines are used to select the 8 output lines.
We have three variables in the equation Q, these three variables are used as selection lines.
74138 is an active high decoder, it means it gives the output as zero(0) for the correct input, one(1) for remaining all incorrect input.
Therefore connect the output lines 0,2,5,6 with a NAND gate, and you will get the output as '1' if you give correct input.
The circuit diagram, for the correct input led glows.
For incorrect input the led turns off.