An integrated circuit includes operational circuitry; a sensor configured
to sense an environmental parameter; and adjustment circuitry coupled to
the sensor and to the operational circuitry and configured to affect the
operational circuitry to at least partially counteract the effects of the
environmental parameter. A method of testing an integrated circuit
includes supporting a sensor in the integrated circuit and using the
sensor to sense environmental data.