Converting to just NANDs with DeMorgan's

  • Thread starter Thread starter Melawrghk
  • Start date Start date
AI Thread Summary
The discussion focuses on converting the Boolean expression a3'a1 + a3'a2 + a3'a0 + a3a2'a1'a0' into a circuit using only NAND and NOR gates, applying DeMorgan's Law. The initial transformation results in a complex expression that maintains the use of NAND and NOR gates but lacks aesthetic simplicity. Participants suggest drawing the circuit first with standard gates, then converting to NAND and NOR configurations, while removing redundant inverters. The goal is to achieve a cleaner NAND-NAND realization of the circuit. Overall, the conversation emphasizes the importance of circuit design clarity alongside logical correctness.
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.
 
Back
Top