An on-chip temperature sensor for an integrated circuit includes in one
embodiment a voltage/current source circuit that provides a reference
voltage and a current. A sense signal circuit receives the current of the
voltage/current source circuit and provides a sense signal corresponding
to the temperature of the integrated circuit. A reference signal receives
the reference voltage of the voltage/current source circuit and provides
a reference signal having a selectable value. A comparator compares the
sense signal of the sense signal circuit to the selectable reference
signal of the reference signal circuit and provides a temperature sensor
output signal.