Reliable control-circuit design