How would I go about converting this Boolean expression so that it would only use NAND gates in its circuit?

A ⋅ ¬B ⋅ ¬D + ¬A ⋅ B ⋅ ¬C ⋅ D

  • \$\begingroup\$ Take deMorgan's on it. \$\endgroup\$ – StainlessSteelRat Dec 9 '18 at 22:17

If your expression was: \$f = ¬A ⋅ ¬B ⋅ C ⋅ D + A ⋅ B ⋅ ¬C\$

$$¬A ⋅ ¬B ⋅ C ⋅ D + A ⋅ B ⋅ ¬C$$ deMorgans: Invert expression, change + to ⋅ and invert terms.

$$\overline {\overline {¬A ⋅ ¬B ⋅ C ⋅ D} ⋅ \overline {A ⋅ B ⋅ ¬C}}$$

All NANDs.


Ok, so you have to apply deMorgan's theorem in order to have only NAND gates. I don't want to solve your expresion but I can give you an example: enter image description here will be enter image description here that will be enter image description here

So you have to invert the expressions and change + (OR) with * (AND) .


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.