Implementation of second-order nonlinearities in semiconductor waveguides