a current mirror circuit is provided . the circuit includes a resistor having a first terminal connected to a current source , a first transistor having a substrate electrode connected to a drain electrode thereof , a second transistor having a substrate electrode connected to the substrate electrode of the first transistor , a third transistor having a substrate electrode connected to the substrate electrode of the first transistor , and a fourth transistor having a drain electrode for providing an output current .