A resistance compensation circuit and a method thereof for tuning
frequency, includes several resistors serially connected to one another,
several transistors, each of which connects across one of the
corresponding resistances, and a register electrically connected to the
gates of the transistors. A control signal controls the switching of the
transistors either to compensate the process variation of the resistance
through the register or to tune the working frequency of the Integrated
circuit.