On-chip integrated zero-RAM frequency modulator for noise reduction and linewidth narrowing in discrete-mode lasers