Electronic – SR Latch/Racing

clockdigital-logicflipfloplatchlogic-gates

Following truth table resulted from the circuit below. SR(NOR) latch is used. I have tried several times to trace through the circuit to see how truth table values are produced but its not working. Can someone explain to me what is going on ? This circuit was introduced in conjunction with racing although I am not sure if it has anything to do with it.

NOTE: "CLOCK" appears as a straight line to show how its connected everything. It is a normal clock that oscillates between 1 and 0. (this is how my instructor drew it).
enter image description here

enter image description here

Best Answer

The input to the circuit has a race as the clock and the signal occur together. The input should have been set up on when clock is zero. Note how the input to the following latches are set up properly due to the fact the outputs of this type latch switch on clock going to zero.