Design of a Temperature-Compensated CMOS Relaxation Oscillator