Patent attributes
A programmable resistor is an e-fuse connecting to a source/drain of a MOS transistor. A voltage is provided to the gate of the MOS transistor to partially blow the programmable resistor. Following that, a resistance comparator is used to compare the resistance of the programmable resistor to a predetermined resistance. If the resistance of the programmable resistor conforms to the predetermined resistance, then the programmable resistor is set. If it does not conform to the predetermined resistance, then it is determined whether partially blowing it again would make it exceed the predetermined resistance. If it will exceed the predetermined resistance, then it is not blown again. If it will not exceed the predetermined resistance, then the resistor is partially blown again so as to approach the predetermined resistance.