Determining which pulse came first on an FPGA
You need to use the transition of clocks to lock other out from changing.   







simulate this circuit &ndash; Schematic created using CircuitLab

Either locks out the other, unless both occur at the same time, where both latch with L_R_SELECT having precedence.

Reset clears flip-flops to start sequence.