In a conventional process of replacing the defective circuit with the spare circuit by the physical processing, it was necessary to take treatment externally other than the usual operation for diagnosing the failures and replacing the defecting circuit with the spare circuit.