Simulation and analysis of the coherent-dispersion spectrometer for exoplanet detection