Converting to just NANDs with DeMorgan's

  • Thread starter Thread starter Melawrghk
  • 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
1 reply · 4K views
Melawrghk
Messages
140
Reaction score
0

Homework Statement


Convert a3'a1 + a3'a2 + a3'a0 + a3a2'a1'a0'

to an expression (well, it's a circuit eventually) that would only employ NAND and NOR gates. Use DeMorgan's Law.


Homework Equations


a'+b'=(ab)'

The Attempt at a Solution


I applied DeMorgan's as the problem suggested...

(a3'a1)''+(a3'a2)''+(a3'a0)'' + (a3a2'a1'a0')''

Which yielded:
( (a3'a1)' (a3'a2)' (a3'a0)' (a3a2'a1'a0')')'

This is in just NAND and NOR gates, but the circuit isn't really aesthetically appealing... Is there a simplifying trick I'm missing? Or is this just what it is supposed to be?

Thanks in advance!
 
Physics news on Phys.org
I would draw out the circuit first before doing any Boolean algebra using regular AND OR and INVERTER gates. Then when its all drawn, convert the AND and NOR gates to NAND and NOR. Put inverter circles on the inputs of the and OR gates to turn them into NANDs, and inverter circles on the output of the AND gates to turn them into NAND gates. Cancel out and redundant inverters. Should results in a full NAND-NAND realization of you circuit.