2. B. SR Master-Slave Flip-Flop
a. Draw the logic diagram of SR master-slave flip-flop and implement it using logic gates.
b. Complete the logic simulation below for Y (the output of the master latch) and Q (the output of the slave latch) and show them in your implementation.
C
S
R
Y
Q