CSCI 255 — SR latch

When S is set to 1, Q output will change to 1. When R is set to 1, Q output will change to 0. If both S and R is 1, the output of the latch is undefined.

Input Output
S R Q Q’
0 0 1 0