CMOS low power digital and analog subthreshold temperature sensor design