Collaborative error control method for sequential logic circuits