A tool to increase yield for a SOC with Redundancy