Claims
- 1. A method for simulating a source system having a plurality of source clocks to trigger a plurality of logic elements, comprising:
modeling the plurality of source clocks with a global clock; modeling a first one of the plurality of source clocks with a first clock mask and a first clock state; and evaluating at least one of the plurality of logic elements when the global clock generates a global clock pulse and updating the at least one of the plurality of logic elements based on the first clock mask and the first clock state.
- 2. The method of claim 1, further comprising:
modeling a second one of the plurality of source clocks with a second clock mask and a second clock state.
- 3. The method of claim 1, wherein the global clock generates the global clock pulse when at least one of the plurality of source clocks generates a source clock rising edge and when at least one of the plurality of source clocks generates a source clock falling edge.
- 4. The method of claim 1, wherein the first clock mask has a first binary value when the at least one of the plurality of source clocks generates a source clock rising edge and when the at least one of the plurality of source clocks generates a source clock falling edge.
- 5. The method of claim 1, wherein the clock state has a second binary value when the at least one of the plurality of source clocks is at a desired level.
- 6. The method of claim 1, wherein the at least one of the plurality of logic elements is updated when at least one of the plurality of source clocks generates a source clock edge.
- 7. The method of claim 1, wherein at least one of the plurality of logic elements is a positively triggered logic element, and wherein the at least one positively triggered logic element is updated when at least one of the plurality of source clocks generates a rising source clock edge.
- 8. The method of claim 1, wherein at least one of the plurality of logic elements is a negatively triggered logic element, and wherein the at least one negatively triggered logic element is updated when at least one of the plurality of source clocks generates a falling source clock edge.
- 9. A computer-readable medium having recorded thereon instructions executable by a processor, the instructions adapted to perform:
modeling the plurality of source clocks with a global clock; modeling a first one of the plurality of source clocks with a first clock mask and a first clock state; and evaluating at least one of the plurality of logic elements when the global clock generates a global clock pulse and updating the at least one of the plurality of logic elements based on the first clock mask and the first clock state.
- 10. The computer-readable medium of claim 9, further comprising:
modeling a second one of the plurality of source clocks with a second clock mask and a second clock state.
- 11. The computer-readable medium of claim 9, wherein the global clock generates the global clock pulse when at least one of the plurality of source clocks generates a source clock rising edge and when at least one of the plurality of source clocks generates a source clock falling edge.
- 12. The computer-readable medium of claim 9, wherein the first clock mask has a first binary value when the at least one of the plurality of source clocks generates a source clock rising edge and when the at least one of the plurality of source clocks generates a source clock falling edge.
- 13. The computer-readable medium of claim 9, wherein the clock state has a second binary value when the at least one of the plurality of source clocks is at a desired level.
- 14. The computer-readable medium of claim 9, wherein the at least one of the plurality of logic elements is updated when at least one of the plurality of source clocks generates a source clock edge.
- 15. The computer-readable medium of claim 9, wherein at least one of the plurality of logic elements is a positively triggered logic element, and wherein the at least one positively triggered logic element is updated when at least one of the plurality of source clocks generates a rising source clock edge.
- 16. The computer-readable medium of claim 9, wherein at least one of the plurality of logic elements is a negatively triggered logic element, and wherein the at least one negatively triggered logic element is updated when at least one of the plurality of source clocks generates a falling source clock edge.
- 17. A system configured to simulate a source system having a plurality of source clocks to trigger a plurality of logic elements, comprising:
a global clock replacing the plurality of source clocks; and a feedback multiplexer for a memory element of the source system, comprising:
a feedback wire, and a select signal associated with the plurality of source clocks, wherein the select signal determines whether an input signal or a feedback signal on the feedback wire is presented to the memory element.
- 18. The system of claim 17, wherein the global clock generates a global clock pulse when at least one of the plurality of source clocks generates a source clock rising edge and when at least one of the plurality of source clocks generates a source clock falling edge.
- 19. The system of claim 17, wherein the select signal causes the memory element to be loaded with the input signal when at least one of the plurality of source clocks generates a source clock edge.
- 20. The system of claim 17, wherein the memory element is a positively triggered memory element, and wherein the select signal causes the positively triggered memory element to be loaded with the input signal when at least one of the plurality of source clocks generates a rising source clock edge.
- 21. The system of claim 17, wherein the memory element is a negatively triggered memory element, and wherein the select signal causes the negatively triggered memory element to be loaded with the input signal when at least one of the plurality of source clocks generates a falling source clock edge.
- 22. The system of claim 17, wherein the memory element is a positively triggered memory element, and wherein the select signal causes the positively triggered memory element to be loaded with the feedback signal on the feedback wire when at least one of the plurality of source clocks is not generating a rising source clock edge.
- 23. The system of claim 17, wherein the memory element is a negatively triggered memory element, and wherein the select signal causes the negatively triggered memory element to be loaded with the feedback signal on the feedback wire when at least one of the plurality of source clocks is not generating a falling source clock edge.
- 24. A method for simulating a source system having a plurality of source clocks to trigger a plurality of logic elements, comprising:
means for modeling the plurality of source clocks with a global clock; means for modeling a first one of the plurality of source clocks with a first clock mask and a first clock state; and means for evaluating at least one of the plurality of logic elements when the global clock generates a global clock pulse and updating the at least one of the plurality of logic elements based on the first clock mask and the first clock state.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims benefit of U.S. Provisional Application Serial No. 60/305,997, filed Jul. 16, 2001, entitled “Multi-Clock System Simulation,” in the names of Liang T. Chen, Earl T. Cohen, Russell Kao, and Thomas M. McWilliams.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60305997 |
Jul 2001 |
US |