CN114266216A - A method to minimize chip layout line length - Google Patents
A method to minimize chip layout line length Download PDFInfo
- Publication number
- CN114266216A CN114266216A CN202111002016.2A CN202111002016A CN114266216A CN 114266216 A CN114266216 A CN 114266216A CN 202111002016 A CN202111002016 A CN 202111002016A CN 114266216 A CN114266216 A CN 114266216A
- Authority
- CN
- China
- Prior art keywords
- ccc
- linear array
- grid
- vertices
- embedding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 claims abstract description 14
- 238000013507 mapping Methods 0.000 claims abstract description 12
- 239000011159 matrix material Substances 0.000 claims description 3
- 238000003491 array Methods 0.000 claims 4
- 230000015572 biosynthetic process Effects 0.000 claims 2
- 238000013461 design Methods 0.000 abstract description 3
- 238000004445 quantitative analysis Methods 0.000 abstract description 2
- 238000011158 quantitative evaluation Methods 0.000 abstract description 2
- 238000010276 construction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The invention relates to the technical field of chip layout embedding, and discloses a method for minimizing the length of a chip layout line, which comprises the following steps: s1, the common structure of the chip is a linear array and a grid, and the interconnection network is represented by a graph G (V, E), wherein V is a vertex set and represents a communication node; e is an edge set which represents a physical link, nodes of the physical link are coded according to a certain rule by analyzing the structural characteristics of Cube-Connected Cycles (CCC), and mapping relations between the CCC and the vertex and the edges of the linear array and the grid structure are respectively found, so that an n-dimensional Cube connecting ring (CCC (k, n) can be embedded in the linear array and the grid with the minimum line length, wherein k is more than or equal to n); the length of the embedded wire is obtained in the later period, so that the communication delay in the network is effectively reduced, the utilization rate of the processor is improved, and important theoretical guidance and practical application value are provided for the design of the interconnection network and the quantitative analysis and evaluation of the network performance.
Description
Technical Field
The invention relates to the technical field of chip layout embedding, in particular to a method for minimizing the length of a chip layout line.
Background
With the development of science and technology, the requirement of processing mass data on the computing power of a processor is higher and higher. As an integrated circuit architecture, a Network-on-chip (Network-on-chip) can provide high performance interconnects between processors, with the core idea describing the communication between processors on a chip. The connection mode between communication nodes in the system is defined by a topological structure, and the performances of the network in terms of bandwidth, transmission delay, expandability and the like depend on the topological structure to a great extent. Due to the limitation of chip area, the wire length and layout become important factors affecting the network performance such as transmission delay and throughput. The solution of the place and route problem can be classified as a graph embedding problem.
Embedding is not only related to the ability of the structure to simulate other structures, but the length of the wire after embedding also affects the communication between different communication nodes. The existing network-on-chip structure mainly comprises a grid structure, a surrounding structure, a honeycomb structure and the like, the structure is simple, the realization is easy, and researchers can embed structures such as a hypercube structure, a local torsional cube structure and the like into a linear array and a grid to obtain the corresponding minimum line length so as to improve the performance of the network.
The hypercube network plays an important role in graph embedding, and has good symmetry, low diameter and strong connectivity. The CCC structure is a variation of the hypercube, where each node in the hypercube is replaced by a set of nodes, which form a ring, and k links in the hypercube connected to the same node are allocated to h nodes in the ring, aiming to reduce the number of links per node and improve the system performance. Thus, the CCC (h, k) contains h × 2kEach node using an address (c, p) (0. ltoreq. c.ltoreq.2)k1,0 ≦ p ≦ h-1), where c represents to which ring the node belongs and p represents the position of the node in the ring. Besides, the CCC structure has good symmetry and regularity and is widely applied. There are all the lengths of the turns in the CCC, which is close to a double-turn when n is odd and close to a double-turn when n is even. CCC is well suited to meet most of the requirements of the basic principles of network design, and therefore it becomes one of the popular topologies for parallel processing.
In conclusion, it is an important research direction to embed a network with good performance into a network-on-chip structure to improve the network performance, so that the minimization of the line length of the chip layout has important theoretical guidance and practical significance.
Disclosure of Invention
Technical scheme (I)
In order to achieve the purpose, the invention provides the following technical scheme: a method of minimizing chip layout line length, comprising the steps of:
s1, the common structure of the chip is a linear array and a grid, and the interconnection network is represented by a graph G (V, E), wherein V is a vertex set and represents a communication node; e is an edge set which represents a physical link, nodes of the physical link are coded according to a certain rule by analyzing the structural characteristics of Cube-Connected Cycles (CCC), the mapping relations between the CCC and the peaks and edges of the linear array and the grid structure are respectively found, and finally an n-dimensional Cube connecting ring (CCC (k, n), wherein k is more than or equal to n) can be embedded into the linear array and the grid by the minimum line length and comprises 2nCircles, each circle containing k vertices, the method discusses the case where n-k;
s2, embedding n-dimensional cube communication circle CCC (n, n) into linear array P (n × 2)n) Let f: v (CCC (n, n)) → V (P (n × 2)n) Denotes an embedding, numbering CCC (n, n) periodically according to the recursive construction process of the hypercube, P (n × 2)n) The vertex in (1, 2, K, n x 2)nLet f (v) be lex (v) for any v ∈ CCC (n, n);
s3, embedding the n-dimensional cube communication circle CCC (n, n) into the grid M (n, 2)n) Let p: v (CCC (n, n)) → V (M (n, 2)n) Represents an embedding, the first row in the grid being 0 to 2 from left to rightn-1 is numbered, line i is from left to right according to (i-1)2n,(i-1)2n+1,K,i×2n-1 is numbered, where i ═ 0, 1, K, n-1, for any u ∈ CCC (n, n),wherein u ═ u (u)n-1L u0J) (j is more than or equal to 0 and less than or equal to n), then
Preferably, the embedding in step S1 is specifically: mapping from one topology to another topology, an embedding of graph G to graph H is represented as a single ray of graph G to graph H, and the method discusses embedding CCC (n, n) into a linear array and a mesh, that is, finding the mapping relationship between CCC (n, n) and the vertex and edge of the linear array and the mesh respectively, so that the line length is the shortest for the linear array and the mesh after mapping.
Preferably, the linear array in step S2 is specifically: p (nx 2)n) Is represented by having n × 2nA linear array of vertices, wherein vertices V (P (n × 2) of the linear arrayn))={1,2,K,n×2nEdge E of the linear array (P (n × 2)n))={(i,i+1)|i∈[1,n×2n-1]}。
Preferably, in step S2, the CCC (n, n) is numbered periodically according to the recursive construction process of the hypercube, specifically: hypercube (Q)n) The recursive constitution of (c) is expressed as: q1=k2,Wherein K2Is a second order complete graph, QnU-u of two vertexesn-1L u1u0And v ═ vn-1L v1v0The two-dimensional structure is numbered in a way of one dragon clockwise from (0,0) on the basis that the recursion construction mode of the CCC is consistent with that of the hypercube if and only if u and v have different coordinates, and the vertexes of the CCC are numbered in a three-dimensional and above two-dimensional recursion mode.
Preferably, in step S3, the grid structure specifically includes: an M x n grid M (M, n) is represented by an M x n matrix,
wherein V (M) ═ fαijI is more than or equal to 1 and less than or equal to m, and j is more than or equal to 1 and less than or equal to n }, when i is more than or equal to 1 and less than or equal to m and j is more than or equal to 1 and less than or equal to n-1, (alpha)i,j,αi,j+1) E (M), when k is more than or equal to 1 and less than or equal to m-1 and l is more than or equal to 1 and less than or equal to n, (alpha)k,l,αk+1,l)∈E(M)。
(II) advantageous effects
The invention provides a method for minimizing the length of a chip layout line, which has the following beneficial effects:
the invention discloses a method for minimizing the wire length of chip layout, which can effectively reduce the communication delay in the network and improve the utilization rate of a processor by solving the wire length after embedding in the later period, and has important theoretical guidance and practical application value for the design of interconnection networks and the quantitative analysis and evaluation of network performance.
Drawings
Fig. 1 is a schematic diagram of a periodic encoding mode of CCC (3,3) that needs to be embedded in a linear array when n is 3 in the present invention;
FIG. 2 shows a linear array P (3X 2) of the present invention3) The encoding method of (3) and the schematic connection diagram after embedding the CCC (3, 3);
fig. 3 is a schematic diagram of a periodic encoding manner of CCC (3,3) required to be embedded into a grid when n is 3 in the present invention;
FIG. 4 shows a grid M (n, 2) according to the present inventionn) The coding method of (1).
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1 to 4, the present invention provides a technical solution: a method of minimizing chip layout line length, comprising the steps of:
s1, the common structure of the chip is a linear array, a grid, the interconnection network is represented using graph G (V, E),where V is a set of vertices representing communication nodes; e is an edge set which represents a physical link, nodes of the physical link are coded according to a certain rule by analyzing the structural characteristics of Cube-Connected Cycles (CCC), the mapping relations between the CCC and the peaks and edges of the linear array and the grid structure are respectively found, and finally an n-dimensional Cube connecting ring (CCC (k, n), wherein k is more than or equal to n) can be embedded into the linear array and the grid by the minimum line length and comprises 2nCircles, each circle containing k vertices, the method discusses the case where n-k;
the embedding is specifically as follows: mapping from one topology structure to another topology structure, wherein an embedding of a graph G to a graph H is represented as a single ray from the graph G to the graph H, the method discusses the embedding of CCC (n, n) into a linear array and a grid, namely, finding the mapping relation between the CCC (n, n) and the vertex and edge of the linear array and the grid respectively, so that the line length is the shortest for the linear array and the grid after mapping;
s2, embedding n-dimensional cube communication circle CCC (n, n) into linear array P (n × 2)n) Let f: v (CCC (n, n)) → V (P (n × 2)n) Denotes an embedding, numbering CCC (n, n) periodically according to the recursive construction process of the hypercube, P (n × 2)n) The vertex in (1, 2, K, n x 2)nLet f (v) be lex (v) for any v ∈ CCC (n, n);
the linear array is specifically as follows: p (nx 2)n) Is represented by having n × 2nA linear array of vertices, wherein vertices V (P (n × 2) of the linear arrayn))={1,2,K,n×2nEdge E of the linear array (P (n × 2)n))={(i,i+1)|i∈[1,n×2n-1]};
Numbering CCC (n, n) periodically according to the recursion composition process of the hypercube, specifically: hypercube (Q)n) The recursive constitution of (c) is expressed as: q1=k2,Wherein K2Is a second order complete graph, QnU-u of two vertexesn-1L u1u0And v ═vn-1L v1v0The two-dimensional structure is numbered clockwise according to a dragon mode from (0,0) on the basis that the recursion forming mode of the CCC is consistent with that of a hypercube if and only if u and v have different coordinates, and the vertexes of the CCC are numbered in three-dimensional and above according to two-dimensional recursion;
s3, embedding the n-dimensional cube communication circle CCC (n, n) into the grid M (n, 2)n) Let p: v (CCC (n, n)) → V (M (n, 2)n) Represents an embedding, the first row in the grid being 0 to 2 from left to rightn-1 is numbered, line i is from left to right according to (i-1)2n,(i-1)2n+1,K,i×2n-1 is numbered, where i ═ 0, 1, K, n-1, for any u ∈ CCC (n, n),wherein u ═ u (u)n-1L u0J) (j is more than or equal to 0 and less than or equal to n), then
The grid structure specifically is: an M x n grid M (M, n) is represented by an M x n matrix,
wherein v (m) ═ { αijI is more than or equal to 1 and less than or equal to m, and j is more than or equal to 1 and less than or equal to n }, when i is more than or equal to 1 and less than or equal to m and j is more than or equal to 1 and less than or equal to n-1, (alpha)i,j,αi,j+1) E (M), when k is more than or equal to 1 and less than or equal to m-1 and l is more than or equal to 1 and less than or equal to n, (alpha)k,l,αk+1,l)∈E(M)。
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111002016.2A CN114266216B (en) | 2021-08-30 | 2021-08-30 | Method for minimizing chip layout line length |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111002016.2A CN114266216B (en) | 2021-08-30 | 2021-08-30 | Method for minimizing chip layout line length |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114266216A true CN114266216A (en) | 2022-04-01 |
CN114266216B CN114266216B (en) | 2024-09-06 |
Family
ID=80824584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111002016.2A Active CN114266216B (en) | 2021-08-30 | 2021-08-30 | Method for minimizing chip layout line length |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114266216B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5794059A (en) * | 1990-11-13 | 1998-08-11 | International Business Machines Corporation | N-dimensional modified hypercube |
CN109033580A (en) * | 2018-07-11 | 2018-12-18 | 中国矿业大学(北京) | A kind of Layer assignment method applied to three dimensional integrated circuits |
CN111143957A (en) * | 2020-01-02 | 2020-05-12 | 大连理工大学 | Complete binary tree embedding method based on augmented cube network |
-
2021
- 2021-08-30 CN CN202111002016.2A patent/CN114266216B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5794059A (en) * | 1990-11-13 | 1998-08-11 | International Business Machines Corporation | N-dimensional modified hypercube |
CN109033580A (en) * | 2018-07-11 | 2018-12-18 | 中国矿业大学(北京) | A kind of Layer assignment method applied to three dimensional integrated circuits |
CN111143957A (en) * | 2020-01-02 | 2020-05-12 | 大连理工大学 | Complete binary tree embedding method based on augmented cube network |
Non-Patent Citations (2)
Title |
---|
何高兴;梁家荣;郭晨;: "局部扭立方体网络中网络嵌入问题的研究", 计算机应用与软件, no. 12, 15 December 2015 (2015-12-15) * |
闫海霞;周强;洪先龙;: "采用统一建模的拥挤度驱动三维芯片布局算法", 计算机辅助设计与图形学学报, no. 10, 15 October 2008 (2008-10-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN114266216B (en) | 2024-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2512661B2 (en) | Non-binary hypercube type computer system and network connection method for multiple nodes | |
CN102065019B (en) | IP (Internet Protocol) core fast mapping method for network on chip based on region division | |
CN115115043B (en) | On-chip-inter-chip interconnected neural network chip hardware architecture design method and system | |
CN111079078A (en) | Parallel solution of lower triangular equations for structured grid sparse matrices | |
CN102325089A (en) | Mapping Method of Fat Tree Network-on-Chip Based on Differential Evolution and Predator Search Strategy | |
CN103428804A (en) | Method for searching mapping scheme between tasks and nodes of network-on-chip (NoC) and network code position | |
CN108173760B (en) | An On-Chip Network Mapping Method Based on Improved Simulated Annealing Algorithm | |
CN116842998A (en) | Distributed optimization-based multi-FPGA collaborative training neural network method | |
CN101625673A (en) | Method for mapping task of network on two-dimensional grid chip | |
CN111475461A (en) | AI application-oriented network-on-chip mapping method | |
CN114266216A (en) | A method to minimize chip layout line length | |
JPH05324586A (en) | Multiprocessor computer system and data assgning method therefor | |
CN112580774B (en) | Neural network layout method for reconfigurable neural network processor | |
CN109150717B (en) | A Combinatorial Routing Method for Optimizing On-Chip Network Power Consumption | |
CN112001141B (en) | Brain network inspired middle-large scale on-die interconnection system comprehensive method | |
CN109038543A (en) | A kind of state estimation calculation method based on CPU+GPU mixing isomery | |
Fan et al. | CCASM: A Computation-and Communication-Aware Scheduling and Mapping Algorithm for NoC-Based DNN Accelerators | |
CN107526894B (en) | A Layout and Route Method for TriBA-CMPs with Multi/Many Core Architectures | |
CN105205033A (en) | Network-on-chip IP core mapping method based on application division | |
Oliveira et al. | Mapping wired links in a hybrid wired-wireless network-on-chip | |
Bhulania et al. | 3D implementation of heterogeneous topologies on MPSoC | |
CN104717111B (en) | A kind of extension exchanges cubical internet system | |
Al Khanjari et al. | The impact of traffic localisation on the performance of nocs for very large manycore systems | |
Gulzari et al. | The Scalable Octagonal-Cross-By-Pass-Torus topology for the on-chip-communication | |
Albdaiwi et al. | Perfect distance-d placements in 2D toroidal networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |