The forbidden state is the input combination that an SR latch is not designed to handle: S = 1 and R = 1 together. On a NAND SR latch it is = = 0.
What goes wrong:
- While it is applied, both outputs are forced to the same value: both 0 on a NOR latch, both 1 on a NAND latch. Q and are no longer complements, so the latch is not storing a sensible bit.
- When it is released, the outcome depends on how. If one input drops first, the latch passes through an ordinary set or reset, and the input that stayed active longer wins. If both drop at exactly the same moment, the two gates both try to switch, and whichever is a hair faster decides Q. That is a race, and the result is unpredictable.
How designers deal with it:
- Simply never apply it to a bare SR latch.
- Build circuits where it cannot happen. The gated D latch drives S = and R = , which are never both 1.
- Give the combination a useful meaning instead. The JK flip-flop turns J = K = 1 into toggle.
The same rule applies to asserting a flip-flop's preset and clear at once.