Assignment:
S-R flipflops have a forbidden state that makes them hard to use. Some designers switched to the following flipflop instead. Fill in the timing diagram shown. Then, describe what the flipflop does in each of the cases of M and N (i.e explain what the output does for each combination of the inputs). Note that filling in this timing diagram will require you to do both Y and Q for each clock cycle before moving on to the next clock cycle.
Note that the S-R latch is active high.