IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0274515.html
   My bibliography  Save this article

Detraque: Dynamic execution tracing techniques for automatic fault localization of hardware design code

Author

Listed:
  • Jiang Wu
  • Zhuo Zhang
  • Jianjun Xu
  • Jiayu He
  • Xiaoguang Mao
  • Xiankai Meng
  • Panpan Li

Abstract

In an error-prone development process, the ability to localize faults is a crucial one. Generally speaking, detecting and repairing errant behavior at an early stage of the development cycle considerably reduces costs and development time. The debugging of the Verilog program takes much time to read the waveform and capture the signal, and in many cases, problem-solving relies heavily on experienced developers. Most existing Verilog fault localization methods utilize the static analysis method to find faults. However, using static analysis methods exclusively may result in some types of faults being inevitably ignored. The use of dynamic analysis could help resolve this issue. Accordingly, in this work, we propose a new fault localization approach for Verilog, named Detraque. After obtaining dynamic execution through test cases, Detraque traces these executions to localize faults; subsequently, it can determine the likelihood of any Verilog statement being faulty and sort the statements in descending order by suspicion score. Through conducting empirical research on real Verilog programs with 61 faulty versions, Detraque can achieve an EXAM score of 18.3%. Thus, Detraque is verified as able to improve Verilog fault localization effectiveness when used as a supplement to static analysis methods.

Suggested Citation

  • Jiang Wu & Zhuo Zhang & Jianjun Xu & Jiayu He & Xiaoguang Mao & Xiankai Meng & Panpan Li, 2022. "Detraque: Dynamic execution tracing techniques for automatic fault localization of hardware design code," PLOS ONE, Public Library of Science, vol. 17(9), pages 1-19, September.
  • Handle: RePEc:plo:pone00:0274515
    DOI: 10.1371/journal.pone.0274515
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0274515
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0274515&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0274515?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Na Qu & Wen You, 2021. "Design and fault diagnosis of DCS sintering furnace’s temperature control system for edge computing," PLOS ONE, Public Library of Science, vol. 16(7), pages 1-15, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      More about this item

      Statistics

      Access and download statistics

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0274515. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.