摘要 |
<p>The present invention discloses a method for clock frequency division, the method comprises: determining a current frequency division coefficient in real time according to input clock signals and output clock information; then, performing counting on the input clock signals according to an integer portion and a decimal portion of the frequency division coefficient and a decimal scale threshold of the decimal portion; and performing accumulation on the decimal portion according to the counting result; finally, controlling the output clock according to the counting result and the accumulation result. The present invention also discloses an apparatus for clock frequency division. With the method and the apparatus provided in the present invention, output signals can be adjusted dynamically according to input signals, and the bit width of the integer portion and the decimal portion of the frequency division coefficient and the decimal scale threshold of the decimal portion can be increased on demand, so that the precision of the frequency division coefficient can be adjusted.</p> |