Automatic Window Repositioning Technique for Digital Window Comparator Used Within Mixed-Signal Design for Testability Schemes