Patent ID: 7904264

Claim:
A method, in an integrated circuit device, for determining a duty cycle of an input signal, comprising: receiving the input signal in a correction circuit which generates an output to a divider circuit coupled to the correction circuit based on the input signal; determining a setting of the correction circuit at which the divider circuit fails; and calculating a duty cycle of the input signal based on the setting of the correction circuit at which the divider circuit fails, wherein determining a setting of the correction circuit at which the divider circuit fails comprises: cycling through one or more of correction settings of the correction circuit until a first failure of the divider circuit is detected; determining a first pulse width based on a first correction setting at a point of the first failure of the divider circuit; generating an inverted form of the input signal; providing the inverted form of the input signal to the correction circuit; cycling through the one or more correction settings of the correction circuit until a second failure of the divider circuit is detected; determining a second pulse width based on a second correction setting at a point of the second failure of the divider circuit; and determining the duty cycle of the input signal based on a relationship of first pulse width and the second pulse width.