A switching regulator that includes a switching transistor configured to
control an output current by switching, a proportional current generator
configured to generate a current proportional to a current flowing
through the switching transistor, a first slope voltage generator
configured to generate a linear slope voltage, a second slope voltage
generator configured to generate a slope voltage having a secondary curve
characteristic by integrating the current proportional to the current
flowing through the switching transistor, and a slope voltage
compensation circuit to generate a superimposed slope voltage formed by
superimposing an output voltage of the first slope voltage generator on
an output voltage of the second slope voltage generator.