SR Schematic

One bit of the switch register:



Common gating logic: