A model to achieve flat-top distribution of ultraviolet (UV) excimer laser is presented. Reserving the practically lossless superiority in the traditional diffraction approach, the method improves a diffraction grating with a controllable grating per