Patent ID: 8018246

Claim:
A device, comprising: a first circuit; an adjustment circuit performing an adjustment on a first impedance of the first circuit, the adjustment circuit discontinuing the adjustment on the first impedance while the first circuit is in an activated state; an impedance-adjustment control signal generating circuit that generates an impedance-adjustment control signal that inhibits the adjustment circuit from performing the adjustment on the first impedance, wherein the adjustment circuit comprises: a control circuit that initiates the adjustment on the first impedance in response to the impedance-adjustment control signal; a driver code generating circuit that generates a driver code: and a replica circuit that replicates the first circuit, wherein the driver code generating circuit that changes a second impedance of the replica circuit to have the second impedance close to a predetermined impedance value, the driver code generating circuit that generates the driver code, based on a configuration of the replica circuit, when the second impedance comes close to the predetermined impedance value, the driver code generating circuit that supplies the driver code to the first circuit after the first circuit is transitioned to a deactivated state from the activated state, wherein the impedance-adjustment control signal generating circuit transitions the impedance-adjustment control signal from a first logic level to a second logic level in response to a calibration command, and the impedance-adjustment control signal generating circuit transitions the impedance-adjustment control signal from the second logic level to the first logic level in response to a driver code generation terminating signal that is generated by the driver code generating circuit.