A light emitting device comprises a waveguide having an electrically
pumped gain region, a nonlinear medium, and an inclined mirror. Light
pulses emitted from the gain region are reflected by the inclined mirror
into the nonlinear medium in order to generate frequency-doubled light
pulses. The gain region and the inclined mirror are implemented on the
same substrate. The resulting structure is stable and compact, and allows
on-wafer testing of produced emitters. The folded structure allows easy
alignment of the nonlinear crystal.