A window comparator indicates whether or not a signal is within a given voltage range for applications such as go/no-go testing. Normally, it requires two operational amplifiers and two voltage references, as well as an AND gate. Diode gating can considerably simplify the circuitry, reducing it to just one operational amplifier, a single voltage reference element, and a diode bridge.