Article View: aus.computers.logic-prog
Article #461Re: Help on NAND gates
From: Alberto Rodriguez Prieto
Date: Tue, 06 May 1997 00:00
Date: Tue, 06 May 1997 00:00
39 lines
1939 bytes
1939 bytes
On Tue, 06 May 1997 15:47:08 +0800, felixmeister <gaynos@icenet.com.au> wrote: >Can anyone please help with a problem. > >How can you show that any minimal AND/OR circuit can be replaced by an >equivalent circuit that uses the same number of NAND gates as in the >AND/OR circuit and no logic gates of any other kind. > >regards > >Andrew Poli Just use the DeMorgan theorem: to get the complement of an expression, complement all the terms in it, and change AND for OR and OR for AND. I don't know if this is clear enough. For example: Let's say we have the AND/OR expression: (A*B)+(C*D) If we complement it twice, we get the same result: ((A*B)+(C*D))'' Now, using the inner negation and DeMorgan theorem, we get the expression: ((A*B)' * (C*D)')' And this expression simply states: (A NAND B) NAND (C NAND D) And there it is. We have three NAND gates were we had 2 AND and 1 OR I think that was your question. If you want anything moe, just ask. Alberto Rodriguez Prieto alberto_rp@iponet.es Madrid. Spain
Technical Details
Message-ID:
<336f86c5.15468501@noticias.ibernet.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<336EE1FC.76A5@icenet.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd9bd,83f2e73c9bdcc7dd X-Google-Attributes: gidfd9bd,public X-Google-Thread: 115730,83f2e73c9bdcc7dd X-Google-Attributes: gid115730,public X-Google-Thread: 107cee,83f2e73c9bdcc7dd X-Google-Attributes: gid107cee,public X-Google-Thread: 112d1e,83f2e73c9bdcc7dd X-Google-Attributes: gid112d1e,public X-Google-Thread: 111d0a,83f2e73c9bdcc7dd X-Google-Attributes: gid111d0a,public From: alberto_rp@iponet.es (Alberto Rodriguez Prieto) Subject: Re: Help on NAND gates Date: 1997/05/06 Message-ID: <336f86c5.15468501@noticias.ibernet.es> X-Deja-AN: 239853319 References: <336EE1FC.76A5@icenet.com.au> Organization: Unisource Espana NEWS SERVER Reply-To: alberto_rp@iponet.es Newsgroups: aus.computers.logic-prog,sci.electronics.equipment,sci.electronics.misc,sci.electronics.design,sci.electronics.basics