Claims
- 1. A method for tracing real-time program execution within a processor, said method comprising the steps of:
- periodically generating one or more synchronizing events occurring in said processor, wherein said one or more synchronizing events signify a state of said processor;
- detecting a triggering event occurring in said processor;
- tracing instructions occurring after said one or more synchronizing events and before and after said triggering event; and
- providing said one or more synchronizing events, triggering event, and traced instructions externally from said processor.
- 2. The method as recited in claim 1, further comprising the steps of:
- storing said one or more synchronizing events and said traced instructions in a FIFO;
- serializing said one or more synchronizing events and said traced instructions; and
- transmitting said serialized one or more synchronizing events and traced instructions to a trace tool.
- 3. Thee method as recited in claim 2, wherein said step of periodically generating one or more synchronizing events further comprises the step of:
- copying contents of one or more registers embedded within said processor to said FIFO in response to a counter value.
- 4. A circuit for tracing real-time program execution within a processor comprising:
- circuitry for periodically generating one or more synchronizing events occurring in said processor wherein said one or more synchronizing events signify a state of said processor;
- circuitry for detecting a triggering event occurring in said processor;
- circuitry for tracing instructions occurring after said one or more synchronizing events and before and after said triggering event; and
- circuitry for providing said one or more synchronizing events, triggering event, and traced instructions externally from said processor.
CROSS-REFERENCE TO RELATED PATENT APPLICATION
This application for patent is related to U.S. patent application Ser. No. 08/283,128 entitled "A SYSTEM AND METHOD FOR PROGRAM EXECUTION TRACING WITHIN AN INTEGRATED PROCESSOR", now issued U.S. Pat. No. 5,809,293, which is hereby incorporated by reference herein.
US Referenced Citations (9)