By YG algorithm, the diffraction of a 16-levels BOE is calculated for converting a He-Ne laser single-mode into TEM10 intensity distribution in one-dimensional case. The simulation results show that the relative average deviation of the designed intensity from the desired intensity is less than 1.0% when the input beam-waist deviation is not more than 0.03 mm.