reset logic

Thread Starter

kvsingh21

Joined Apr 15, 2008
63
i need some logic that can force the output to zero when the reset signal is active high. I was thinking about nand gate, but its output is active high even when the input is slow. I need something that gives output only when both input and reset are high.
 

mik3

Joined Feb 4, 2008
4,846
Use an AND gate whose output is high only when both inputs are high.
 

Thread Starter

kvsingh21

Joined Apr 15, 2008
63
XOR gives output high when input is low and reset is high. i want the output to be low in this case.
 

Thread Starter

kvsingh21

Joined Apr 15, 2008
63
RESET --IN --OUTPUT
--0----- 0----- 0
--0 -----1 -----1
--1----- 0 -----0
--1 -----1 -----0


This is what i actually want.
 

mik3

Joined Feb 4, 2008
4,846
Ok, use an AND gate and connect to one of its input a NOT gate. The Reset input will be on the NOT gate and the other input of the AND gate will be the In input.
 

Thread Starter

kvsingh21

Joined Apr 15, 2008
63
Thanks alot mate.
Ideally i would like comination of nand and inverters in any order. Any ideas?
 

mik3

Joined Feb 4, 2008
4,846
To implement an AND gate with NANDs take a NAND gate and connect its output to the input of a NOT gate and take your circuit output from the output of the NOT gate.
 

mik3

Joined Feb 4, 2008
4,846
If you want you can use only quad NAND gates IC and implement your logic function. In this way you wont need to put another IC which contains NOT gates on your PCB. Do do it replace each NOT gate mentioned until now with a NAND gate with its inputs connected together.
 
Top