skip to main content
10.1145/3551901.3556493acmconferencesArticle/Chapter ViewAbstractPublication PagesmlcadConference Proceedingsconference-collections
research-article

Scan Chain Clustering and Optimization with Constrained Clustering and Reinforcement Learning

Published:12 September 2022Publication History

ABSTRACT

Scan chains are used in design for test by providing controllability and observability at each register. Scan optimization is run during physical design after placement where scannable elements are re-ordered along the chain to reduce total wirelength (and power). In this paper, we present a machine learning based technique that leverages constrained clustering and reinforcement learning to obtain a wirelength efficient scan chain solution. Novel techniques like next-min sorted assignment, clustered assignment, node collapsing, partitioned Q-Learning and in-context start-end node determination are introduced to enable improved wire length while honoring design-for-test constraints. The proposed method is shown to provide up to 24% scan wirelength reduction over a traditional algorithmic optimization technique across 188 moderately sized blocks from an industrial 7nm design.

Skip Supplemental Material Section

Supplemental Material

MLCAD-fp073.mp4

mp4

20.1 MB

References

  1. Benavent, E., Martínez, "A. Multi-depot Multiple TSP: a polyhedral study and computational results", Ann Oper Res 207, 7--25 (2013). https://doi.org/10.1007/s10479-011--1024-yGoogle ScholarGoogle ScholarCross RefCross Ref
  2. Jiann-Chyi Rau, Ching-Hsiu Lin and Jun-Yi Chang, "An efficient low-overhead policy for constructing multiple scan-chains", 13th Asian Test Symposium, 2004, pp. 82--87, doi: 10.1109/ATS.2004.23.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. S. Kobayashi, M. Edahiro and M. Kubo, "Scan-chain optimization algorithms for multiple scan-paths", Proceedings of 1998 ASPDAC, pp. 301--306, doi: 10.1109/ASPDAC.1998.669474.Google ScholarGoogle Scholar
  4. D. Berthelot, S. Chaudhuri and H. Savoj, "An efficient linear time algorithm for scan chain optimization and repartitioning", Proceedings. International Test Conference, 2002, pp. 781--787, doi: 10.1109/TEST.2002.1041831.Google ScholarGoogle ScholarCross RefCross Ref
  5. B. B. Paul, R. Mukhopadhyay and I. S. Gupta, "Genetic Algorithm based Scan Chain Optimization and Test Power Reduction using Physical Information", TENCON 2006 - 2006 IEEE Region 10 Conference, 2006, pp. 1--4, doi: 10.1109/TENCON.2006.344008.Google ScholarGoogle ScholarCross RefCross Ref
  6. Li-Chung Hsu and Hung-Ming Chen, "On optimizing scan testing power and routing cost in scan chain design", 7th ISQED 2006, pp. 6 pp.-456, doi: 10.1109/ISQED.2006.95.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. H. Dai, E.B. Khalil, Y.Zhang, C, Dilking, Le Song, "Learning Combinatorial Optimization Algorithms over Graphs", NIPS 2017, arXiv:1704.01665Google ScholarGoogle Scholar
  8. L.M. Gambardella , M.Dorigo, "Ant-Q: A Reinforcement Learning approach to the traveling salesman problem", ML-95, Twelfth International Conf. on Machine Learning, 1995Google ScholarGoogle Scholar
  9. A. D. Tijsma, M. M. Drugan and M. A. Wiering, "Comparing exploration strategies for Q-learning in random stochastic mazes", 2016 IEEE SSCI, 2016, pp. 1--8, doi: 10.1109/SSCI.2016.7849366.Google ScholarGoogle Scholar
  10. Sutton, R. S. & Barto, A. G. (2018 ), "Reinforcement Learning: An Introduction", The MIT PressGoogle ScholarGoogle Scholar
  11. R. M. Rao et al., "POWER10": A 16-Core SMT8 Server Processor With 2TB/s Off-Chip Bandwidth in 7nm Technology", 2022 IEEE International Solid- State Circuits Conference (ISSCC), 2022, pp. 48--50, doi: 10.1109/ISSCC42614.2022.9731594Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Scan Chain Clustering and Optimization with Constrained Clustering and Reinforcement Learning

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          MLCAD '22: Proceedings of the 2022 ACM/IEEE Workshop on Machine Learning for CAD
          September 2022
          181 pages
          ISBN:9781450394864
          DOI:10.1145/3551901

          Copyright © 2022 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 12 September 2022

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Upcoming Conference

          MLCAD '24
          2024 ACM/IEEE International Symposium on Machine Learning for CAD
          September 9 - 11, 2024
          Salt Lake City , UT , USA
        • Article Metrics

          • Downloads (Last 12 months)19
          • Downloads (Last 6 weeks)3

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader