Built-In Self Diagnosis Architecture for Logic Design