How Do You Implement [(B+C)*D]' Using Only NAND Gates?

  • Thread starter Thread starter multiix
  • Start date Start date
AI Thread Summary
To implement the expression [(B+C)*D]' using only NAND gates, the transformation involves applying De Morgan's Theorems, which state that the negation of an AND operation can be expressed as an OR operation of the negated inputs, and vice versa. The initial expression can be rewritten as (B+C)' + D', leading to the realization that NAND gates can replace AND and OR gates by inverting inputs and outputs. Key strategies include moving inverting circles along the circuit and recognizing that a NOT gate can be created using a NAND gate with tied inputs. Visualizing the circuit with gate symbols can simplify the algebraic transformations needed. Understanding these principles is crucial for successfully implementing logic functions with NAND gates.
multiix
Messages
15
Reaction score
0

Homework Statement


Hi guys I need to implement [(B+C)*D]' in NAND only. can someone please help.

Homework Equations


The Attempt at a Solution


this is what i have.
[(B+C)*D]'=(B+C)'+D'=(B'C')+D' and i get stuck...can anyone please explain and help.

any good resources to teach/practice this?I just built a table and the result [(B'C')'*D]' worked. can anyone explain the algebra behind this?
I don't get what rule let's you go from B'C'+D' OR to AND since B'C' is not inverted all together (BC)' so it can't be treated as X' right?
 
Last edited:
Physics news on Phys.org
You can always prove the basic conversions of AND and OR to NAND and NOR versions of those gates using enumerated logic tables. Then use the those results as a basis for making algebraic substitutions. It's equivalent to memorizing a list of identities and knowing when to apply them.

You may find that the "algebra" is easier to do visually using the circuit symbols for the gates. You can pick out a few rules of thumb for transforming gates from one type to another by pondering the attached crib sheet.

attachment.php?attachmentid=39794&stc=1&d=1318184867.gif
 

Attachments

  • LOGIC.gif
    LOGIC.gif
    23.5 KB · Views: 772
That Helps a lot. Thank you
 
A couple of things to remember that helped me with these kinds of problems:

1 - Any AND or OR logic gate (including NAND and NOR) can be replaced with the opposite symbol if you invert ALL of its inputs and outputs (put an inverting circle at each point that doesn't already have one and remove any existing inverting circles).

2 - Inverting circles can be moved anywhere along the line it is connected to. For instance, if the output of a NAND gate feeds the input of another gate, the inverting circle can be "slid" away from the NAND (making it into an AND gate) and placed at the input of the gate it is connected to.

3 - A NOT gate (inverter) can be replaced by any NAND or NOR gate with all of its inputs tied together.


Hope that helps.
 
De Morgan's Theorem: A or B = not (notA and notB)
You may find this easier to remember if you NOT both sides, leaving
not (A or B) = notA and notB
... this is the NOR operation

You really only need to memorize one of De Morgans theorems. The other one is similar, but with operators swapped.

A and B = not (notA or notB)
or, taking NOT of both sides, you have:
NOT (A and B) = notA or notB
... that's the NAND operation
 
Back
Top