Design and Qualification of a High-Speed Low-Power Comparator in 40 nm CMOS Technology