How to get equivalent behaviour of NOR and Nand gates, by making changes on the input side, when their inputs are attached

digital-logic

I have two input NAND and NOR gates, I have attached their inputs and they both give the same result as the NOT gate, that is the inverter. Now i want to make further changes at the input side, so that their result is equivalent. I have tried alot making changes in the input side, adding gates and inverters, but I am not getting the same output. Can anyone suggest something?enter image description here
enter image description here

Best Answer

To make the NAND gate act identically to the NOR gate you have to attach an inverter to each input of the NAND gate and an inverter to the output of the NAND gate.

To make the NOR gate act identically to the NAND gate you have to attach an inverter to each input of the NOR gate and an inverter to the output of the NOR gate.

In order to understand why this is the case you need to understand how a Truth Table works for logic gates. If you don't know how a Truth Table relates to logic gates and logic design, you need to learn this. Lots of on-line resources to do so.

Once you learn how to use a Truth Table to represent logic gate functionality, then you will appreciate DeMorgan's Law. DeMorgan's Law explains a basic illusion of logic gates. Many beginners are fooled by this illusion. DeMorgan will explain this illusion and allow you to think logically about digital logic gates. The illusion relates directly to your question and more generally to the effect of inverting inputs and outputs of logic gates.

Who is this guy DeMorgan? He was a French mathemetician that died about 200 years ago. Did he have Nor gates and Nand gates too? Not likely, since it is known that he did not have a DigiKey account.