An optical frequency comb having ~ 40 equally spaced frequency lines with 6 dB power deviation is proposed using serially connected LiNbO3 Mach-Zehnder modulator. Semiconductor optical amplifier is employed to get equally spaced and flat optical spectrum. The broadness of ultrashort pulse is enhanced by variation in various factors such as confinement factor and differential gain of SOA. The periodicity of input electrical and central wavelength of optical signal is controlled by tuning frequency and line spacing of equally spaced lines of comb.