Evaluate logic circuits