logo elektroda
logo elektroda
X
logo elektroda

Implementing an XOR Gate Using NAND Gates: De Morgan's Laws and Boolean Algebra

MMG 23262 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 12724444
    MMG
    Level 10  
    Hello.
    I'm trying to remember Boolean algebra and De Morgan's laws.

    And I have a problem with implementing an XOR gate using NAND gates.
    Especially with the transformation Q=A+B= ???

    I am attaching a combination of NAND gates that create an XOR gate
    Implementing an XOR Gate Using NAND Gates: De Morgan's Laws and Boolean Algebra

    I would be grateful if someone helped me ;)
  • ADVERTISEMENT
  • Helpful post
    #2 12724616
    fuutro
    Level 43  
    Where's the addition here, just looking at the diagram?
    Implementing an XOR Gate Using NAND Gates: De Morgan's Laws and Boolean Algebra

    By adding a few symbols, you can define logical states at various points in the system:
    Q1 = ~(A*B)
    Q2 = ~[A*~(A*B)] = ~(A*Q1)
    Q3 = ~[B*~(A*B)] = ~(B*Q1)
    Q = ~(Q2*Q3) = ~{~[A*~(A*B)]*~[B*~(A*B)]}

    http://pl.wikipedia.org/wiki/Prawa_De_Morgana
  • ADVERTISEMENT
  • Helpful post
    #3 12724636
    13adam13
    Level 29  
    It's not that simple, friends,
    Implementing an XOR Gate Using NAND Gates: De Morgan's Laws and Boolean Algebra
    Regards. :D
    PS: Sorry for the quality, but everyone should be able to understand it. :spoko:
  • ADVERTISEMENT
  • Helpful post
    #4 12724653
    fuutro
    Level 43  
    Since there is an imposed type of gates from which you build...
  • ADVERTISEMENT
  • #5 12724660
    13adam13
    Level 29  
    These gates are NANDs, not NOTs. :D
  • #6 12725235
    MMG
    Level 10  
    fuutro wrote:
    Where's the addition here, just looking at the diagram?
    Implementing an XOR Gate Using NAND Gates: De Morgan's Laws and Boolean Algebra

    By adding a few symbols, you can define logical states at various points in the system:
    Q1 = ~(A*B)
    Q2 = ~[A*~(A*B)] = ~(A*Q1)
    Q3 = ~[B*~(A*B)] = ~(B*Q1)
    Q = ~(Q2*Q3) = ~{~[A*~(A*B)]*~[B*~(A*B)]}

    http://pl.wikipedia.org/wiki/Prawa_De_Morgana


    No, it's not adding, it's expansive ;) XOR gate designation.

    Thank you so much for help ;)
ADVERTISEMENT