Abstract. This paper presents a simple method for generating multiwavelength using a nonlinear effect of cascaded intensity and phase modulators. Both of the modulators are driven by sinusoidal waveform. The multiwavelength lasing can be achieved by setting the ideal value of the amplitude of the sinusoidal waveform, and the flatness of the generated wavelengths can be improved by setting an optimum value of the direct current (DC) bias of intensity modulator. Moreover, single-mode fiber along with Raman scattering effect is needed to amplify and suppress the side bands; hence, a customized number of wavelengths can be achieved. Results show that more flatness wavelengths could be achieved when the DC bias to amplitude ratio is within the range (α ¼ 0.1 to 0.14). Moreover, α to phase modulator's voltage ratio should be 0.1. © The Authors. Published by SPIE under a Creative Commons Attribution 3.0 Unported License. Distribution or reproduction of this work in whole or in part requires full attribution of the original publication, including its DOI.