A method for minimizing chip layout line length

By analyzing the cubic connected circle structure and encoding the nodes, the embedded wire length in the chip layout is minimized, which solves the problems of communication delay and low processor utilization caused by too long wire lengths in the existing technology, and improves network performance.

CN114266216BActive Publication Date: 2024-09-06HENAN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111002016.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-09-06
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

The existing chip layout has long wire lengths, which results in communication delays and low processor utilization, affecting network performance.

Method used

By analyzing the structural characteristics of the cube connected circle (CCC), using certain rules to encode the nodes, find the mapping relationship between the CCC and the vertices and edges of the linear array and grid structure, and embed the n-dimensional cube connected circle to realize the linear array and grid Embedding with minimized midline length.

Benefits of technology

It effectively reduces network communication delay, improves processor utilization, and provides theoretical guidance and practical application value for quantitative analysis and evaluation of interconnection network design and performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114266216B
    Figure CN114266216B
Patent Text Reader

Abstract

The invention relates to the field of chip layout graph embedding technology, and discloses a method for minimizing the line length of chip layout, comprising the following steps: S1, the common structure of the chip is a linear array and a grid, a graph G(V,E) is used to represent an interconnection network, wherein V is a vertex set representing a communication node; E is an edge set representing a physical link, and by analyzing the structural characteristics of cube-connected cycles (CCC), encoding its nodes according to a certain rule, respectively finding the mapping relationship between CCC and the vertices and edges of the linear array and grid structure, and finally embedding an n-dimensional cube-connected cycle (CCC(k,n), k≥n) in the linear array and the grid with the minimum line length; and later obtaining the line length after the embedding, which will effectively reduce the communication delay in the network and improve the utilization rate of the processor, and has important theoretical guidance and practical application value for the design of the interconnection network and the quantitative analysis and evaluation of network performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of chip layout embedding, and in particular to a method for minimizing the chip layout line length. Background Art

[0002] With the development of science and technology, the processing of massive data has placed higher and higher requirements on the computing power of processors. As an integrated circuit architecture, Network-on-chip can provide high-performance interconnection between processors. Its core idea is to describe the communication between processors on the chip. The connection mode between communication nodes in the system is defined by the topology. The performance of the network in terms of bandwidth, transmission delay, scalability, etc. depends largely on the topology. Due to the limitation of chip area, line length and layout become important factors affecting network performance such as transmission delay and throughput. The solution to the layout and routing problem can be classified as a graph embedding problem.

[0003] Embedding is not only related to the ability of a structure to simulate other structures, but also the length of the wire after embedding affects the communication between different communication nodes. Existing on-chip network structures mainly include grid, surround, honeycomb and other structures, which are relatively simple and easy to implement. Some researchers have embedded structures such as hypercubes and local twisted cubes into linear arrays and grids, and obtained the corresponding minimum wire length, so as to improve the performance of the network.

[0004] Hypercube networks play an important role in graph embedding, with 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 group of nodes that form a ring. At the same time, the k links connected to the same node in the hypercube are assigned to h nodes in the ring, aiming to reduce the number of links per node and improve system performance. It can be seen that CCC(h,k) contains h×2 k nodes, each node has an address (c,p) (0≤c≤2 k -1,0≤p≤h-1), where c indicates which ring the node belongs to and p indicates the position of the node in the ring. The CCC structure has good symmetry and regularity and has been widely used. There are cycles of all lengths in CCC. When n is an odd number, CCC is close to a pan-cycle, and when n is an even number, CCC is close to a double pan-cycle. CCC can better meet most of the requirements of the basic principles of network design, so it has become one of the popular topologies for parallel processing.

[0005] In summary, embedding good-performance networks into on-chip network structures to improve network performance is an important research direction, which has important theoretical guidance and practical significance for minimizing the line length of chip layout. Summary of the invention

[0006] (I) Technical solution

[0007] To achieve the above object, the present invention provides the following technical solution: a method for minimizing the line length of chip layout, comprising the following steps:

[0008] S1. The common structures of chips are linear arrays and grids. The graph G(V,E) is used to represent the interconnected network, where V is the vertex set, representing the communication nodes; E is the edge set, representing the physical link. By analyzing the structural characteristics of cube-connected cycles (CCC), its nodes are encoded according to certain rules, and the mapping relationship between CCC and the vertices and edges of linear arrays and grid structures is found respectively. Finally, an n-dimensional cube-connected cycle (CCC(k,n), k≥n) can be embedded in the linear array and grid with the minimum line length, including 2 n There are circles, each of which contains k vertices. This method discusses the case where n=k.

[0009] S2, embed the n-dimensional cube connected circle CCC(n,n) into the linear array P(n×2 n ), let f: V(CCC(n,n))→V(P(n×2 n )) represents an embedding, and CCC(n,n) is periodically numbered according to the recursive construction process of the hypercube, and P(n×2 n ) in the order of 1, 2, K, n×2 n The numbering is represented as lex. For any v∈CCC(n,n), let f(v)=lex(v);

