×

Hardware and software co-simulation including simulating the cache of a target processor

  • US 6,263,302 B1
  • Filed: 01/26/2000
  • Issued: 07/17/2001
  • Est. Priority Date: 10/29/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A co-simulation design system for testing by simulation an electronic system on a host computer system, the electronic system including target digital circuitry, a target processor having a cache, and an accompanying user program to be executed on the target processor, the design system comprising:

  • a processor simulator using software executing on the host computer system for simulating execution of the user program on the target processor, the software including an analyzed version of the user program;

    a hardware simulator to simulate the target digital circuitry using software executing on the host computer system; and

    an interface mechanism that couples the hardware simulator with the processor simulator including controlling communication between the processor simulator and the hardware simulator, wherein the processor simulator includesa communication mechanism to communicate with the hardware simulator using the interface mechanism when an event requires interaction of the user program with the target digital circuitry, a cache simulator for simulating the operation of the cache;

    wherein determining the analyzed version of the user program includes;

    decomposing the user program into linear blocks and calculating the time delay that would be incurred by executing each linear block on the target processor, the time calculating incorporating target processor instruction timing, and identifying those parts of the user program that include one or more references that might require a cache lookup;

    such that executing the analyzed version of the user program;

    (i) causes the cache simulator to be invoked for at least one of the references that includes a memory reference that requires a cache lookup, invoking the cache simulator accounting for the effect of any cache misses on timing, and (ii) produces accurate timing information incorporating target processor instruction timing and cache effects.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×