# Simple Doubt in digital

370 views
Consider a simple OR gate with 2 inputs A and B, a ouput O which is taken back and reconnected to B as feedback.

Now, A=0 and B=0 so O=0. If we give A=1 for like 1 sec , O=1 and now if we turn off the power from the circuit ,

1.) will we get a infinite loop of energy kind of thing (in ideal case) since B=1 as previously O=1 .

2.) Can we ever set B=0 since O is connected to it and and O=1 (Assume a case when A=1,B=0 so O=1 , Now i quickly set A=0 , will this not automatically make B=1) ?

retagged

before power cut

a=1,O=1 that makes B=1

after power cut

gates are not storage device as latch

nothing is stored anywhere

when u give A=0,

it will make B=0

please correct me ,if i am wrong
0

Second Question:

Problem with your approach is you are confusing Gates with Flip Flops.

Gate output 1 doesn't mean it will store it forever.

But as soon as A = 0,

O will remain 1 until A = 0 input is propagated to O.

Hence, you will get B = 1 for very small time = propagation delay of  OR gate.

After that time, O = 0 and power at feedback will also return to 0.

## Related questions

1
316 views
What are the minimum number of nand or nor gates required for 2 bit adder ( ie. 4 input A,B,C,D) ?
Consider a $3-bit$ number $A$ and $2 bit$ number $B$ are given to a multiplier. The output of multiplier is realized using $AND$ gate and one-bit full adders. If the minimum number of $AND$ gates required are $X$ and one-bit full adders required are Y, then $X+Y =$ _______