We have already demonstrated that NAND and NOR gates are universal, and can be use to implement basic logic gates and boolean functions. In this part of the tutorial, we are going to implement a boolean function using NAND gates and NOR gates.
This will be the function I will use:
Code: Select all
ACD + A'BC + B'C'D- Implementing the function using NAND gates:
First of all, we need to get rid of the OR gate that's on the top level. The only way to do this is to negate the function so that we can apply DeMorgam's theorem:
Code: Select all
( ACD + A'BC + B'C'D )' -> (ACD)' * (A'BC)' * (B'C'D)'Code: Select all
( ACD + A'BC + B'C'D )'' -> ( (ACD)' * (A'BC)' * (B'C'D)' )'Code: Select all
(XXX * XXX * XXX)'Each of its input has the following structure:
Code: Select all
(XXX)'Code: Select all
( (ACD)' * (A'BC)' * (B'C'D)' )'- Implementing the function using NOR gates:
Just as we did with NAND we're going to take advantage of involution and DeMorgam's theorem to be able to implement it using NOR gates, but the procedure is different.
Code: Select all
ACD + A'BC + B'C'DCode: Select all
( ACD + A'BC + B'C'D )''Code: Select all
( (ACD)'' + (A'BC)'' + (B'C'D)'' )''Code: Select all
( (A'+C'+D')' + (A''+B'+C')' + (B''+C''+D')' )''( (A'+C'+D')' + (A+B'+C')' + (B+C+D')' )''
Now this is a NOR at top level with three inputs, each being other NORs, so we can already draw the circuit:
This concludes the part about universal logic gates, next up we'll learn about special gates: XOR and XNOR.
It'll be a quick lesson as there isn't much to understand about these two.
Previous: viewtopic.php?f=37&t=33895
Advertising