A low-dropout regulator is provided that includes a filter and a bandgap
reference generator. The filter includes a resistive device and a
capacitor. The bandgap reference generator is coupled to the filter and
includes a resistive device controller. The resistive device controller
is operable to control the resistive device in the filter. The bandgap
reference circuit is operable to generate an unfiltered voltage
reference, and the filter is operable to generate a filtered voltage
reference based on the unfiltered voltage reference.