The invention relates to the field of pulse
signal generation, and discloses an integer frequency
signal generation circuit and method for a
microprocessor, and the circuit comprises a flipping register, a frequency division register, a counter, a frequency
signal flipping module, an integer frequency calculation unit, and a time
delay unit. The integer frequency calculation unit is used for calculating the
delay series of the fractional part of the frequency division value when the enable signal 1 is valid, and sending the
delay series to the
delay unit; and the
delay unit is used for carrying out delay less than one
clock period on the frequency signal output by the frequency signal overturning module according to the delay series sent by the integer frequency calculation unit, and outputting an integer frequency signal. According to the integer frequency signal output circuit disclosed by the invention, the frequency division value and the delay series of the frequency division register are automatically changed through the integer calculation module and the delay series calculation module, and the delay series controls the one-out-of-256 selector to be used for selecting the frequency signal output of the corresponding delay module in the
delay unit, so that the generation of the integer frequency signal is realized.