摘要:
A current is generated from a reference voltage using an operational amplifier. The current is mirrored by a current mirror circuit to obtain a reference current. For example, the current mirror circuit includes a plurality of PMOS transistors. Based on the result of measurement of the reference current by an external monitor, the connection destination of the gate voltage of each of a plurality of mirror destination current source transistors is switched by an analog switch circuit between a power supply and the gate of a mirror source current source transistor, thereby changing the number of mirror destination current source transistors which are turned on, to change a current minor ratio. Thus, the current can be trimmed.