This paper describes the design of a CMOS temperature sensor intended to compensate for the thermal effect of NAND Flash cells. The temperature sensor is mainly composed of a SENSOR part and COUNTER part. The SENSOR part generates a pulse (T PTAT ); its width is proportional to absolute temperature (PTAT). Futhermore, the clamped sensing scheme is used to eliminate the effects of temperature and process skew variation of sensing circuits. The COUNTER part converts T PTAT to digital codes. The proposed temperature sensor consumes a 0.017 µJ/sample at a conversion rate of 313 K sample/sec.