{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,28]],"date-time":"2026-10-28T16:48:20Z","timestamp":1793206100996,"version":"4.5.0"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2025,4,12]],"date-time":"2025-04-12T00:00:00Z","timestamp":1744416000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["61902421"],"award-info":[{"award-number":["61902421"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Des. Autom. Electron. Syst."],"published-print":{"date-parts":[[2025,5,31]]},"abstract":"<jats:p>\n            The maintenance of quality and reliability in hardware products inherently relies on the verification of hardware code. Despite being a time-consuming process, the localization of faults in hardware code is essential for effective hardware verification. Dynamic fault localization (DFL) is considered one of the most effective methods for localizing faults. It utilizes coverage information, known as the coverage matrix, which is obtained from both passing and failing tests, to identify the program elements that are most likely responsible for observed failures in hardware programming languages such as VHDL or Verilog. However, the presence of error propagation, numerous fault-irrelevant statements, and highly imbalanced coverage information pose significant challenges for DFL. In this article, we propose Canal, a\n            <jats:underline>C<\/jats:underline>\n            ontext-\n            <jats:underline>a<\/jats:underline>\n            ware data augme\n            <jats:underline>n<\/jats:underline>\n            tation\n            <jats:underline>a<\/jats:underline>\n            pproach for dynamic fau\n            <jats:underline>l<\/jats:underline>\n            t localization in hardware code, to address these challenges. Canal effectively overcomes these challenges by leveraging in-time detection to prevent error propagation and utilizing program slicing to construct a semantic context that filters out fault-irrelevant statements. Additionally, it employs over-sampling techniques to balance the coverage information of passing and failing tests. Finally, the balanced coverage matrix is fed into DFL to compute the suspiciousness value of each statement. To evaluate the effectiveness of Canal, we conduct large-scale experiments on 10 programs and compare our method with 10 dynamic fault localizations. The experimental results clearly demonstrate that Canal surpasses the performance of all the compared DFL methods; e.g., Canal achieves an average improvement of 148.2% in Top-1 accuracy compared to the evaluation formulas.\n          <\/jats:p>","DOI":"10.1145\/3725889","type":"journal-article","created":{"date-parts":[[2025,3,25]],"date-time":"2025-03-25T12:20:20Z","timestamp":1742905220000},"page":"1-20","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Context-aware Data Augmentation for Hardware Code Fault localization"],"prefix":"10.1145","volume":"30","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3896-6938","authenticated-orcid":false,"given":"Jian","family":"Hu","sequence":"first","affiliation":[{"name":"Chongqing University, Chongqing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0001-5085-1378","authenticated-orcid":false,"given":"Zhenlei","family":"Liu","sequence":"additional","affiliation":[{"name":"Chongqing University, Chongqing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,4,12]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"crossref","first-page":"39","DOI":"10.1109\/PRDC.2006.18","volume-title":"2006 12th Pacific Rim International Symposium on Dependable Computing (PRDC\u201906)","author":"Abreu Rui","year":"2006","unstructured":"Rui Abreu, Peter Zoeteweij, and Arjan J. C. Van Gemund. 2006. An evaluation of similarity coefficients for software fault localization. In 2006 12th Pacific Rim International Symposium on Dependable Computing (PRDC\u201906). 39\u201346."},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.5555\/1308173.1308264"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1145\/3503222.3507763"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/DAC18074.2021.9586289"},{"key":"e_1_3_1_6_2","doi-asserted-by":"crossref","unstructured":"Nitesh V. Chawla Kevin W. Bowyer Lawrence O. Hall and W. Philip Kegelmeyer. 2002. SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research 16 1 (2002) 321\u2013357.","DOI":"10.1613\/jair.953"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2009.09.037"},{"key":"e_1_3_1_8_2","first-page":"2814","volume-title":"Proceedings of the AAAI Conference on Artificial Intelligence","volume":"34","author":"Feldman Alexander","year":"2020","unstructured":"Alexander Feldman, Ingo Pill, Franza Wotawa, Ion Matei, and Johan de Kleer. 2020. Efficient model-based diagnosis of sequential circuits. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 34. 2814\u20132821."},{"key":"e_1_3_1_9_2","first-page":"87","article-title":"Verilog HDL and its ancestors and descendants","volume":"4","author":"Flake Peter","year":"2020","unstructured":"Peter Flake, Phil Moorby, Steve Golson, Arturo Salz, and Simon Davidmann. 2020. Verilog HDL and its ancestors and descendants. Proceedings of ACM Programming Languages 4, HOPL (June2020), Article 87, 90 pages.","journal-title":"Proceedings of ACM Programming Languages"},{"key":"e_1_3_1_10_2","first-page":"1","volume-title":"2015 52nd ACM\/EDAC\/IEEE Design Automation Conference (DAC\u201915)","author":"Foster Harry D.","year":"2015","unstructured":"Harry D. Foster. 2015. Trends in functional verification: A 2014 industry study. In 2015 52nd ACM\/EDAC\/IEEE Design Automation Conference (DAC\u201915). 1\u20136."},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0004-3702(99)00034-X"},{"key":"e_1_3_1_12_2","first-page":"288","volume-title":"2013 13th International Conference on Quality Software","author":"Gao Yichao","year":"2013","unstructured":"Yichao Gao, Zhenyu Zhang, Long Zhang, Cheng Gong, and Zheng Zheng. 2013. A theoretical study: The impact of cloning failed test cases on the effectiveness of fault localization. In 2013 13th International Conference on Quality Software. 288\u2013291."},{"key":"e_1_3_1_13_2","first-page":"179","volume-title":"2020 IEEE 38th International Conference on Computer Design (ICCD\u201920)","author":"Goli Mehran","year":"2020","unstructured":"Mehran Goli, Alireza Mahzoon, and Rolf Drechsler. 2020. ASCHyRO: Automatic fault localization of SystemC HLS designs using a hybrid accurate rank ordering technique. In 2020 IEEE 38th International Conference on Computer Design (ICCD\u201920). 179\u2013186."},{"key":"e_1_3_1_14_2","doi-asserted-by":"crossref","first-page":"470","DOI":"10.1109\/COMPSACW.2012.89","volume-title":"2012 IEEE 36th Annual Computer Software and Applications Conference Workshops","author":"Gong Cheng","year":"2012","unstructured":"Cheng Gong, Zheng Zheng, Wei Li, and Peng Hao. 2012. Effects of class imbalance in test suites: An empirical study of spectrum-based fault localization. In 2012 IEEE 36th Annual Computer Software and Applications Conference Workshops. 470\u2013475."},{"key":"e_1_3_1_15_2","doi-asserted-by":"crossref","first-page":"1322","DOI":"10.1109\/IJCNN.2008.4633969","volume-title":"2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence)","author":"He Haibo","year":"2008","unstructured":"Haibo He, Yang Bai, Edwardo A. Garcia, and Shutao Li. 2008. ADASYN: Adaptive synthetic sampling approach for imbalanced learning. In 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence). 1322\u20131328."},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2008.239"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1002\/spe.2703"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/3282307"},{"key":"e_1_3_1_19_2","article-title":"Semantic context based coincidental correct test cases detection for fault localization","volume":"68","author":"Hu Jian","year":"2024","unstructured":"Jian Hu. 2024. Semantic context based coincidental correct test cases detection for fault localization. Automated Software Engineering 68 (2024). Elsevier.","journal-title":"Automated Software Engineering"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2023.111900"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2024.107409"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2023.107148"},{"key":"e_1_3_1_23_2","doi-asserted-by":"crossref","first-page":"148","DOI":"10.1109\/TEST.2002.1041755","volume-title":"Proceedings of the International Test Conference","author":"Jain V.","year":"2002","unstructured":"V. Jain and J. Waicukauski. 2002. Scan test data volume reduction in multi-clocked designs with safe capture technique. In Proceedings of the International Test Conference. 148\u2013153."},{"issue":"5","key":"e_1_3_1_24_2","first-page":"132","article-title":"Directed test generation for hardware validation: A survey","volume":"56","author":"Jayasena Aruna","year":"2024","unstructured":"Aruna Jayasena and Prabhat Mishra. 2024. Directed test generation for hardware validation: A survey. ACM Computing. Surveys 56, 5 (2024), Article 132, 36 pages.","journal-title":"ACM Computing. Surveys"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/1273463.1273468"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/1101908.1101949"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1109\/ACCESS.2021.3102399"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2931051"},{"key":"e_1_3_1_29_2","first-page":"289","volume-title":"2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER\u201922)","author":"Lei Yan","year":"2022","unstructured":"Yan Lei, Chunyan Liu, Huan Xie, Sheng Huang, Meng Yan, and Zhou Xu. 2022. BCL-FL: A data augmentation approach with between-class learning for fault localization. In 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER\u201922). 289\u2013300."},{"key":"e_1_3_1_30_2","first-page":"28","volume-title":"2020 IEEE 13th International Conference on Software Testing, Validation and Verification (ICST\u201920)","author":"Li Xiangyu","year":"2020","unstructured":"Xiangyu Li and Alessandro Orso. 2020. More accurate dynamic slicing for better supporting software debugging. In 2020 IEEE 13th International Conference on Software Testing, Validation and Verification (ICST\u201920). 28\u201338."},{"key":"e_1_3_1_31_2","first-page":"92","article-title":"Transforming programs and tests in tandem for fault localization","volume":"1","author":"Li Xia","year":"2017","unstructured":"Xia Li and Lingming Zhang. 2017. Transforming programs and tests in tandem for fault localization. Proceedings of ACM Programming Languages 1, OOPSLA (2017), Article 92, 30 pages.","journal-title":"Proceedings of ACM Programming Languages"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.5555\/1564795"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.5555\/2832415.2832522"},{"key":"e_1_3_1_34_2","first-page":"7008","volume-title":"2021 IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP\u201921)","author":"Meng Linghui","year":"2021","unstructured":"Linghui Meng, Jin Xu, Xu Tan, Jindong Wang, Tao Qin, and Bo Xu. 2021. MixSpeech: Data augmentation for low-resource automatic speech recognition. In 2021 IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP\u201921). 7008\u20137012."},{"key":"e_1_3_1_35_2","unstructured":"Mentor Graphics. 2023. ModelSim User\u2019s Manual. https:\/\/www.mentor.com\/products\/fpga\/model-sim\/"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/2000791.2000795"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2017.62"},{"key":"e_1_3_1_38_2","unstructured":"B. Peischl N. Riaz and F. Wotawa. 2008. Advances in automated source-level debugging of verilog designs. In New Challenges in Applied Intelligence Technologies. Studies in Computational Intelligence N. T. Nguyen and R. Katarzyniak (Eds.). Vol. 134. Springer Berlin Heidelberg."},{"key":"e_1_3_1_39_2","doi-asserted-by":"crossref","unstructured":"B. Peischl and F. Wotawa. 2006. Automated source-level error localization in hardware designs. In IEEE Design & Test of Computers 23 1 (2006) 8\u201319.","DOI":"10.1109\/MDT.2006.5"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3677779.3677796"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1984.5010248"},{"key":"e_1_3_1_42_2","first-page":"1","volume-title":"2016 International Conference on Digital Image Computing: Techniques and Applications (DICTA\u201916)","author":"Wong Sebastien C.","year":"2016","unstructured":"Sebastien C. Wong, Adam Gatt, Victor Stamatescu, and Mark D. McDonnell. 2016. Understanding data augmentation for classification: When to warp? In 2016 International Conference on Digital Image Computing: Techniques and Applications (DICTA\u201916). 1\u20136."},{"key":"e_1_3_1_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/TR.2013.2285319"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.5555\/1159517.1159519"},{"issue":"9","key":"e_1_3_1_45_2","first-page":"1","article-title":"Detraque: Dynamic execution tracing techniques for automatic fault localization of hardware design code","volume":"17","author":"Wu Jiang","year":"2022","unstructured":"Jiang Wu, Zhuo Zhang, Jianjun Xu, Jiayu He, Xiaoguang Mao, Xiankai Meng, and Panpan Li. 2022. Detraque: Dynamic execution tracing techniques for automatic fault localization of hardware design code. PLOS One 17, 9 (Sep.2022), 1\u201319.","journal-title":"PLOS One"},{"key":"e_1_3_1_46_2","first-page":"537","volume-title":"2022 IEEE 40th International Conference on Computer Design (ICCD\u201922)","author":"Wu Jiang","year":"2022","unstructured":"Jiang Wu, Zhuo Zhang, Deheng Yang, Xiankai Meng, Jiayu He, Xiaoguang Mao, and Yan Lei. 2022. Fault localization for hardware design code with time-aware program spectrum. In 2022 IEEE 40th International Conference on Computer Design (ICCD\u201922). 537\u2013544."},{"key":"e_1_3_1_47_2","first-page":"48","volume-title":"2022 IEEE\/ACM 44th International Conference on Software Engineering (ICSE\u201922)","author":"Xie Huan","year":"2022","unstructured":"Huan Xie, Yan Lei, Meng Yan, Yue Yu, Xin Xia, and Xiaoguang Mao. 2022. A universal data augmentation approach for fault localization. In 2022 IEEE\/ACM 44th International Conference on Software Engineering (ICSE\u201922). 48\u201360."},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/2522920.2522924"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2020.106312"},{"key":"e_1_3_1_50_2","doi-asserted-by":"crossref","unstructured":"G. W. Corder and D. I. Foreman. 2009. Comparing two related samples: The wilcoxon signed ranks test. In Nonparametric Statistics for Non-Statisticians G. W. Corder and D. I. Foreman (Eds.). John Wiley and Sons Ltd. 38\u201356.","DOI":"10.1002\/9781118165881.ch3"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2017.04.017"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/1085130.1085135"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1002\/smr.2312"}],"container-title":["ACM Transactions on Design Automation of Electronic Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3725889","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3725889","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T01:57:04Z","timestamp":1750298224000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3725889"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,12]]},"references-count":52,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2025,5,31]]}},"alternative-id":["10.1145\/3725889"],"URL":"https:\/\/doi.org\/10.1145\/3725889","relation":{},"ISSN":["1084-4309","1557-7309"],"issn-type":[{"value":"1084-4309","type":"print"},{"value":"1557-7309","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,4,12]]},"assertion":[{"value":"2024-10-28","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-03-19","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-04-12","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}