Claims
- 1. An apparatus for testing a clock signal generator in a data processing system, said apparatus comprising:circuitry for receiving a clock signal; circuitry for receiving a reference clock signal; and circuitry for determining if transition edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time, wherein said determining circuitry further comprises: an XOR circuit receiving said clock signal and said reference clock signal wherein a counted number of cycles, in said predetermined period of time, of an output signal from said XOR circuit is compared to a predicted number.
- 2. The apparatus as recited in claim 1, wherein said transition edges are rising edges of said clock signal and said reference clock signal.
- 3. The apparatus as recited in claim 1, wherein said determining circuitry further comprises:an AND logic circuit receiving said output signal from said XOR circuit, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and a plurality of scannable shift registers coupled to an output of said AND logic circuit, said plurality of scannable shift registers receiving said reference signal.
- 4. The apparatus as recited in claim 1, wherein said clock signal is received from said data processing system and is equal to a multiple of said reference clock signal.
- 5. The apparatus as recited in claim 4, wherein said number of cycles is equal to said multiple when said clock signal generator is operating correctly.
- 6. The apparatus as recited in claim 1, further comprising:second circuitry for determining if said clock signal is a multiple of said reference clock signal by comparing said number of cycles of said clock signal occurring in said predetermined period of time to a second predicted number.
- 7. The apparatus as recited in claim 1, wherein said clock signal is skewed with respect to said reference clock signal if said number does not equal a predicted number.
- 8. An apparatus for testing a clock signal generator in a data processing system, said apparatus comprising:circuitry for receiving a clock signal; circuitry for receiving a reference clock signal; circuitry for determining if transition edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time; and second circuitry for determining if said clock signal is a multiple of said reference clock signal by comparing said number of cycles of said clock signal occurring in said predetermined period of time to a second predicted number, wherein said second determining circuitry further comprises: an AND logic circuit receiving said clock signal, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and a plurality of scannable shift registers coupled to an output of said AND logic circuit, said plurality of scannable shift registers receiving said reference signal.
- 9. A method for testing a clock signal generator in a data processing system, said method comprising the steps of:receiving a clock signal; receiving a reference clock signal; and determining if transition edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time, wherein said determining step further comprises the step of: receiving by an XOR circuit said clock signal and said reference clock signal, wherein a counted number of cycles, in said predetermined period of time, of an output signal from said XOR circuit is compared to a predicted number.
- 10. The method as recited in claim 9, wherein said transition edges are rising edges of said clock signal and said reference clock signal.
- 11. The method as recited in claim 9, wherein said determining step further comprises the steps of:receiving by an AND logic circuit said output signal from said XOR circuit, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and receiving said reference signal by a plurality of scannable shift registers coupled to an output of said AND logic circuit.
- 12. The method as recited in claim 9, wherein said clock signal is received from said data processing system and is equal to a multiple of said reference clock signal.
- 13. The method as recited in claim 12, wherein said number of cycles is equal to said multiple when said clock signal generator is operating correctly.
- 14. The method as recited in claim 9, further comprising the step of:determining if said clock signal is a multiple of said reference clock signal by comparing said number of cycles of said clock signal occurring in said predetermined period of time to a second predicted number.
- 15. The method as recited in claim 9, wherein said clock signal is skewed with respect to said reference clock signal if said number does not equal a predicted number.
- 16. A method for testing a clock signal generator in a data processing system, said method comprising the steps of:receiving a clock signal; receiving a reference clock signal; determining if transition edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time; and determining if said clock signal is a multiple of said reference clock signal by comparing said number of cycles of said clock signal occurring in said predetermined period of time to a second predicted number, wherein said step of determining if said clock signal is a multiple of said reference clock signal further comprises the steps of: receiving by an AND logic circuit said clock signal, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and receiving said reference signal by a plurality of scannable shift registers coupled to an output of said AND logic circuit.
- 17. An apparatus for testing a clock signal generator in a data processing system, said apparatus comprising:circuitry for receiving a clock signal; circuitry for receiving a reference clock signal; and circuitry for determining if transmission edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time, wherein said transmission edges are rising edges of said clock signal and said reference clock signal, said determining circuitry further comprising: an XOR circuit receiving said clock signal and said reference clock signal, wherein a counted number of cycles, in said predetermined period of time, of an output signal from said XOR circuit is compared to a predicted number; an AND logic circuit receiving said output signal from said XOR circuit, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and a plurality of scannable shift registers coupled to an output of said AND logic circuit, said plurality of scannable shift registers receiving said reference signal.
- 18. An apparatus for testing a clock signal generator in a data processing system, said apparatus comprising:circuitry for receiving a clock signal; circuitry for receiving a reference clock signal; circuitry for determining if transmission edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined time period; and second circuitry for determining is said clock signal is a multiple of said reference clock signal by comparing said number of cycles of said clock signal occurring in said predetermined period of time to a second predicted number, wherein said second determining circuitry further comprises: an AND logic circuit receiving said clock signal, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and a plurality of scannable shift registers coupled to an output of said AND logic gate, said plurality of scannable shift registers receiving said reference signal.
- 19. A method for testing a clock signal generator in a data processing system, said method comprising the steps of:receiving a clock signal; receiving a reference clock signal; and determining if transmission edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time, wherein said determining step further comprises the steps of: receiving by an XOR circuit said clock signal and said reference clock signal, wherein a counted number of cycles in said predetermined period of time of an output signal from said XOR circuit is compared to predicted number; receiving by an AND logic circuit said output signal from said XOR circuit, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and receiving said reference signal by a plurality of scannable shift registers coupled to an output of said AND logic circuit.
- 20. A method for testing a clock signal generator in a data processing system, said method comprising the steps of:receiving a clock signal; receiving a reference clock signal; determining if transmission edges of said clock signal and said reference clock signal are substantially aligned by counting a number of cycles of said clock signal occurring in a predetermined period of time; and determining if said clock signal is a multiple of said reference clock signal by comparing said number of cycles of said clock signal occurring in said predetermined period of time to a second predicted number, wherein said step of determining if said clock signal is a multiple of said reference clock signal further comprises the steps of: receiving by an AND logic circuit said clock signal, wherein said AND logic circuit also receives a reference signal dependent upon said predetermined period of time; and receiving said reference signal by a plurality of scannable shift registers coupled to an output of said AND logic circuit.
Parent Case Info
This is a X division of application Ser. No. 08/441,571 filed May 15, 1995 now U.S. Pat. No. 5,581,699.
US Referenced Citations (16)