I have 2 digital inputs.I want to which input is high first.
Let the two inputs be A and B,
If A goes high first then B,I've to get output as high.if B is high first output should be low.can anyone tell me how to implement this logic using simple gates and flip flops?

