An optical top hat pulse generator controlled by solitons. The top hat generator
comprises a non-linear optical loop mirror (NOLM) that is fed by a continuous wave
(CW) optical signal and is controlled by incoming optical pulses comprising first
order solitons. The soliton regime for the incoming optical pulses is obtained
by choosing a fiber with the correct dispersion and by adjusting the peak power
of the control pulses.