Cycle-accurate replay and debugging of running FPGA systems

US9418187B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9418187-B2
Application numberUS-201514940686-A
CountryUS
Kind codeB2
Filing dateNov 13, 2015
Priority dateNov 1, 2013
Publication dateAug 16, 2016
Grant dateAug 16, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

As described herein, a tool records a log (or trace) of all sources of non-determinism in the system. In most of the cases, it's enough to log all transitions and the exact timestamps at all the entry and exit points of the system. By using this information it is possible to recreate a cycle accurate execution of the hardware system in simulation. Unlike CHIPSCOPE and SIGNALTAP which let you monitor a small number of signals in the design, the tool provides visibility into the whole system.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for analyzing a hardware circuit implemented in a field-programmable gate array (FPGA), the method comprising: receiving by a computer a log from the FPGA, the log indicating a plurality of events that occurred in the FPGA and respective timestamps associated with the events; utilizing, by the computer, the log to replay a prior FPGA execution in a simulation, wherein the replay is based upon non-deterministic input data and timing information in the log, and wherein the replay is performed using a hardware description language (HDL) code which is the same as that used to configure the FPGA after synthesis; and outputting, by the computer, the simulation. 2. The method of claim 1 , further comprising: determining, by the FPGA, the plurality of events that occurred in the FPGA; associating, by the FPGA, a timestamp with each of the determined events; and creating, by the FPGA, the log of the events and respective timestamps. 3. The method of claim 1 , wherein the computer is a host computer. 4. The method of claim 3 , wherein the log is communicated to the host computer at a time selected from: (a) real-time, as a process progresses in the FPGA; (b) in a batch, after a process had completed in the FPGA; and (c) a combination thereof. 5. The method of claim 1 , wherein the replay of the prior FPGA execution in simulation is used for at least one of: (a) debugging; (b) performance analysis; and (c) a combination thereof. 6. The method of claim 1 , wherein a reproduction of the prior FPGA execution in simulation is a 100 percent clock cycle accurate reproduction. 7. The method of claim 1 , wherein the log during execution is stored in at least one of: (a) an internal memory of the FPGA; (b) a memory external to the FPGA; and (c) a combination thereof. 8. The method of claim 1 , wherein the simulation is output by the computer to a display. 9. A computer program product for analyzing a hardware circuit implemented in a field-programmable gate array (FPGA), the computer program product comprising: a first computer readable storage medium having program instructions embodied therewith, the program instructions of the first computer readable storage medium executable at least in part by a computer to cause the computer to perform a method comprising: receiving a log from the FPGA, the log indicating a plurality of events that occurred in the FPGA and respective timestamps associated with the events; utilizing the log to replay a prior FPGA execution in a simulation, wherein the replay is based upon non-deterministic input data and timing information in the log, and wherein the replay is performed using a hardware description language (HDL) code which is the same as that used to configure the FPGA after synthesis; and outputting the simulation. 10. The computer program product of claim 9 , further comprising a second computer readable storage medium having program instructions embodied therewith, the program instructions of the second computer readable storage medium executable at least in part by the FPGA to cause the FPGA to perform a method comprising: determining the plurality of events that occurred in the FPGA; associating a timestamp with each of the determined events; and creating the log of the events and respective timestamps. 11. The computer program product of claim 9 , wherein the computer is a host computer. 12. The computer program product of claim 11 , wherein the log is communicated to the host computer at a time selected from: (a) real-time, as a process progresses in the FPGA; (b) in a batch, after a process had completed in the FPGA; and (c) a combination thereof. 13. The computer program product of claim 9 , wherein the replay of the prior FPGA execution in simulation is used for at least one of: (a) debugging; (b) performance analysis; and (c) a combination thereof. 14. The computer program product of claim 9 , wherein a reproduction of the prior FPGA execution in simulation is a 100 percent clock cycle accurate reproduction. 15. The computer program product of claim 9 , wherein the log during execution is stored in at least one of: (a) an internal memory of the FPGA; (b) a memory external to the FPGA; and (c) a combination thereof. 16. The computer program product of claim 9 , wherein the simulation is output by the computer to a display.

Assignees

Inventors

Classifications

  • using finite element methods [FEM] or finite difference methods [FDM] · CPC title

  • Test of field programmable gate arrays [FPGA] · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

  • G06F30/343Primary

    Logical level · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9418187B2 cover?
As described herein, a tool records a log (or trace) of all sources of non-determinism in the system. In most of the cases, it's enough to log all transitions and the exact timestamps at all the entry and exit points of the system. By using this information it is possible to recreate a cycle accurate execution of the hardware system in simulation. Unlike CHIPSCOPE and SIGNALTAP which let you mo…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G01R31/318519. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 16 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).