[0010] S3, embed the n-dimensional cube connected 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, and the first row in the grid is from left to right in the order of 0 to 2 n -1, the i-th row is numbered from left to right according to (i-1)2 n , (i-1)2 n +1,K,i×2 n -1, where i = 0, 1, K, n-1, for any u∈CCC(n,n), where u=(u n-1 L u0,j)(0≤j≤n), then

[0011] Preferably, the embedding in step S1 is specifically: a mapping from one topological structure to another topological structure, an embedding of graph G to graph H is expressed as a single injection of graph G to graph H, and this method discusses the embedding of CCC(n,n) to linear arrays and grids, that is, finding the vertex and edge mapping relationship between CCC(n,n) and linear arrays and grids respectively, so that after mapping, the line length is the shortest for the linear array and grid.

[0012] Preferably, the linear array in step S2 is specifically: P(n×2 n ) indicates that there are n×2 n A linear array of vertices, where the vertices of the linear array V(P(n×2 n ))={1,2,K,n×2 n}, the edge of the linear array E(P(n×2 n ))={(i,i+1)|i∈[1,n×2 n -1]}.

[0013] Preferably, in step S2, CCC(n,n) is periodically numbered according to the recursive construction process of the hypercube, specifically: n ) is expressed as: Q1 = k2, Where K2 is a complete graph of order 2, Q n The two vertices u=u n-1 L u1u0 and v=v n-1 L v1v0 is connected by an edge if and only if u and v have one different coordinate. The recursive construction method of CCC is consistent with that of the hypercube. On this basis, the two-dimensional structure is numbered clockwise from (0,0) in a one-stop manner. The vertices of CCC in three dimensions and above are numbered recursively according to the two-dimensional method.

[0014] Preferably, in step S3, the grid structure is specifically: an m×n grid M(m,n) is represented by an m×n matrix,

[0015]

[0016] Where V(M) = {α ij |1≤i≤m,and 1≤j≤n}, when 1≤i≤m,and 1≤j≤n-1, (α i,j ,α i,j+1 )∈E(M), when 1≤k≤m-1,and 1≤l≤n,(α k,l ,α k+1,l )∈E(M).

[0017] (II) Beneficial effects

[0018] The present invention provides a method for minimizing the line length of chip layout, which has the following beneficial effects:

[0019] The present invention discloses a method for minimizing the line length of chip layout, and later obtains the line length after embedding, which will effectively reduce the communication delay in the network and improve the utilization rate of the processor, and has important theoretical guidance and practical application value for the interconnection network design, quantitative analysis and evaluation of network performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Schematic diagram of the encoding method of CCC (3,3) periodicity that needs to be embedded in the linear array when n=3 in the present invention;

[0021] Figure 2 The linear array P (3×2 3 ) and the wiring diagram after CCC(3,3) embedding;

[0022] Figure 3 Schematic diagram of the encoding method of CCC (3,3) periodicity that needs to be embedded in the grid when n=3 in the present invention;

[0023] Figure 4 is the grid M(n,2 n ) encoding method diagram. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] like Figure 1-4 As shown, the present invention provides a technical solution: a method for minimizing the line length of chip layout, comprising the following steps:

[0026] S1. The common structures of chips are linear arrays and grids. The graph G(V,E) is used to represent the interconnected network, where V is the vertex set, representing the communication nodes; E is the edge set, representing the physical link. By analyzing the structural characteristics of cube-connected cycles (CCC), its nodes are encoded according to certain rules, and the mapping relationship between CCC and the vertices and edges of linear arrays and grid structures is found respectively. Finally, an n-dimensional cube-connected cycle (CCC(k,n), k≥n) can be embedded in the linear array and grid with the minimum line length, including 2 nThere are circles, each of which contains k vertices. This method discusses the case where n=k.

[0027] The embedding is specifically: a mapping from one topological structure to another topological structure. An embedding of a graph G to a graph H is represented by a single injection from a graph G to a graph H. This method discusses the embedding of CCC(n,n) to a linear array or a grid, that is, finding the vertex and edge mapping relationship between CCC(n,n) and the linear array or grid respectively, so that the line length is the shortest for the linear array or grid after the mapping.

[0028] S2, embed the n-dimensional cube connected circle CCC(n,n) into the linear array P(n×2 n ), let f: V(CCC(n,n))→V(P(n×2 n )) represents an embedding, and CCC(n,n) is periodically numbered according to the recursive construction process of the hypercube, and P(n×2 n ) in the order of 1, 2, K, n×2 n The numbering is represented as lex. For any v∈CCC(n,n), let f(v)=lex(v);

[0029] The linear array is specifically: P(n×2 n ) indicates that there are n×2 n A linear array of vertices, where the vertices of the linear array V(P(n×2 n ))={1,2,K,n×2 n}, the edge of the linear array E(P(n×2 n ))={(i,i+1)|i∈[1,n×2 n -1]};

