PCB Network Analysis for Circuit Partitioning
Abstract
:1. Introduction
- (1)
- The visualization analysis, attribute analysis, and pattern analysis of netlists are carried out, and the potential features and attributes in netlists are discovered.
- (2)
- Based on the potential features and attributes, a new approach to PCB netlist partition is proposed. The method first prepartitions the PCB netlist according to the network attributes, then presents three rules of classifying, matching, and force to redistribute the scattered components, and finally obtains the partition subsets.
- (3)
- The partition approach is evaluated on 11 netlists, outperforming the state of the arts on five different metrics. Experiments show that our approach based on network attributes and potential patterns can obtain 80–96% accuracy.
2. Related Work
- (1)
- How to divide, that is, the partition strategy;
- (2)
- How to reduce the time complexity of partition, that is, the partition efficiency [7].
3. Circuit Analysis of PCB Netlists
3.1. Network Attribute Analysis
3.2. Visualization for PCB Netlists
3.3. Circuit Pattern Analysis
4. Circuit Partitioning Based on Net Attributes and Patterns
4.1. Key Component Selecting and Initial Partitioning
4.2. Scattered Components Description
- (1)
- Components scattered between signal network and signal network , denoted by .
- (2)
- Components scattered between signal network and power supply network denoted by .
- (3)
- Components scattered between signal network and GND ground network , denoted by .
- (4)
- Components scattered between power network and GND ground network , denoted by .
4.3. Scattered Components Allocation by Classifying
4.4. Scattered Components Allocating by Force
4.5. Scattered Components Allocating by Module Matching
4.6. The Proposed Algorithm
Algorithm 1 The algorithm of circuit partitioning for PCB netlist based on net attributes |
Require: a PCB netlist with K components, the thresholds ,; Ensure: PCB partition sets ; Select IC as key components; Obtain Partition initial sets as in Section 4.1; /*Allocating scattered components by Rule (1);*/—Stage 1 repeat select one element from ; Check module subsets of connected; If Then ; ; until . /*Allocating scattered components by Rule (2);*/—Stage 2 if repeat select one element from ; Check module subsets of connected; If Then ; ; endif until ; endif /*Allocating scattered components by Rule (3);*/—Stage 3 ; repeat select one net from ; ; Check module subsets of connected, and components in ; If , ; s. t. , Then Allocate them equally; Else Allocate them roughly equally; until . |
5. Experimental Results
5.1. Datasets
5.2. Evaluation Indices
5.3. Comparison Results
6. Discussion
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Kernighan, B.W.; Lin, S. An efficient heuristic procedure for partitioning graphs. Bell Syst. Tech. J. 1970, 49, 291–307. [Google Scholar] [CrossRef]
- Kahng, B.K.; Lienig, L.; Markov, I.L. VLSI Physical Design: From Graph Partitioning to Timing Closure; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Karypis, G.; Aggarwal, R.; Kumar, V.; Shekhar, S. Multilevel hypergraph partitioning: Applications in VLSI domain. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 1999, 7, 69–79. [Google Scholar] [CrossRef]
- Caldwell, A.E.; Kahng, A.B.; Markov, I.L. Design and implementation of move-based heuristics for VLSI hypergraph partitioning. J. Exp. Algorithmics (JEA) 2000, 5, 5-es. [Google Scholar] [CrossRef]
- Meng, D.; Zheng, Y.L. Circuit Partitioning for PCB Netlist Based on Net Attributes. In Proceedings of the International Conference on Machine Learning and Cybernetics, Toyama, Japan, 9–11 September 2022. [Google Scholar]
- Barnes, E.R. An algorithm for partitioning the nodes of a graph. Algebr. Discret. Methods Siam J. 1982, 3, 541–550. [Google Scholar] [CrossRef]
- Nayak, S.; Panda, S.; Panda, M. Circuit Partitioning optimization using Parallel refinement algorithm. In Proceedings of the International Conference on Applied Electromagnetics, Signal Processing and Communication (AESPC), Bhubaneswar, India, 22–24 October 2018. [Google Scholar]
- Ford, L.R.; Fulkerson, D.R. Flows in Networks; Princeton University Press: Princeton, NJ, USA, 1962; p. 11. [Google Scholar]
- Liu, L.T.; Kuo, M.T.; Cheng, C.K.; Hu, T.C. A replication cut for two-way partitioning. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 1995, 14, 623–630. [Google Scholar]
- Boykov, Y.; Kolmogorov, V. An experimental comparison of min-cut/max-flow algorithms for energy minimization in vision. IEEE Trans. Pattern Anal. Mach. Intell. 2004, 26, 1124–1137. [Google Scholar] [CrossRef]
- Hamada, T.; Cheng, C.K.; Chau, P.M. An efficient multilevel placement technique using hierarchical partition. In Proceedings of the IEEE International Sympoisum on Circuits and Systems, Singapore, 11–14 June 1991. [Google Scholar]
- Areibi, S.; Vannelli, A. An efficient clustering technique for circuit partitioning. In Proceedings of the IEEE International Symposium on Circuits and Systems. Circuits and Systems Connecting the World (ISCAS), Atlanta, GA, USA, 12–15 May 1996. [Google Scholar]
- Hadley, S.W.; Mark, B.L.; Vannelli, A. An efficient eigenvector approach for finding netlist partitions. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 1992, 11, 885–892. [Google Scholar] [CrossRef]
- Fiduccia, C.M.; Mattheyses, R.M. A linear-time heuristic for improving network partitionse. In Proceedings of the Design Automation Conference, Las Vegas, NV, USA, 14–16 June 1982; pp. 175–181. [Google Scholar]
- Sinha, B.; Laskar, N.M.; Sen, R.; Baishnab, K.L. Heuristics in Physical Design Partitioning: A Review. In Proceedings of the IEEE International Conference on Innovations in Information Embedded and Communication Systems (ICIIECS), Coimbatore, India, 19–20 March 2015. [Google Scholar]
- Yeh, C.W.; Cheng, C.K.; Lin, T.T. A general purpose, multiple-way partitioning algorithm. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 1994, 13, 1480–1488. [Google Scholar]
- Cong, J.; Lim, S.L. Edge Separability-Based Circuit Clustering With Application to Multilevel Circuit Partitioning. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 2004, 23, 346–357. [Google Scholar] [CrossRef]
- Cherng, J.S.; Chen, S.J. An efficient multilevel partitioning algorithm for VLSI circuits. In Proceedings of the IEEE International Conference on VLSI Design, New Delhi, India, 4–8 January 2003. [Google Scholar]
- Manna, K.; Choubey, V.; Chattopadhyay, S.; Sengupta, I. Thermal variance-aware application mapping for mesh based network-on-chip design using Kernighan-Lin partitioning. In Proceedings of the International Conference on Parallel, Distributed and Grid Computing, Solan, India, 11–13 December 2014; pp. 274–279. [Google Scholar]
- Rajan, A.K.; Bhaiya, D. VLSI partitioning using parallel kernighan lin algorithm. In Proceedings of the International Conference on Communication and Signal Processing (ICCSP), Chennai, India, 6–8 April 2017; pp. 1897–1901. [Google Scholar]
- Manna, K.; Teja, V.S.; Chattopadhyay, S.; Sengupta, I. TSV Placement and Core Mapping for 3D Mesh Based Network-on-Chip Design Using Extended Kernighan-Lin Partitioning. ACM Trans. Embed. Comput. Syst. (TECS) 2016, 16, 1–25. [Google Scholar] [CrossRef]
- Lei, X.; Liang, W.; Li, K.C.; Luo, H.; Hu, L.; Cai, J.; Li, Y. A New Multilevel Circuit Partitioning Algorithm Based on the Improved KL Algorithm. In Proceedings of the IEEE International Conference on Big Data Security on Cloud (BigDataSecurity), Washington, DC, USA, 27–29 May 2019. [Google Scholar]
- Wei, Y.; Cheng, C.K. Ratio cut partitioning for hierarchical designs. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 1991, 10, 911–921. [Google Scholar] [CrossRef]
- Desai, S.M.; Gambhi, S.; Sharma, P. An Improved and Optimized Layer Assignment Partitioning Algorithm. In Proceedings of the IEEE International Conference Cloud System and Big Data Engineering, Noida, India, 14–15 January 2016. [Google Scholar]
- Panth, S.; Member, S.; Samadi, K.; Du, Y.; Lim, S.K. Placement-Driven Partitioning for Congestion Mitigation in Monolithic 3D IC Designs. IEEE Trans. Comput.-Aided Des. Integr. Circuit Syst. 2015, 34, 540–553. [Google Scholar] [CrossRef]
- Hu, L.R.; Duan, Q.; Qi, Z.; Wang, J.; Lai, J.M.; Yang, M. A new hyper-graph partitioning for 3D-FPGA. In Proceedings of the IEEE International Conference on Solid-State and Integrated Circuit Technology (ICSICT), Qingdao, China, 31 October–3 November 2018. [Google Scholar]
- Zhou, Z.H. Machine Learning; Tsinghua University Press: Beijing, China, 2016. [Google Scholar]
Netlist ID | No. of Subsets | No. of Same Modules | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
2 | 3 | 4 | 5 | 6 | 7 | 10 | 12 | 13 | 20 | ||
ANDZ | 57 | 7 | 1 | 1 | 0 | 0 | 1 | 2 | 2 | 0 | 0 |
N1 | 36 | 3 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
N2 | 147 | 2 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
N3 | 120 | 5 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
N4 | 152 | 7 | 3 | 2 | 0 | 3 | 0 | 0 | 0 | 0 | 0 |
N5 | 123 | 9 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 0 | 0 |
N6 | 144 | 10 | 3 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 |
N7 | 53 | 1 | 0 | 8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
N8 | 94 | 6 | 1 | 3 | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
N9 | 46 | 5 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
N10 | 90 | 14 | 2 | 9 | 0 | 1 | 0 | 2 | 1 | 1 | 2 |
Datasets | ACC | Dice | IOU | SE | PR | |||||
---|---|---|---|---|---|---|---|---|---|---|
MaxFlow | Ours | MaxFlow | Ours | MaxFlow | Ours | MaxFlow | Ours | MaxFlow | Ours | |
ANDZ | 11.4 | 96.8 | 22.4 | 91.4 | 15.6 | 87.7 | 28.7 | 89.0 | 18.4 | 93.9 |
N1 | 37.1 | 86.9 | 26.3 | 85.8 | 17.7 | 77.1 | 35.3 | 87.2 | 21.5 | 84.4 |
N2 | 39.2 | 84.9 | 53.2 | 88.4 | 40.5 | 80.8 | 55.8 | 88.9 | 50.8 | 87.9 |
N3 | 34.3 | 91.6 | 44.8 | 88.7 | 32.9 | 82.7 | 50.1 | 86.8 | 40.5 | 90.7 |
N4 | 34.5 | 84.4 | 32.9 | 80.2 | 23.1 | 72.9 | 35.7 | 80.6 | 30.5 | 79.8 |
N5 | 35.7 | 86.6 | 41.8 | 81.1 | 31.6 | 73.3 | 41.4 | 80.6 | 42.2 | 81.6 |
N6 | 30.0 | 89.3 | 33.9 | 84.9 | 23.5 | 77.7 | 35.0 | 85.0 | 32.9 | 84.8 |
N7 | 17.6 | 88.8 | 15.2 | 93.0 | 10.4 | 89.5 | 19.4 | 94.2 | 12.5 | 91.8 |
N8 | 22.9 | 84.9 | 38.6 | 82.7 | 29.2 | 76.2 | 43.4 | 84.3 | 34.8 | 81.2 |
N9 | 53.6 | 82.8 | 68.5 | 91.1 | 59.4 | 85.8 | 74.2 | 91.2 | 63.6 | 91.0 |
N10 | 38.0 | 89.8 | 55.1 | 92.8 | 44.6 | 88.4 | 54.6 | 93.1 | 55.6 | 92.5 |
Datasets | Stage 1 | Stage 2 | Stage 3 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ACC | Dice | IOU | SE | PR | ACC | Dice | IOU | SE | PR | ACC | Dice | IOU | SE | PR | |
ANDZ | 91.2 | 86.9 | 80.5 | 81.6 | 92.9 | 93.5 | 89.7 | 84.8 | 85.2 | 94.7 | 96.8 | 91.4 | 87.7 | 89.0 | 93.9 |
N1 | 53.8 | 62.2 | 48.9 | 51.5 | 78.5 | 55.2 | 64.0 | 51.1 | 55.5 | 75.6 | 86.9 | 85.8 | 77.1 | 87.2 | 84.4 |
N2 | 33.0 | 48.0 | 35.3 | 35.4 | 74.5 | 43.5 | 61.6 | 49.0 | 51.0 | 77.8 | 84.9 | 88.4 | 80.8 | 88.9 | 87.9 |
N3 | 67.5 | 72.3 | 60.9 | 61.0 | 88.7 | 74.7 | 81.6 | 72.5 | 73.3 | 92.0 | 91.6 | 88.7 | 82.7 | 86.8 | 90.7 |
N4 | 49.4 | 55.9 | 46.4 | 47.2 | 68.5 | 63.2 | 65.5 | 56.7 | 58.8 | 73.9 | 88.4 | 80.2 | 72.9 | 80.6 | 79.8 |
N5 | 41.4 | 50.2 | 39.6 | 39.8 | 68.0 | 48.4 | 59.9 | 50.0 | 50.3 | 74.0 | 86.6 | 81.1 | 73.3 | 80.6 | 81.6 |
N6 | 62.1 | 68.3 | 58.6 | 59.4 | 80.3 | 71.5 | 74.5 | 65.3 | 68.5 | 81.7 | 89.3 | 84.9 | 77.7 | 85.0 | 84.8 |
N7 | 64.4 | 76.4 | 65.2 | 65.2 | 92.2 | 67.5 | 78.3 | 67.3 | 68.7 | 91.0 | 88.8 | 93.0 | 89.5 | 94.2 | 91.8 |
N8 | 54.3 | 64.8 | 53.8 | 55.7 | 77.5 | 59.7 | 70.5 | 60.5 | 63.5 | 79.2 | 84.9 | 82.7 | 76.2 | 84.3 | 81.2 |
N9 | 40.2 | 48.5 | 41.5 | 41.5 | 58.3 | 43.3 | 62.8 | 55.3 | 56.0 | 71.5 | 82.8 | 91.1 | 85.8 | 91.2 | 91.0 |
N10 | 66.9 | 77.1 | 67.6 | 68.5 | 88.2 | 78.2 | 85.2 | 78.2 | 80.3 | 90.7 | 89.8 | 92.8 | 88.4 | 93.1 | 92.5 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zheng, Y.; Meng, D.; Bai, L. PCB Network Analysis for Circuit Partitioning. Appl. Sci. 2022, 12, 8200. https://doi.org/10.3390/app12168200
Zheng Y, Meng D, Bai L. PCB Network Analysis for Circuit Partitioning. Applied Sciences. 2022; 12(16):8200. https://doi.org/10.3390/app12168200
Chicago/Turabian StyleZheng, Yali, Da Meng, and Libing Bai. 2022. "PCB Network Analysis for Circuit Partitioning" Applied Sciences 12, no. 16: 8200. https://doi.org/10.3390/app12168200
APA StyleZheng, Y., Meng, D., & Bai, L. (2022). PCB Network Analysis for Circuit Partitioning. Applied Sciences, 12(16), 8200. https://doi.org/10.3390/app12168200