Cross-compiled simulation timing backannotation
US5857093A · kind A · utility
Assignee
Inventor
Key dates
| Filing date | Sep 20, 1996 |
| Grant date | Jan 5, 1999 |
| Priority date | — |
| Expiry date | Sep 20, 2016 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3624
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and apparatus for simulating a microprocessor-based system produces simulations which are fast and which are accurate in terms of timing information produced. The source code is first compiled so as to produce a first program for a target microprocessor. Timing information is then extracted from the first program. The source code is compiled so as to produce a second program for a simulation microprocessor. The timing information is inserted into the second program, either directly or indirectly by way of the original source code. The second program thus has the timing information embedded therein and available for use by the simulation microprocessor, such that an output based on the timing information may be generated during the execution of the second program. A simulator which simulates execution of a first program by a target microprocessor comprises a simulation microprocessor and a second program. The second program is derived from a same source code program as the first program. Additionally, the second program has timing information embedded therein which pertains to the time required for a target microprocessor to execute individual portions of the first program.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.