IDEAS home Printed from https://ideas.repec.org/a/das/njaigs/v6y2024i1p409-429id267.html
   My bibliography  Save this article

Deep Reinforcement Learning-Based Automatic Test Case Generation for Hardware Verification

Author

Listed:
  • Jingyi Chen
  • Lei Yan
  • Shikai Wang
  • Wenxuan Zheng

Abstract

This paper presents a novel deep reinforcement learning-based framework for automatic test case generation in hardware verification. The proposed approach combines traditional verification methods with advanced deep learning techniques to enhance test coverage and security vulnerability detection. The framework incorporates a modified Deep Q-Network architecture with prioritized experience replay, integrated with static analysis and dynamic mutation strategies. The system utilizes a comprehensive reward mechanism that considers multiple coverage metrics, including line coverage, toggle coverage, FSM coverage, and security asset coverage. Experimental evaluation of diverse benchmark designs, including AES cores, RISC-V processors, and network controllers, demonstrates significant improvements over conventional methods. The results show an average coverage improvement of 17.2% and a 65% reduction in verification time compared to traditional approaches. The framework achieves 95.4% average coverage across benchmark designs and a 94.8% detection rate for security vulnerabilities. Additionally, the system demonstrates good scalability characteristics, maintaining performance efficiency across varying design complexities. The experimental results validate the effectiveness of the proposed approach in automating hardware verification processes while improving test coverage and security vulnerability detection capabilities.

Suggested Citation

  • Jingyi Chen & Lei Yan & Shikai Wang & Wenxuan Zheng, 2024. "Deep Reinforcement Learning-Based Automatic Test Case Generation for Hardware Verification," Journal of Artificial Intelligence General science (JAIGS) ISSN:3006-4023, Open Knowledge, vol. 6(1), pages 409-429.
  • Handle: RePEc:das:njaigs:v:6:y:2024:i:1:p:409-429:id:267
    as

    Download full text from publisher

    File URL: https://newjaigs.com/index.php/JAIGS/article/view/267
    Download Restriction: no
    ---><---

    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:das:njaigs:v:6:y:2024:i:1:p:409-429:id:267. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Open Knowledge (email available below). General contact details of provider: https://newjaigs.com/index.php/JAIGS/ .

    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.