The use of a linearly chirped grating for chirp elimination is numerically and theoretically discussed.The characteristics of the chirped grating with inverse gaussian coupling profile are analyzed.The chirped grating is used to eliminate the chirp of the DFB laser.The theoretical results are in agreement with the numerical analysis.