Machine Learning Approach to ATPG in VLSI Circuits Using Random Forest Regressor
Abstract
As the need for highly advanced chip technology and high-performance computing grows, semiconductor technology must develop rapidly. Also, as VLSI circuits become more complex, it is more difficult and time-consuming to test circuits using traditional test methods. Hence, Chip design, verification, and testing become extremely complex and critical processes. To confirm the chip as fault-free, testing examines its functionality, timing, and connectivity. Various automatic test pattern generation (ATPG) tools have been available for a long time for fault detection. For large combinational circuits, a lot of computing resources and more time are required to use such tools. To tackle this challenge, machine learning (ML) techniques have recently been introduced as a promising alternative to improve the efficiency of test generation. Machine learning has advanced dramatically over the last few years, and it currently plays an important role in enhancing automation, efficiency, and decision-making in a variety of domains. The main purpose of this work is to explore the possibility of using machine learning to predict test vectors in digital combinational circuits and achieve comparable fault coverage. The Random Forest Regressor method is utilized for generating test vectors. Experimental results showcase that this method performs well compared to traditional tools like ATALANTA on most ISCAS85 benchmark circuits. This approach reduced test pattern generation time to 0.0146 sec, while the standard tool requires 0.02 sec for test set generation, retaining almost similar fault coverage. This research demonstrated the highest fault coverage of 96.523 for the c5315_13 circuit and the lowest coverage of 60.404 for c1908_23, compared to the ATALANTA Tool. The results demonstrate that machine learning is a promising complementary testing method for conventional ATPG tools in VLSI testing.
Downloads
References
W. Li, H. Lyu, S. Liang, T. Wang, and H. Li, “SmartATPG: Learning-based Automatic Test Pattern Generation with Graph Convolutional Network and Reinforcement Learning,” in Proceedings of the 61st ACM/IEEE Design Automation Conference, New York, NY, USA: ACM, Jun. 2024, pp. 1–6. doi: 10.1145/3649329.3656526.
Y. ATTAOUI, M. Chentouf, Z. E. A. Alaoui Ismaili, and A. Elmourabit, “Machine Learning in VLSI Design: A Comprehensive Review,” Journal of Integrated Circuits and Systems, vol. 19, no. 2, pp. 1–14, Aug. 2024, doi: 10.29292/jics.v19i2.826.
W. Fang et al., “A Survey of Circuit Foundation Model: Foundation AI Models for VLSI Circuit Design and EDA,” ACMTrans. Des. Autom. Electron. Syst., Aug. 2026, doi: 10.1145/3827602.
Virginia Polytechnic & State University, “User’s Guide for ATALANTA,” GitHub. [Online], https://github.com/hsluoyz/Atalanta,” GitHub. [Online]. Accessed: Sep. 06, 2026. [Online]. Available: https://github.com/hsluoyz/Atalanta
H. Dhotre, S. Eggersglub, K. Chakrabarty, and R. Drechsler, “Machine Learning-based Prediction of Test Power,” in 2019 IEEE European Test Symposium (ETS), IEEE, May 2019, pp. 1–6. doi: 10.1109/ETS.2019.8791548.
R. Pan, Z. Zhang, X. Li, K. Chakrabarty, and X. Gu, “Black-Box Test-Coverage Analysis and Test-Cost Reduction Based on a Bayesian Network Model,” in 2019 IEEE 37th VLSI Test Symposium (VTS), IEEE, Apr. 2019, pp. 1–6. doi: 10.1109/VTS.2019.8758639.
K.-C. Yang, M.-T. Lee, C.-H. Wu, and J. C.-M. Li, “ATPG and Test Compression for Probabilistic Circuits,” in 2019 International Symposium on VLSI Design, Automation and Test (VLSI-DAT), IEEE, Apr. 2019, pp. 1–4. doi: 10.1109/VLSI-DAT.2019.8741869.
S. Millican, Y. Sun, S. Roy, and V. Agrawal, “Applying Neural Networks to Delay Fault Testing: Test Point Insertion and Random Circuit Training,” in 2019 IEEE 28th Asian Test Symposium (ATS), IEEE, Dec. 2019, pp. 13–135. doi: 10.1109/ATS47505.2019.000-7.
H. Yang, J. Su, Y. Zou, B. Yu, and E. F. Y. Young, “Layout Hotspot Detection with Feature Tensor Generation and Deep Biased Learning,” in Proceedings of the 54th Annual Design Automation Conference 2017, New York, NY, USA: ACM, Jun. 2017, pp. 1–6. doi: 10.1145/3061639.3062270.
A. F. Tabrizi, N. K. Darav, L. Rakai, I. Bustany, A. Kennings, and L. Behjat, “Eh?Predictor: A Deep Learning Framework to Identify Detailed Routing Short Violations From a Placed Netlist,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 39, no. 6, pp. 1177–1190, Jun. 2020, doi: 10.1109/TCAD.2019.2917130.
K. Hornik, M. Stinchcombe, and H. White, “Multilayer feedforward networks are universal approximators,” Neural Networks, vol. 2, no. 5, pp. 359–366, Jan. 1989, doi: 10.1016/0893-6080(89)90020-8.
M. Raghu, B. Poole, J. Kleinberg, S. Ganguli, and J. Sohl-Dickstein, “On the Expressive Power of Deep Neural Networks,” Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, PMLR 70, 2017, Jun. 2017.
Y. Ma et al., “High Performance Graph Convolutional Networks with Applications in Testability Analysis,” in Proceedings of the 56th Annual Design Automation Conference 2019, New York, NY, USA: ACM, Jun. 2019, pp. 1–6. doi: 10.1145/3316781.3317838.
B. Sun et al., “InF-ATPG: Intelligent FFR-Driven ATPG with Advanced Circuit Representation Guided Reinforcement Learning,” 56th Annual Design Automation Conference (DAC 2019), Nov. 2025, doi: 10.48550/arXiv.2512.00079.
K. Eykholt et al., “Robust Physical-World Attacks on Deep Learning Visual Classification,” in 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, Jun. 2018, pp. 1625–1634. doi: 10.1109/CVPR.2018.00175.
Motamarri Venkata Saikumar, Fazal Noorbasha, K. Srinivasa Rao, and K. Girija Sravani, “Enhancing Fault Detection in Digital Circuits Using Machine Learning and LFSR-Based Test Pattern Generation,” International Journal of Computational and Experimental Science and Engineering, vol. 11, no. 3, Aug. 2025, doi: 10.22399/ijcesen.3231.
L. Sommeregger and J. Pilz, “Regularizing Lifetime Drift Prediction in Semiconductor Electrical Parameters with Quantile Random Forest Regression,” Technologies by MDPI, vol. 12, no. 9, p. 165, Sep. 2024, doi: 10.3390/technologies12090165.
M. Moness, L. Gaber, A. I. Hussein, and H. M. Ali, “Automated Design Error Debugging of Digital VLSI Circuits,” Journal of Electronic Testing, vol. 38, no. 4, pp. 395–417, Aug. 2022, doi: 10.1007/s10836-022-06020-z.
L. Gaber, A. I. Hussein, and M. Moness, “Incremental Automatic Correction for Digital VLSI Circuits,” in Computer Science & Information Technology (CS & IT), AIRCC Publishing Corporation, Nov. 2020, pp. 83–93. doi: 10.5121/csit.2020.101508.
Guolin Ke et al., “LightGBM: A Highly Efficient Gradient Boosting Decision Tree,” in 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA., Dec. 2017, pp. 3149–3157.
S. R. Research Scholar, C. Assistant Professor, and G. Sudhagar, “An Overview on Strategies to Perform VLSI Testing Productively Utilizing BIST,” Int. J. Advanced Networking and Applications, vol. 16, no. 2, pp. 6342–6348, Aug. 2024, doi: 10.35444/IJANA.2024.16205.
J. E. Nelson, W. C. Tam, and R. D. Blanton, “Automatic classification of bridge defects,” in 2010 IEEE International Test Conference, Austin, TX, USA: IEEE, Nov. 2010, pp. 1–10. doi: 10.1109/TEST.2010.5699231.
Z. Li, J. E. Colburn, V. Pagalone, K. Narayanun, and K. Chakrabarty, “Test-cost optimization in a scan-compression architecture using support-vector regression,” in 2017 IEEE 35th VLSI Test Symposium (VTS), Las Vegas, NV, USA: IEEE, Apr. 2017, pp. 1–6. doi: 10.1109/VTS.2017.7928956.
K. Fu, Y. Jin, and Z. Chen, “Test Set Optimization by Machine Learning Algorithms,” ArXiv, Oct. 2020, doi: arXiv:2010.02108.
N. R. A. Karthikeyan, “Design and implementation of multiple fault diagnosis on VLSI circuits using artificial neural networks,” International Journal of Advanced Engineering Technology, vol. 3, no. 2, pp. 685–687, Apr. 2012.
A. B. Chowdhury, B. Tan, S. Garg, and R. Karri, “Robust Deep Learning for IC Test Problems,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 41, no. 1, pp. 183–195, Jan. 2022, doi: 10.1109/TCAD.2021.3054808.
K. Lad and M. Joshi, “DCRNet: Hybrid Deep Learning Architecture for Forecasting of Blood Glucose,” Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 8, no. 1, pp. 53–68, Jan. 2026, doi: 10.35882/jeeemi.v8i1.1245.
N. L. Johnson, S. Kotz, and X.-Z. Wu, Inspection Errors for Attributes in Quality Control. Chapman and Hall/CRC, 2020. doi: 10.1201/9781003059868.
H. Fujiwara, “ISCAS’85 Benchmarks: Special Session on ATPG and Fault Simulation, 1985 IEEE International Symposium on Circuits and Systems.” [Online]. Available: http://www.cbl.ncsu.edu:16080/benchmarks/ISCAS85/
M. Lipovsky, J. Svarc, E. Gramatova, and P. Fiser, “A new user-friendly ATPG platform for digital circuits,” in 2016 IEEE 19th International Symposium on Design and Diagnostics of Electronic Circuits & Systems (DDECS), IEEE, Apr. 2016, pp. 1–4. doi: 10.1109/DDECS.2016.7482474.
Laung-Terng Wang, Cheng-Wen Wu, and Xiaoqing Wen, VLSI TEST PRINCIPLES AND ARCHITECTURES. San Francisco, United States: Morgan Kaufmann Publishers Inc, 2006.
F. Ye, Z. Zhang, K. Chakrabarty, and X. Gu, “Board-Level Functional Fault Diagnosis Using Multikernel Support Vector Machines and Incremental Learning,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 33, no. 2, pp. 279–290, Feb. 2014, doi: 10.1109/TCAD.2013.2287184.
M. Pradhan, B. B. Bhattacharya, and K. Chakrabarty, “Predicting X -Sensitivity of Circuit-Inputs on Test-Coverage: A Machine-Learning Approach,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 38, no. 12, pp. 2343–2356, Dec. 2019, doi: 10.1109/TCAD.2018.2878169.
S. Jin, F. Ye, Z. Zhang, K. Chakrabarty, and X. Gu, “Efficient Board-Level Functional Fault Diagnosis With Missing Syndromes,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 35, no. 6, pp. 985–998, Jun. 2016, doi: 10.1109/TCAD.2015.2481859.
S. Mittal and R. D. Blanton, “LearnX: A Hybrid Deterministic-Statistical Defect Diagnosis Methodology,” in 2019 IEEE European Test Symposium (ETS), IEEE, May 2019, pp. 1–6. doi: 10.1109/ETS.2019.8791512.
X. Liu, M. S. Hsiao, S. Chakravarty, and P. J. Thadikaran, “Efficient Transition Fault ATPG Algorithms Based on Stuck-At Test Vectors,” Journal of Electronic Testing, vol. 19, no. 4, pp. 437–445, Aug. 2003, doi: 10.1023/A:1024696110831.
S. Das, L. Jin, M. Assaf, S. Biswas, and E. Petriu, “Implementing built-in self-test environment for cores-based digital circuits with Verilog HDL,” World Journal of Engineering, vol. 9, no. 6, pp. 519–528, Dec. 2012, doi: 10.1260/1708-5284.9.6.519.
A. Alamgir, A. Khari Bin A’Ain, U. U. Sheikh, N. Paraman, M. M. Mokji, and I. Grout, “Multiple Controlled Antirandom Testing (MCAT) for High Fault Coverage in a Black Box Environment,” IEEE Access, vol. 7, pp. 117246–117257, 2019, doi: 10.1109/ACCESS.2019.2937113.
Y. Zhang and V. D. Agrawal, “A diagnostic test generation system and a coverage metric,” in 2010 15th IEEE European Test Symposium, IEEE, May 2010, pp. 254–254. doi: 10.1109/ETSYM.2010.5512739.
Sung-il Bae, Sungchul Yoon, Sangwook Kim, and Sungho Kang, “Test Pattern Generation Using a Dual MAC Unit,” Journal of the Korean Physical Society, vol. 41, no. 6, pp. 974–981, Dec. 2002.
I. Mrozek and V. Yarmolik, “Optimal Controlled Random Tests,” 2017, pp. 27–38. doi: 10.1007/978-3-319-59105-6_3.
Y. Huang, B. Benware, R. Klingenberg, H. Tang, J. Dsouza, and W.-T. Cheng, “Scan Chain Diagnosis Based on Unsupervised Machine Learning,” in 2017 IEEE 26th Asian Test Symposium (ATS), IEEE, Nov. 2017, pp. 225–230. doi: 10.1109/ATS.2017.50.
S. Roy, S. K. Millican, and V. D. Agrawal, “Training Neural Network for Machine Intelligence in Automatic Test Pattern Generator,” in 2021 34th International Conference on VLSI Design and 2021 20th International Conference on Embedded Systems (VLSID), IEEE, Feb. 2021, pp. 316–321. doi: 10.1109/VLSID51830.2021.00059.
G. Thakur, S. Jain, and H. Sohal, “Current issues and emerging techniques for VLSI testing - A review☆,” Measurement: Sensors, vol. 24, p. 100497, Dec. 2022, doi: 10.1016/j.measen.2022.100497.
S. Eggersgluss, K. Schmitz, R. Krenz-Baath, and R. Drechsler, “On Optimization-Based ATPG and Its Application for Highly Compacted Test Sets,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 35, no. 12, pp. 2104–2117, 2016, doi: 10.1109/TCAD.2016.2552822.
S. R. Das, C. V. Ramamoorthy, M. H. Assaf, E. M. Petriu, W.-B. Jone, and M. Sahinoglu, “Fault Simulation and Response Compaction in Full Scan Circuits Using HOPE,” IEEE Trans. Instrum. Meas., vol. 54, no. 6, pp. 2310–2328, Dec. 2005, doi: 10.1109/TIM.2005.858102.
Copyright (c) 2026 Sima Gonsai, Usha Mehta

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).


.png)
.png)
.png)
.png)
.png)