SRDCLKQ
0 0 0 0 0
1 0 0 0 0
1 1 0 0 HIGH-Z
0 1 0 0 1
0 1 1 0 1
1 1 1 0 HIGH-Z
1 0 1 0 0
0 0 1 0 0
0 0 1 1 0
1 0 1 1 0
1 1 1 1 HIGH-Z
0 1 1 1 1
0 1 0 1 1
1 1 0 1 HIGH-Z
1 0 0 1 0
0 0 0 1 0
function: Q = (!S && R && !D && !CLK || !S && R && D && !CLK || !S && R && D && CLK || !S && R && !D && CLK)