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

  • Thread starter Thread starter multiix
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
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:
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: 806
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