Design of a 10-Bit Successive Approximation Type Analog to Digital Converter Using TSMC 130nm CMOS Technology