Conclusion
The HDL research community recognizes the pivotal role of bug localization in the debugging workflow, offering substantial relief to developers. This paper introduces ContextHD, a robust bug localization method tailored for Verilog, leveraging enhanced contexts. ContextHD integrates static slicing techniques with advanced suspiciousness measurement methods to generate a prioritized list of statements based on their suspicious values, arranged in descending order. Our experimental evaluation involved comparing ContextHD with seven established state-of-the-art bug localization techniques. The results unequivocally demonstrate that ContextHD outperforms these methods significantly. Future endeavors include refining ContextHD to further enhance its accuracy.
References
Flake P, Moorby P, Golson S, Salz A, Davidmann S. Verilog HDL and its ancestors and descendants. Proceedings of the ACM on Programming Languages, 2020, 4(HOPL): 87
Foster H D. Trends in functional verification: a 2014 industry study. In: Proceedings of the 52nd ACM/EDAC/IEEE Design Automation Conference. 2015, 1–6
Kuon I, Rose J. Measuring the gap between FPGAs and ASICs. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2007, 26(2): 203–215
Foster H. The 2020 Wilson research group functional verification study. See Blogs.sw.siemens.com/verificationhorizons/2020/11/10/part-2-the-2020-wilson-research-group-functional-verification-study website, 2020
Agha G, Palmskog K. A survey of statistical model checking. ACM Transactions on Modeling and Computer Simulation, 2018, 28(1): 6
Huang S Y, Cheng K T, Chen K C, Lu J Y J. Fault-simulation based design error diagnosis for sequential circuits. In: Proceedings of 1998 Design and Automation Conference. 1998, 632–637
Mahzoon A, Große D, Drechsler R. Combining symbolic computer algebra and Boolean satisfiability for automatic debugging and fixing of complex multipliers. In: Proceedings of 2018 IEEE Computer Society Annual Symposium on VLSI. 2018, 351–356
Wong W E, Gao R, Li Y, Abreu R, Wotawa F. A survey on software fault localization. IEEE Transactions on Software Engineering, 2016, 42(8): 707–740
Jiang T Y, Liu C N J, Jou J Y. Estimating likelihood of correctness for error candidates to assist debugging faulty HDL designs. In: Proceedings of 2005 IEEE International Symposium on Circuits and Systems. 2005, 5682–5685
Acknowledgments
This work was partially supported by the Guangdong Province Ordinary University Characteristic Innovation Project (2023KTSCX193).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests The authors declare that they have no competing interests or financial conflicts to disclose.
Electronic Supplementary Material
Rights and permissions
About this article
Cite this article
Zhang, Z., Li, Y., Xia, L. et al. An effective fault localization approach for Verilog based on enhanced contexts. Front. Comput. Sci. 18, 185108 (2024). https://doi.org/10.1007/s11704-024-2622-6
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11704-024-2622-6