[0030] According to the recursive construction process of the hypercube, CCC(n,n) is periodically numbered, specifically: Hypercube (Q n ) is expressed as: Q1 = k2, Where K2 is a complete graph of order 2, Q n The two vertices u=u n-1 L u1u0 and v=v n-1 L v1v0 is connected by an edge if and only if u and v have a different coordinate. The recursive construction method of CCC is consistent with that of the hypercube. On this basis, the two-dimensional structure is numbered clockwise from (0,0) in a one-stop manner. The vertices of CCC in three dimensions and above are numbered recursively according to the two-dimensional method.

[0031] S3, embed the n-dimensional cube connected circle CCC(n,n) into the grid M(n,2 n ), let p: V(CCC(n,n))→V(M(n,2n )) represents an embedding, and the first row in the grid is from left to right in the order of 0 to 2 n -1, the i-th row is numbered from left to right according to (i-1)2 n , (i-1)2 n +1,K,i×2 n -1, where i = 0, 1, K, n-1, for any u∈CCC(n,n), where u=(u n-1 L u0,j)(0≤j≤n), then

[0032] The specific grid structure is: an m×n grid M(m,n) is represented by an m×n matrix.

[0033]

[0034] Where V(M) = {α ij |1≤i≤m,and 1≤j≤n}, when 1≤i≤m,and 1≤j≤n-1, (α i,j ,α i,j+1 )∈E(M), when 1≤k≤m-1,and 1≤l≤n,(α k,l ,α k+1,l )∈E(M).

[0035] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0036] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for minimizing chip layout line length, characterized in that: The following steps are involved: S1. The common structures of chips are linear arrays and grids. The graph G(V,E) is used to represent the interconnected network, where V is the vertex set, representing the communication nodes; E is the edge set, representing the physical link. By analyzing the structural characteristics of cube-connected cycles (CCC), its nodes are encoded according to certain rules, and the mapping relationship between CCC and the vertices and edges of linear arrays and grid structures is found respectively. Finally, an n-dimensional cube-connected cycle (CCC(k,n), k≥n) can be embedded in the linear array and grid with the minimum line length, including 2 n There are circles, each of which contains k vertices. This method discusses the case where n=k. S2, embed the n-dimensional cube connected circle CCC(n,n) into the linear array P(n×2 n ), let f: V(CCC(n,n))→V(P(n×2 n )) represents an embedding, and CCC(n,n) is periodically numbered according to the recursive construction process of the hypercube, and P(n×2 n ) in the order of 1, 2, K, n×2 n The numbering is represented as lex. For any v∈CCC(n,n), let f(v)=lex(v); S3, embed the n-dimensional cube connected 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, and the first row in the grid is from left to right in the order of 0 to 2 n -1, the i-th row is numbered from left to right according to (i-1)2 n , (i-1)2 n +1,K,i×2 n -1, where i = 0, 1, K, n-1, for any u∈CCC(n,n), where u=(u n-1 Lu0,j)(0≤j≤n), then 2. The method for minimizing chip layout line length according to claim 1, characterized in that: The embedding in step S1 is specifically: a mapping from one topological structure to another topological structure. An embedding of graph G to graph H is expressed as a single injection of graph G to graph H. This method discusses the embedding of CCC(n,n) to linear arrays and grids, that is, finding the vertex and edge mapping relationship between CCC(n,n) and linear arrays and grids respectively, so that after mapping, the line length for the linear array and grid is the shortest.

3. The method for minimizing chip layout line length according to claim 1, characterized in that: The linear array in step S2 is specifically: P(n×2 n ) indicates that there are n×2 n A linear array of vertices, where the vertices of the linear array V(P(n×2 n ))={1,2,K,n×2 n }, the edge of the linear array E(P(n×2 n ))={(i,i+1)|i∈[1,n×2 n -1]}.

4. The method for minimizing chip layout line length according to claim 1, characterized in that: In step S2, CCC(n,n) is periodically numbered according to the recursive construction process of the hypercube, specifically: n ) is expressed as: Q1 = k2, Where K2 is a complete graph of order 2, Q n The two vertices u=u n-1 Lu1u0 and v=v n-1 L v1v0 is connected by an edge if and only if u and v have one different coordinate. The recursive construction method of CCC is consistent with that of the hypercube. On this basis, the two-dimensional structure is numbered clockwise from (0,0) in a one-stop manner. The vertices of CCC in three dimensions and above are numbered recursively according to the two-dimensional method.

5. The method for minimizing chip layout line length according to claim 1, characterized in that: In step S3, the grid structure is specifically: an m×n grid M(m,n) is represented by an m×n matrix, Where V(M) = {α ij |1≤i≤m,and 1≤j≤n}, when 1≤i≤m,and 1≤j≤n-1, (α i,j ,α i,j+1 )∈E(M), when 1≤k≤m-1,and 1≤l≤n,(α k,l ,α k+1,l )∈E(M).