Flip chip package escape routing control method and apparatus

By identifying and processing congested areas with irregular pad structures in flip-chip packaging, constructing a network flow model, and utilizing a multi-layer packaging structure, the problem of low routing success rate in existing technologies is solved, achieving a 100% routing success rate.

CN123159248APending Publication Date: 2026-11-24GUANGDONG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611343498.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing flip chip routing methods rely on regular bump pad structures, which cannot adapt to advanced packaging scenarios with irregular pad structures and severe local congestion, resulting in a decrease in routing success rate. General-purpose routers also cannot effectively solve this problem.

Method used

By projecting input/output pads and bump pads onto the same plane and uniformly expanding them outwards, congested regions are identified. Within these congested regions, the network flow model is constructed to solve for escape routing paths. Multi-layer package structures are used to distribute routing pressure, and dynamic via insertion is employed to handle pads that fail to escape.

Benefits of technology

It achieves 100% routing success rate under irregular pad structures, improving routing success rate in complex scenarios, especially when using FreeRouting and Allegro tools, improving success rates by 81.6% and 96.8% respectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159248A_ABST
    Figure CN123159248A_ABST
Patent Text Reader

Abstract

This application relates to an escape routing control method and apparatus for flip-chip packages. The method includes: constructing corresponding network flow models for each conventional rectangular block and a double-opening rectangular block, wherein, for the double-opening rectangular block, the capacity parameter of its network flow model is solved by edge cut capacity constraints; establishing and solving a global flow network based on each network flow model to obtain the escape routing guidance path for each input / output pad; generating detailed routing results for each input / output pad based on each escape routing guidance path; for input / output pads for which no feasible escape path is found in the global flow network solution, switching the input / output pad to an adjacent routing layer by dynamic via insertion, and repeating the above steps on the adjacent routing layer until all input / output pads have completed escape routing or a preset layer limit has been reached, and outputting the escape routing paths for all input / output pads. This application solves the local congestion problem under irregular pad structures and significantly improves the escape routing success rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated circuits, and more particularly to an escape wiring control method and corresponding apparatus for flip-chip packaging. Background Technology

[0002] Flip-chip packages are widely used in modern VLSI design. They provide shorter trace lengths and higher I / O pin density by flipping the die and connecting it to the package substrate using bumps. Inside the package, a redistribution layer (RDL) connects the I / O pads to the bump pads without changing their physical location. Flip-chip package pad structures are divided into two main categories: peripheral I / O structures and area I / O structures.

[0003] Existing flip-chip routing methods rely on a regular rectangular array of bump pads. For peripheral I / O structures, I / O pads are arranged in a ring outside the array. Existing methods divide the layout evenly into smaller rectangular tiles and establish a tile model. However, for regional I / O, since I / O pads are scattered throughout the array, existing methods use Voronoi diagrams and Delaunay triangulation to partition the layout and construct corresponding triangular tile models. Flip-chip routing is also divided into free-assignment nets and pre-assignment nets. For free-assignment nets, I / O pads can be freely connected to any bump pad, and network flow algorithms are often used to solve the free-assignment net routing problem. In pre-assignment nets, there is a one-to-one mapping between I / O pads and bump pads, and methods such as integer linear programming are generally used to solve the problem.

[0004] With the development of advanced packaging technologies, pad structures have become increasingly irregular. Bump pads are no longer laid out in a regular matrix array, and pad clusters form in local areas, causing high congestion and severely reducing routing success rates. Existing flip-chip routing methods rely on regular bump pad structures, which are not suitable for current routing scenarios; while general-purpose routers (such as the open-source routing tool FreeRouting and the commercial routing tool Allegro) cannot solve the problems of local congestion and reduced routing success rates under irregular pad structures.

[0005] In summary, existing flip-chip routing methods rely on regular bump pad structures, which cannot adapt to advanced packaging scenarios with irregular pad structures and severe local congestion. Furthermore, general-purpose routers cannot solve the problem of decreased routing success rate in such scenarios. Therefore, the applicant has made corresponding explorations to address this issue. Summary of the Invention

[0006] The purpose of this application is to solve the above-mentioned problems by providing an escape wiring control method and corresponding device for flip chip packaging.

[0007] To achieve the various objectives of this application, the following technical solution is adopted:

[0008] An escape routing control method for flip-chip packages, proposed to meet one of the purposes of this application, includes:

[0009] Obtain the wiring layout of the flip chip package, including the position and size information of input / output pads and bump pads; based on the position and size information, project all input / output pads and bump pads onto the same plane and expand them outward geometrically in a unified manner, and merge the overlapping pad areas after expansion into congested areas;

[0010] The wiring layout is divided within the congested area, and the resulting wiring blocks are merged. If the merged wiring block has at least two edges, and each edge contains both an opening and an input / output object, the wiring block is further divided until each wiring block is a regular rectangular block or a double-opening rectangular block. The double-opening rectangular block is a rectangular block with one edge that contains both an opening and an input / output object.

[0011] For each of the conventional rectangular blocks and double-opening rectangular blocks, a corresponding network flow model is constructed. For the double-opening rectangular block, the capacity parameter of its network flow model is solved by cutting edge capacity constraints.

[0012] A global flow network is established and solved based on the aforementioned network flow models to obtain the escape routing guidance path for each input and output pad; based on the aforementioned escape routing guidance path, detailed routing results for each input and output pad are generated.

[0013] For input / output pads with no feasible escape path in the global flow network solution, the input / output pads are switched to adjacent routing layers by dynamic via insertion, and the above steps are repeated on the adjacent routing layers until all input / output pads complete escape routing or reach the preset layer limit, and the escape routing paths of all input / output pads are output.

[0014] Optionally, based on the location and size information, the step of projecting all input / output pads and bump pads onto the same plane and uniformly expanding them outwards geometrically, and merging the overlapping pad areas after expansion into a congested region, includes:

[0015] Project all input / output pads and bump pads onto the same plane, and expand the boundaries of each pad uniformly outward by half the congestion threshold.

[0016] Merge the overlapping pads after expansion into a connected region;

[0017] The merged connected regions are filled with corners to regularize the region's shape, and then the expansion distance is uniformly shrunk inward to obtain the congested region.

[0018] Optionally, the step of dividing the cabling layout within the congested area and merging the resulting cabling blocks includes:

[0019] Extend the wiring layout boundary, each pad boundary and each obstacle boundary within the congested area until each extension line intersects with other objects or wiring layout boundaries, and the wiring layout is divided into multiple initial wiring blocks by each of the extension lines.

[0020] A graph structure is constructed using each initial wiring block as a vertex and the adjacency relationship between adjacent initial wiring blocks as edges, and the weight of the edges is set to the aspect ratio of the merged wiring block.

[0021] Generate a minimum spanning tree with the geometric center of the graph structure as the root node;

[0022] Traverse from the leaf nodes of the minimum spanning tree toward the root node. For the currently traversed node, enumerate all candidate schemes for merging the node with its neighboring nodes, calculate the merging cost of each candidate scheme, and select the candidate scheme with the lowest merging cost to perform the merging, so as to eliminate narrow wiring blocks.

[0023] Optionally, the step of constructing the network flow model of the double-opening rectangular block includes:

[0024] Based on the topological structure of the edges of the double-opening rectangular block, each edge is divided into external cut edges and internal cut edges to obtain a set of cut edges;

[0025] Determine the maximum number of physical connections that each cut edge can pass through, and allocate connections to each cut edge in the manner of first allocating adjacent connections and then allocating non-adjacent connections, until each cut edge reaches the upper limit of the maximum number of physical connections. The final number of connections that each cut edge passes through is determined as the capacity parameter of that cut edge.

[0026] Based on the capacity parameters of each cut edge and the cut edge capacity constraint equation, the capacity parameters of the network flow model of the double-opening rectangular block are solved. The capacity parameters include the capacity of the outer edge, the capacity of the inner edge, and the capacity of the center node.

[0027] Optionally, the cut edge capacity constraint equation includes external cut edge capacity constraints and internal cut edge capacity constraints; the external cut edge capacity constraint is that the capacity of each external edge in the double-opening rectangular block network flow model is equal to the capacity parameter of the corresponding external cut edge; the internal cut edge capacity constraint is that in the double-opening rectangular block network flow model, the capacity parameter of each internal cut edge does not exceed the sum of the capacity of the internal edge between the two sets of peripheral nodes separated by the internal cut edge and the capacity of the center node;

[0028] Based on the external and internal cut edge capacity constraints, the flow feasible solution of the double-opening rectangular block network flow model is equivalent to the physical wiring capacity constraint.

[0029] Optionally, the capacity of the central node of the double-opening rectangular block network flow model is the remainder of the sum of the capacity parameters of all internal cut edges divided by 2.

[0030] Optionally, the step of calculating the internal edge capacity includes:

[0031] Calculate the difference between the capacity parameter of each internal cut edge and the capacity of the center node, and determine it as the cut edge difference;

[0032] Calculate half of the sum of all the edge cut differences mentioned above, and use it as an intermediate value;

[0033] Based on the topological correspondence between the internal edges and internal cut edges of the double-opening rectangular block, each internal edge corresponds to two cut edge differences. The internal edge capacity of each internal edge is obtained by subtracting the two cut edge differences corresponding to each internal edge from the intermediate value.

[0034] Optionally, the step of establishing and solving a global flow network based on each of the aforementioned network flow models to obtain the escape routing guidance path for each input and output pad includes:

[0035] Assemble the network flow models corresponding to all wiring blocks according to the adjacency relationship between each wiring block to establish a global flow network;

[0036] In the global flow network, source nodes and sink nodes are introduced, and the escape pad nodes corresponding to each input and output pad are connected to the source node, and the escape edge nodes are connected to the sink node.

[0037] With the goal of maximizing the total flow from the source node to the sink node and minimizing the total cost, the global flow network is solved to obtain the escape routing guidance path from the escape pad node to the escape edge node for each input and output pad.

[0038] Optionally, the step of generating detailed routing results for each input / output pad based on each escape routing guide path includes:

[0039] Based on the escape wiring guide paths described above, connection points are determined at the edges of each wiring block, so that the connection points are evenly distributed along the edges of the wiring blocks.

[0040] Geometric alignment is performed on each of the connection points to ensure that the relative connection points meet the design constraints.

[0041] Interconnect the connection points using interconnecting lines to generate detailed wiring results within each wiring block.

[0042] An escape routing control device for a flip-chip package, provided for another purpose of this application, includes:

[0043] The congestion region identification module is configured to acquire the wiring layout of the flip chip package, including the position and size information of input / output pads and bump pads; based on the position and size information, all input / output pads and bump pads are projected onto the same plane and geometrically expanded outward in a unified manner, and the pad areas that overlap after expansion are merged into congestion regions;

[0044] The routing layout partitioning module is configured to partition the routing layout within the congested area, merge the partitioned routing blocks, and if the merged routing block has at least two edges, and each edge simultaneously contains an opening and an input / output object, then the routing block is further partitioned until each routing block is a regular rectangular block or a double-opening rectangular block; wherein, the double-opening rectangular block is a rectangular block with one edge simultaneously containing an opening and an input / output object.

[0045] The network flow model construction module is configured to construct corresponding network flow models for each of the conventional rectangular blocks and double-opening rectangular blocks, wherein, for the double-opening rectangular blocks, the capacity parameter of its network flow model is solved by cutting edge capacity constraints;

[0046] The routing result generation module is configured to establish and solve a global flow network based on each of the aforementioned network flow models to obtain the escape routing guidance path for each input and output pad; and generate detailed routing results for each input and output pad based on each of the aforementioned escape routing guidance paths.

[0047] The interlayer escape output module is configured to switch the input and output pads with no feasible escape path in the global flow network solution to the adjacent routing layer by dynamic via insertion, and repeat the above steps in the adjacent routing layer until all input and output pads complete escape routing or reach the preset layer limit, and output the escape routing path of all input and output pads.

[0048] Compared to existing technologies, this application addresses the shortcomings of current flip-chip routing methods, which rely on regular bump pad structures and cannot adapt to advanced packaging scenarios with irregular pad structures and severe local congestion. Furthermore, general-purpose routers cannot solve the problem of decreased routing success rates in such scenarios. This application offers the following advantages, including but not limited to:

[0049] Firstly, this application projects input / output pads and bump pads of different sizes onto the same plane and geometrically expands them outwards. It determines whether the pad spacing is less than a congestion threshold based on whether the expanded areas overlap, replacing the traditional center-distance-based method. This solves the problem of inaccurate congestion area identification in scenarios where pads of different sizes coexist. It can accurately identify areas with limited routing resources and high congestion in the output diagram, providing precise spatial constraints for subsequent escape routing. Through a processing chain of geometric expansion, overlap detection, corner filling, and inward contraction, the identified congestion area contours are regularized, while blank routing areas generated by expansion are removed, reserving more usable resources for subsequent routing and avoiding wasted routing space due to excessively large congestion area definitions.

[0050] Secondly, this application subdivides the routing layout within congested areas and further subdivides routing blocks with at least two edges containing both openings and I / O objects after merging them. This ensures that each routing block is a regular rectangular block or a double-opening rectangular block, thus supporting independent modeling of double-opening rectangular blocks. For double-opening rectangular blocks, a network flow model is designed that includes external edge capacity, internal edge capacity, and central node capacity. The capacity parameter is solved through cut edge capacity constraints, solving the problem that traditional rectangular block models cannot accurately model double-opening rectangular blocks where "one edge simultaneously contains both an opening and an I / O object." This allows the network flow algorithm to generate solutions that meet physical capacity constraints on routing blocks involving I / O objects. Based on Maley's cut edge capacity constraint theory, as long as there is a feasible flow allocation scheme in the network flow model, there must exist a physical routing scheme that satisfies all design constraints. The flow feasible solution is completely equivalent to the physical routing capacity constraint, ensuring the mathematical rigor and physical realizability of the algorithm.

[0051] Thirdly, this application establishes and solves a global flow network based on each network flow model to obtain the escape routing guidance path for each input and output pad, and generates detailed routing results accordingly. This separates the global logical planning of the escape path from the local physical implementation, improving the solution efficiency and success rate of escape routing in complex congestion scenarios. For input and output pads with no feasible escape path in the global flow network solution, a layer-by-layer escape strategy prioritizing resource-constrained layers is adopted. For pads that fail to escape, dynamic via insertion switches to adjacent routing layers and repeats the escape routing process. This fully utilizes the additional routing resources provided by the multi-layer package structure, distributing the routing pressure of congested areas to different physical layers, and solving the problem of severely reduced routing success rate caused by local high congestion in irregular pad structures.

[0052] Fourth, compared with the traditional rectangular block model, the dual-opening network flow model proposed in this application can accurately model the capacity of routing blocks involving I / O objects, ensuring that the network flow algorithm can generate solutions that meet capacity constraints. Experimental data shows that the model proposed in this application achieves a 100% routing success rate in the escape routing stage due to the consideration of complete capacity constraints; while the traditional model has about 2.7% of pads that cannot be routed.

[0053] Fifth, compared with directly using existing routers (FreeRouting or Allegro), the congestion-aware escape routing method proposed in this application, as a preprocessing step for existing routers, can improve the overall routing success rate. Experimental data shows that when facing complex benchmark sets with irregular pad structures, the average routing success rate of directly using FreeRouting is only 81.6%, while after using the algorithm of this application as preprocessing to complete congestion area escape routing, the routing success rate of FreeRouting increases to 100%. Similarly, on the commercial tool Allegro, this application also improves the average routing success rate from 96.8% to 99.8%. Attached Figure Description

[0054] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0055] Figure 1 This is a schematic diagram of the flip-chip package pad structure in an embodiment of this application;

[0056] Figure 2 This is a flowchart illustrating the escape wiring control method for flip-chip packaging in an embodiment of this application.

[0057] Figure 3 This is a schematic diagram of a conventional rectangular block and a double-opening rectangular block in the embodiments of this application;

[0058] Figure 4 This is a schematic diagram of a dual-aperture network flow model in an embodiment of this application;

[0059] Figure 5 This is a schematic diagram of the cut edges and connection types of the double-opening rectangular block in the embodiments of this application;

[0060] Figure 6 This is a schematic diagram illustrating congestion region identification in an embodiment of this application;

[0061] Figure 7 This is a schematic diagram illustrating the calculation of the edge trimming capacity parameter in an embodiment of this application;

[0062] Figure 8 This is a schematic diagram of wiring block segmentation and merging in an embodiment of this application;

[0063] Figure 9 This is a schematic diagram of wiring block merging in an embodiment of this application;

[0064] Figure 10 This is a schematic diagram illustrating the network flow construction and solution in the embodiments of this application;

[0065] Figure 11 This is a schematic diagram showing the detailed wiring in an embodiment of this application;

[0066] Figure 12 This is a schematic diagram of the multi-layer escape routing results in the embodiments of this application;

[0067] Figure 13 This is a schematic block diagram of the escape wiring control device for flip-chip packaging in the embodiments of this application;

[0068] Figure 14 This is a schematic diagram of the structure of the computer device in the embodiments of this application. Detailed Implementation

[0069] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0070] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.

[0071] Those skilled in the art will understand that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0072] Those skilled in the art will understand that the terms "client," "terminal," and "terminal device" as used herein include both devices that receive wireless signals, devices that only possess wireless signal receiver capabilities without transmission capabilities, and devices with receiving and transmitting hardware, devices that have receiving and transmitting hardware capable of bidirectional communication over a bidirectional communication link. Such devices may include: cellular or other communication devices such as personal computers or tablets, having single-line displays, multi-line displays, or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service) that can combine voice, data processing, fax, and / or data communication capabilities; PDAs (Personal Digital Assistants) that may include radio frequency receivers, pagers, internet / intranet access, web browsers, notebooks, calendars, and / or GPS (Global Positioning System) receivers; and conventional laptops and / or handheld computers or other devices that have and / or include radio frequency receivers. As used herein, "client," "terminal," and "terminal device" can be portable, transportable, installed in a means of transportation (air, sea, and / or land), or suitable and / or configured to operate locally and / or in a distributed manner, operating in any other location on Earth and / or in space. "Client," "terminal," and "terminal device" as used herein can also be a communication terminal, an internet access terminal, or a music / video playback terminal, such as a PDA, a MID (Mobile Internet Device), and / or a mobile phone with music / video playback capabilities, or a smart TV, set-top box, etc.

[0073] The hardware referred to by the names "server," "client," and "service node" in this application is essentially an electronic device with the equivalent capabilities of a personal computer. It is a hardware device with the necessary components revealed by the von Neumann architecture, such as a central processing unit (including an arithmetic logic unit and a control unit), memory, input devices, and output devices. The computer program is stored in its memory, and the central processing unit loads the program stored in the secondary storage into the main memory to run it, execute the instructions in the program, and interact with the input and output devices to complete specific functions.

[0074] It should be noted that the concept of "server" used in this application can also be extended to the case of server clusters. Based on the network deployment principles understood by those skilled in the art, the servers should be logically divided. Physically, these servers can be independent of each other but accessible through interfaces, or they can be integrated into a single physical computer or a computer cluster. Those skilled in the art should understand this flexibility and should not use it to constrain the implementation of the network deployment method in this application.

[0075] One or more of the technical features of this application, unless explicitly specified herein, can be deployed on a server and accessed by a client remotely calling the online service interface provided by the server, or can be directly deployed and run on a client for access.

[0076] Unless otherwise specified, the neural network models referenced or potentially referenced in this application may be deployed on a remote server and invoked remotely on the client, or deployed on a client with the capability to invoke directly. In some embodiments, when running on the client, the corresponding intelligence may be acquired through transfer learning in order to reduce the requirements on the client's hardware resources and avoid excessive consumption of the client's hardware resources.

[0077] Unless otherwise specified, all data involved in this application may be stored remotely on a server or on a local terminal device, as long as it is suitable for use by the technical solution of this application.

[0078] Those skilled in the art will understand that although the various methods in this application are described based on the same concept and thus present commonality among them, they can be performed independently unless otherwise specified. Similarly, the various embodiments disclosed in this application are all based on the same inventive concept; therefore, concepts expressed in the same way, as well as concepts that are appropriately changed for convenience but are expressed differently, should be understood equivalently.

[0079] Unless otherwise expressly stated, the various embodiments disclosed in this application can be combined in a cross-cutting manner to flexibly construct new embodiments, as long as such combination does not depart from the inventive spirit of this application and can meet the needs of the prior art or solve a certain deficiency in the prior art. Those skilled in the art should be aware of such modifications.

[0080] Please see Figure 1Flip-chip packaging is widely used in modern VLSI design. It provides shorter trace lengths and higher I / O pin density by flipping the die and connecting it to the package substrate using bumps. Inside the package, a redistribution layer (RDL) connects the input / output (I / O) pads to the bump pads without changing their physical location.

[0081] like Figure 1 (a) and Figure 1 As shown in (b), flip chip package pad structures are divided into two main categories: peripheral-I / O structure and area-I / O structure.

[0082] Existing flip-chip routing methods rely on a regular rectangular array of bump pads. For peripheral I / O structures, input / output (I / O) pads are arranged in a ring outside the array. Existing methods uniformly divide the layout into smaller rectangular tiles and establish a tile model. However, in regional I / O, since the input / output (I / O) pads are scattered throughout the array, existing methods use Voronoi diagrams and Delaunay triangulation for layout partitioning and construct corresponding triangular tile models. Flip-chip routing is also divided into free-assignment nets and pre-assignment nets. For freely allocated nets, input / output (I / O) pads can be freely connected to any bump pads, and network flow algorithms are often used to solve the routing problem of freely allocated nets. In pre-allocated nets, there is a one-to-one mapping relationship between input / output (I / O) pads and bump pads, and methods such as integer linear programming are generally used to solve the problem.

[0083] With the development of advanced packaging technology, pad structures have become increasingly irregular. Bump pads are no longer laid out in a regular matrix array, and pad clusters form in localized areas, causing severe congestion and significantly reducing routing success rates. Figure 1As shown in (c), existing flip-chip routing methods rely on regular bump pad structures, which are not suitable for the current routing scenario; while general-purpose routers (such as the open-source routing tool FreeRouting and the commercial routing tool Allegro) cannot solve the problems of local congestion and reduced routing success rate under irregular pad structures.

[0084] Based on the above exemplary scenario, please refer to Figure 2 In one embodiment of the flip-chip package escape wiring control method of this application, the method includes:

[0085] Step S10: Obtain the wiring layout of the flip chip package, including the position and size information of input / output pads and bump pads; based on the position and size information, project all input / output pads and bump pads onto the same plane and expand them outward geometrically in a unified manner, and merge the pad areas that overlap after expansion into congested areas;

[0086] The escape routing control system for flip-chip packages in terminal equipment can take the routing layout of the flip-chip package, which includes the position and size information of input / output pads and bump pads; based on the position and size information, all input / output pads and bump pads are projected onto the same plane and uniformly expanded outward geometrically, and the overlapping pad areas after expansion are merged into congestion areas.

[0087] In some embodiments, a congested region refers to an area with limited cabling resources, in which the distance between two adjacent pads is less than a congestion threshold. To identify congested areas, existing technologies typically determine whether the spacing between two pads is too close based on the distance between their center points. However, this center-to-center spacing-based method fails when dealing with pads of different sizes. This is because the distance from the center to the boundary differs for pads of different sizes, so the actual distance between pads may differ even with the same center-to-center spacing.

[0088] In some embodiments, based on the location and size information, the step of projecting all input / output pads and bump pads onto the same plane and uniformly expanding them outwards geometrically, and merging the overlapping pad regions after expansion into a congestion region, includes:

[0089] Step S101: Project all input / output pads and bump pads onto the same plane, and expand the boundaries of each pad outward uniformly with half of the congestion threshold as the expansion distance.

[0090] First, extract the position coordinates and geometric dimensions of all input / output pads and bump pads from the flip-chip package routing layout. Input / output pads are located on the top redistribution layer, while bump pads are located on the bottom layer; since they are on different physical layers, all pads need to be projected onto the same two-dimensional plane so that the spatial positions of the two types of pads can be compared in the same coordinate system. Then, set a congestion threshold based on the current design's congestion level. With this congestion threshold half As an expansion distance, the boundaries of each pad are uniformly extended outwards. The expanded area represents a region centered on the pad with a radius of [missing information]. The extent of the impact: If the expanded areas of the two pads overlap, it indicates that the actual distance between the two pads is less than the congestion threshold. .

[0091] Step S102: Merge the overlapping pads after expansion into a connected region;

[0092] After expansion, overlapping pads are merged into connected regions, which are the initially identified congested areas. These regions represent the spatial extent of pad aggregation and tight routing resources, and are the focus of subsequent escape routing processing.

[0093] Step S103: Perform corner filling on the merged connected regions to regularize the region graphics, and then uniformly shrink the expansion distance inward to obtain the congested region.

[0094] The merged connected regions may contain small depressions or jagged boundaries, which are detrimental to subsequent subdivision and routing operations. Therefore, corner filling is required. Starting from any point in the graph, traverse adjacent sides clockwise, and determine whether the area of ​​the resulting rectangle is less than a preset threshold based on the length of the adjacent sides. If the area is smaller than the specified value, fill the area to make the outline of the graphic more regular. After filling, there are many blank wiring areas around the area caused by expansion, which need to be uniformly reduced inwards. These blank areas are removed, and the remaining areas are the final congested areas. Through the geometric operation chain of expansion, overlap detection, merging, and post-processing described above, congested areas in the published diagram can be accurately identified in scenarios where pads of different sizes coexist, providing precise spatial constraints for subsequent routing block subdivision and escape routing.

[0095] Step S20: Divide the wiring layout within the congested area, merge the resulting wiring blocks, and if the merged wiring block has at least two edges, and each edge contains both an opening and an input / output object, further divide the wiring block until each wiring block is a regular rectangular block or a double-opening rectangular block; wherein, the double-opening rectangular block is a rectangular block with one edge containing both an opening and an input / output object.

[0096] Obtain the wiring layout of the flip chip package, including the position and size information of input / output pads and bump pads; based on the position and size information, project all input / output pads and bump pads onto the same plane and expand them outward geometrically in a unified manner. After merging the overlapping pad areas into a congested area, the wiring layout is partitioned within the congested area. The partitioned wiring blocks are merged. If the merged wiring block has at least two edges, and each edge simultaneously contains an opening and an input / output object, the wiring block is further partitioned until each wiring block is a regular rectangular block or a double-opening rectangular block; wherein, the double-opening rectangular block is a rectangular block with one edge simultaneously containing an opening and an input / output object.

[0097] In some embodiments, the step of partitioning the cabling layout within the congested area and merging the partitioned cabling blocks includes:

[0098] Step S201: Extend the wiring layout boundary, each pad boundary and each obstacle boundary within the congested area until each extension line intersects with other objects or wiring layout boundaries, and divide the wiring layout into multiple initial wiring blocks by each extension line.

[0099] Within the congested area identified in step S10, various geometric objects exist, including the outer boundaries of the routing layout, the outer boundaries of each pad, and obstacle boundaries. By extending the outer boundaries of the routing layout, the outer boundaries of each pad, and the obstacle boundaries until the extension lines stop at other objects or layout boundaries, these extension lines constitute partitioning lines, cutting the routing layout within the congested area into multiple initial routing blocks. It should be noted that "obstacles" here refer to areas in the layout where routing is prohibited or occupied routing segments. This partitioning method is based on the natural boundaries of the layout's geometric objects, ensuring that the initial routing blocks after partitioning have regular geometric shapes, laying the foundation for subsequent modeling and solving.

[0100] Step S202: Construct a graph structure with each initial wiring block as a vertex and the adjacency relationship between adjacent initial wiring blocks as edges, and set the weight of the edges to the aspect ratio of the merged wiring block.

[0101] For the initial routing blocks generated in step S201, each routing block is abstracted as a vertex in the graph. If two routing blocks are spatially adjacent (sharing an edge), an edge is established between the corresponding two vertices. The weight of each edge is set to the aspect ratio of the merged routing block according to the following formula, which is expressed as:

[0102]

[0103] in, Indicates the weight of the edge; Indicates the merged wiring block The aspect ratio; This represents the height of the merged wiring block; Width of the merged wiring block; This indicates taking the maximum value.

[0104] As shown in the above calculation formula, the smaller the edge weight, the closer the merged routing block is to a square, and the closer its aspect ratio is to 1, which is more beneficial for subsequent routing. By constructing this graph structure, the routing block merging problem is transformed into a graph optimization problem.

[0105] Step S203: Using the geometric center of the graph structure as the root node, generate a minimum spanning tree;

[0106] Using the geometric center of the graph structure constructed in step S202 as the root node, a minimum spanning tree is generated. The minimum spanning tree preserves all vertices in the graph and the smallest set of weighted edges connecting these vertices, ensuring that any two vertices are still connected, but with the minimum total weight. This operation simplifies the complex graph structure into a tree structure, eliminates loops in the graph, and provides a clear hierarchical framework for subsequent bottom-up merging.

[0107] Step S204: Traverse from the leaf nodes of the minimum spanning tree towards the root node. For the currently traversed node, enumerate all candidate schemes for merging the node with its neighboring nodes, calculate the merging cost of each candidate scheme, and select the candidate scheme with the lowest merging cost to perform the merging, so as to eliminate narrow wiring blocks.

[0108] On the minimum spanning tree generated in step S203, starting from the leaf node (the vertex with no children), traverse upwards level by level towards the root node. For each currently traversed node, enumerate the candidate schemes for merging that node with all its adjacent nodes; the merging cost of each candidate scheme is expressed as:

[0109]

[0110] in, Indicates the first The aspect ratio of the merged wiring block; This indicates the total number of wiring blocks after merging. and The sum of is 1; This represents the merging cost of each candidate solution.

[0111] As can be seen from the above calculation formula, the merging cost of each candidate scheme is composed of the weighted sum of the aspect ratios of each merged cabling block and the total number of merged cabling blocks. This is the sum of the aspect ratios of all merged wiring blocks, reflecting the quality of the wiring block shape. The smaller the value, the more regular the wiring block shape. The total number of merged cabling blocks reflects the level of detail in the partitioning; a smaller value indicates a higher degree of merging. The solution with the lowest merging cost is selected from all candidate solutions and merged, repeating this process until all iterations are complete. This merging process primarily aims to eliminate narrow cabling blocks. By optimizing the merging cost function, a balance is struck between retaining more detail in smaller blocks and achieving regularity in merging into fewer large blocks, thereby improving subsequent cabling resource utilization and routing success rate.

[0112] Step S30: Construct corresponding network flow models for each of the conventional rectangular blocks and double-opening rectangular blocks, wherein, for the double-opening rectangular blocks, the capacity parameter of its network flow model is solved by cutting edge capacity constraints;

[0113] The routing layout is partitioned within the congested area, and the resulting routing blocks are merged. If the merged routing block contains at least two edges, and each edge contains both an opening and an input / output object, the routing block is further partitioned until each routing block is a regular rectangular block or a double-opening rectangular block. Then, a corresponding network flow model is constructed for each regular rectangular block and double-opening rectangular block. For the double-opening rectangular block, the capacity parameter of its network flow model is solved by edge cut capacity constraints.

[0114] In some embodiments, the existing rectangular block model defaults to one opening on each side (regular rectangular block), such as Figure 3 As shown in (a). In a double-opening rectangular block, one side contains both an opening and an input / output (I / O) object (the side is divided into two segments, one for the opening and the other for the input / output (I / O) object), as shown in... Figure 3 As shown in (b). Therefore, the existing rectangular block model cannot model a double-opening rectangular block.

[0115] To resolve this issue, please refer to [link / reference]. Figure 4 This application designs a two-opening tile model. Figure 4The model is illustrated using an example of an input / output (I / O) object on the northern edge. In this model, each opening and I / O object is represented as an outer node (W, N1, N2, E, S), and there is also a central node C. Each outer node has a bidirectional connection to the central node, with an infinite capacity; outer nodes also have connections to each other and to adjacent rectangular blocks or I / O objects. Connections to I / O objects are directed edges, while the remaining connections are bidirectional edges. The model introduces a total of 11 capacity parameters, including 5 outer edge capacities (W, N1, N2, E, S). ), 5 internal edge capacities ( and the capacity of one central node .

[0116] In a further embodiment, given a double-opening rectangular block, the step of constructing a network flow model for the double-opening rectangular block includes:

[0117] Step S301: Based on the topological structure of the edges of the double-opening rectangular block, divide each edge into external cut edges and internal cut edges to obtain a set of cut edges;

[0118] A double-opening rectangular block has 10 cut edges, including 5 external cut edges and 5 internal cut edges, such as... Figure 5 As shown in (b), the double-opening rectangular block is a special type of rectangular block obtained by partitioning, merging, and further partitioning the routing layout in the aforementioned steps. It has one side that simultaneously contains an opening (a gap area through which wires can pass) and an input / output (I / O) object (the area occupied by input / output pads). This rectangular block has four sides, but because one side is divided into two segments by the opening and the I / O object, there are five edge segments in the overall topology. Based on the connection relationships between these five edge segments, the cut edges located on the boundary of the rectangular block are divided into external cut edges (connecting the outside and inside of the rectangular block) and internal cut edges (connecting different areas inside the rectangular block).

[0119] Figure 5 (b) Taking the northern side as an example of an input / output (I / O) object, the specific division method of 10 cut edges is shown, which includes 5 external cut edges (corresponding to the external channels of each edge segment) and 5 internal cut edges (corresponding to the internal channels between each edge segment and the central region). These cut edges together constitute the cut edge set, which provides the topological basis for subsequent cut edge capacity parameter calculation.

[0120] Step S302: Determine the maximum number of physical connections that each cut edge can pass through. Assign connections to each cut edge in the manner of first assigning adjacent connections and then assigning non-adjacent connections, until each cut edge reaches the maximum number of physical connections. The final number of connections that each cut edge passes through is determined as the capacity parameter of that cut edge.

[0121] First, calculate the maximum number of physical connections that each cut edge can pass through based on design constraints. During connection allocation, check if the maximum number of physical connections exceeds the limit for each cut edge. If not, the connection can be allocated. Allocate connections by first connecting adjacent edges, then non-adjacent edges, until no further allocation is possible. The number of connections passing through the current cut edge at this point is the desired cut edge capacity parameter. (For cut edges...) Its edge cutting capacity parameter Defined as the maximum number of connections that the cut edge can pass through simultaneously in a double-opening rectangular block. Given a double-opening rectangular block, solve for the cut edge capacity parameter of each cut edge by first assigning adjacent connections and then assigning non-adjacent connections.

[0122] Design constraints govern physical rules such as trace width, spacing, and pad size. These rules determine the maximum number of traces that each cut edge can accommodate, i.e., the maximum number of physical connections. Adjacent and non-adjacent connections are defined as follows: Figure 5 (c) and Figure 5 As shown in (d), adjacent connections are defined by 5 connection types connecting adjacent edges, and non-adjacent connections are defined by 5 connection types connecting non-adjacent edges. The allocation strategy is to allocate adjacent connections first, then non-adjacent connections. For each candidate connection, it is checked whether there is still room for all cut edges it passes through. If all relevant cut edges have not reached the maximum physical connection limit, the connection can be allocated; otherwise, the connection is skipped. This process is repeated until all cut edges reach the capacity limit or there are no more assignable connections. The final number of connections passed through each cut edge is the capacity parameter of that cut edge. to ),in to The capacity parameter for the external cut edge. to This is the capacity parameter for the internal cut edge.

[0123] Step S303: Based on the capacity parameters of each cut edge and the cut edge capacity constraint equation, solve for the capacity parameters of the network flow model of the double-opening rectangular block. The capacity parameters include the capacity of the outer edge, the capacity of the inner edge, and the capacity of the center node.

[0124] In a specific embodiment, the cut edge capacity constraint equation includes an external cut edge capacity constraint and an internal cut edge capacity constraint; the external cut edge capacity constraint is that the capacity of each external edge in the double-opening rectangular block network flow model is equal to the capacity parameter of the corresponding external cut edge; the internal cut edge capacity constraint is that in the double-opening rectangular block network flow model, the capacity parameter of each internal cut edge does not exceed the sum of the capacity of the internal edge between the two sets of peripheral nodes separated by the internal cut edge and the capacity of the center node;

[0125] Based on the external and internal cut edge capacity constraints, the flow feasible solution of the double-opening rectangular block network flow model is equivalent to the physical wiring capacity constraint.

[0126] In step S302, the capacity parameters of each cut edge are obtained. to Then, substituting these values ​​into the edge-cutting capacity constraint equation, the model capacity parameters can be obtained. The edge-cutting capacity constraint equation includes:

[0127]

[0128]

[0129]

[0130]

[0131]

[0132]

[0133]

[0134]

[0135]

[0136]

[0137]

[0138] Formula (1) directly determines the capacity of the 5 outer edges: Formulas (2) to (11) constrain the relationship between the capacity of the internal edges and the capacity of the central node. Formulas (2) to (6) are inequality constraints, and formulas (7) to (11) are equality constraints, which together constitute a complete set of constraint equations. By solving this set of constraint equations, all 11 capacity parameters of the network flow model are obtained. Based on Maley's cut edge capacity constraint theory, this step strictly guarantees that as long as there is a feasible flow distribution scheme in the network flow model, there must exist a physical cabling scheme that satisfies all design constraints. That is, the flow feasible solution and the physical cabling capacity constraint are completely equivalent.

[0139] In some embodiments, the external capacity parameter can be calculated by formula (1) based on the cut edge capacity parameter; the center node capacity is calculated by formula (12); the internal edge capacity needs to satisfy formulas (2) to (11). Through derivation, the calculation of the internal edge capacity is shown in formulas (13) to (17), where... , .

[0140] Furthermore, the capacity of the central node in the double-opening rectangular block network flow model is the remainder of the sum of the capacity parameters of all internal cut edges divided by 2.

[0141] The formula for calculating the capacity of the central node in the double-opening rectangular block network flow model is as follows:

[0142]

[0143] in, to The capacity parameters for the five internal cut edges determined in step S302.

[0144] As shown in formula (12), the sum of the capacity parameters of all internal cut edges, divided by 2, gives the capacity of the center node. Since... to All values ​​are integers, and the result of this calculation can only be 0 or 1. This calculation method is derived from the mathematical definition of the capacity of the center node in the Maley cut edge capacity constraint theory. When the constraint equations (2) to (11) are satisfied, the value of the capacity of the center node is uniquely determined.

[0145] In some embodiments, the step of calculating the internal edge capacity includes:

[0146] Step S3001: Calculate the difference between the capacity parameter of each internal cut edge and the capacity of the center node, and determine it as the cut edge difference;

[0147] The capacity parameters of each internal cut edge are respectively to Subtract the capacity of the central node Obtain the difference of each cut edge to , that is .

[0148] Step S3002: Calculate half of the sum of the edge cut differences mentioned above, and use it as an intermediate value;

[0149] The edge trimming differences obtained in step S3001 to Add all the ingredients together and divide by 2 to get the intermediate value. .

[0150] Step S3003: Based on the topological correspondence between the internal edges and internal cut edges of the double-opening rectangular block, each internal edge corresponds to two cut edge differences. Subtract the two cut edge differences corresponding to each internal edge from the intermediate amount to obtain the internal edge capacity of each internal edge.

[0151] The formula for calculating the capacity of each internal edge is expressed as follows:

[0152]

[0153]

[0154]

[0155]

[0156]

[0157] That is, for each of the 5 internal edges, starting from the middle... Subtracting the difference between the two cut edges corresponding to the internal edge, we obtain the internal edge capacity of the internal edge. , , , as well as The two differences corresponding to each internal edge are determined by the topology of the double-opening rectangular block, as shown in formulas (13) to (17). The capacity of each internal edge is determined by the intermediate value. These positional relationships are calculated by subtracting the edge difference between two specific locations, and correspond to the adjacency relationships between the side segments in the double-opening rectangular block.

[0158] Step S40: Establish and solve the global flow network based on each of the network flow models to obtain the escape routing guidance path for each input and output pad; generate the detailed routing results for each input and output pad according to each of the escape routing guidance paths.

[0159] For each of the conventional rectangular blocks and double-opening rectangular blocks, a corresponding network flow model is constructed. For the double-opening rectangular block, the capacity parameter of its network flow model is solved by cutting edge capacity constraints. A global flow network is established and solved based on each of the network flow models to obtain the escape routing guidance path of each input and output pad. Based on each escape routing guidance path, the detailed routing results of each input and output pad are generated.

[0160] In some embodiments, the step of establishing and solving a global flow network based on each of the network flow models to obtain the escape routing guidance path for each input and output pad includes:

[0161] Step S401: Assemble the network flow models corresponding to all wiring blocks according to the adjacency relationship between each wiring block to establish a global flow network;

[0162] After merging and further subdividing the routing blocks in step S204, multiple regular rectangular blocks or double-opening rectangular blocks are generated within the congested area. Each routing block has its corresponding network flow model established in step S303 (regular rectangular blocks are based on the traditional rectangular block model, and double-opening rectangular blocks are based on the double-opening network flow model proposed in this application). These models are spatially adjacent. Connections are established between adjacent routing blocks sharing edges according to their adjacency relationships, thus assembling the independent network flow models into a unified global flow network. This assembly operation integrates all routing block models into a complete network graph, i.e., a global flow network, enabling escape paths to be continuously transmitted between different routing blocks.

[0163] Step S402: Introduce source nodes and sink nodes in the global flow network, connect the escape pad nodes corresponding to each input and output pad to the source node, and connect each escape edge node to the sink node;

[0164] Based on the global flow network established in step S401, it needs to be transformed into a solvable minimum-cost maximum flow problem. Therefore, a virtual source node (representing the starting point of all escape paths) and a virtual sink node (representing the ending point of all escape paths) are introduced. Escape pad nodes represent the input and output pads that need routing; connecting them all to the source node indicates that all escape paths originate from the source node. Escape edge nodes represent escape edge segments on the boundary of the routing block that can be traversed by wires; connecting them all to the sink node indicates that all escape paths eventually converge at the sink node. This step completes the topology expansion of the global flow network, enabling the entire routing problem to be solved within a unified source-sink framework.

[0165] Step S403: With the goal of maximizing the total flow from the source node to the sink node and minimizing the total cost, solve the global flow network to obtain the escape routing guidance path from the escape pad node to the escape edge node for each input and output pad.

[0166] In the global flow network with source and sink nodes constructed in step S402, each edge has capacity constraints and cost attributes: capacity is determined by the capacity parameters of the corresponding routing block network flow model, and cost reflects the consumption of routing resources or the cost of path length. The goal is to solve the minimum cost maximum flow problem, minimizing the total cost (i.e., minimizing the total routing cost of all paths) while ensuring the maximum total flow from the source node to the sink node (i.e., maximizing the number of input / output (I / O) pads that obtain escape paths). This problem is solved using standard minimum cost maximum flow algorithms (such as the consecutive shortest path algorithm or the network simplex method). The algorithm output is the flow allocation scheme from the corresponding escape pad node to a certain escape edge node for each input / output pad. This scheme is the escape routing guidance path for each input / output (I / O) pad, determining the complete logical path through which routing blocks each input / output (I / O) pad passes and from which escape edge it finally leaves the congested area.

[0167] In a further embodiment, the step of generating detailed routing results for each input / output pad based on each escape routing guide path includes:

[0168] Step S4001: According to each of the escape wiring guide paths, determine the connection points at the edge of each wiring block, so that each connection point is evenly distributed along the edge of the wiring block;

[0169] After obtaining the escape routing guidance path for each input / output pad in step S403, this path determines which routing blocks each I / O pad passes through sequentially and from which escape edge exits the congested area, but the specific physical traces have not yet been generated. Therefore, it is necessary to determine the specific locations of connection points on the edges of each routing block, serving as the physical ports for conductors to enter and exit the routing block. Connection points are evenly distributed along the edge of the routing block—that is, based on the number of connections required to pass through that edge, the connection points are evenly spaced within the available area of ​​that edge, ensuring a uniform distribution of connection points and avoiding local over-density or under-density, providing a regular spatial layout for subsequent geometric alignment and line segment interconnection.

[0170] Step S4002: Perform geometric alignment processing on each of the connection points to ensure that the relative connection points meet the design constraints;

[0171] The connection points determined in step S4001 are uniformly distributed. However, due to differences in available space, number of connections, and topological location at the edges of different wiring blocks, the connection points on the relative edges of two adjacent wiring blocks may be offset. If the offset between relative connection points is less than the design constraints (such as the sum of conductor width and spacing), it will lead to design violations (insufficient conductor spacing or short circuits) during actual wiring. Therefore, it is necessary to perform geometric alignment on the relative connection points to adjust their precise positions so that the actual distance between relative connection points meets the design rule constraints. Step S4002 ensures that subsequent interconnection of line segments will not result in design rule violations.

[0172] Specifically, the triggering conditions for geometric alignment include: ① in a narrow wiring rectangle lacking vertical or horizontal track capacity; ② in a rectangle where the relative connection point offset is less than the wiring spacing. Step S4003: Interconnect the connection points using interconnects to generate detailed wiring results within each wiring block.

[0173] After the geometric alignment of the connection points is completed in step S4002, the positions of the connection points on the edges of each wiring block are determined and meet the design rule constraints. However, physical connections have not yet been established between connection points on different edges within the same wiring block, and interconnection with wires is required inside the wiring block. Interconnecting lines (such as 135-degree segments) are used to connect paired connection points (i.e., entry and exit connection points) within the same wiring block. The 135-degree segment routing method includes horizontal, vertical, and 45-degree segments, and is a commonly used routing method in advanced packaging and PCB design, which can effectively utilize wiring space while ensuring electrical performance. By interconnecting all the connection points inside the wiring block one by one according to the correspondence determined by the escape routing guide path, the detailed routing results inside each wiring block are obtained, thereby completing the complete conversion from escape guide path to physical routing.

[0174] Step S50: For input and output pads with no feasible escape path in the global flow network solution, switch the input and output pads to the adjacent routing layer by dynamic via insertion, and repeat the above steps in the adjacent routing layer until all input and output pads complete escape routing or reach the preset layer limit, and output the escape routing path of all input and output pads.

[0175] A global flow network is established and solved based on the aforementioned network flow models to obtain the escape routing guidance path for each input / output pad. After generating the detailed routing results for each input / output pad according to the escape routing guidance path, for input / output pads that have no feasible escape path in the global flow network solution, the input / output pads are switched to adjacent routing layers by dynamic via insertion, and the above steps S10 to S40 are repeated in the adjacent routing layers until all input / output pads complete escape routing or reach the preset layer limit, and the escape routing path of all input / output pads is output.

[0176] Specifically, through the global flow network solution in step S403, most input / output pads can obtain feasible escape routing guidance paths from the escape pad node to the escape edge node. However, due to the high scarcity of routing resources in congested areas and the occupation of available channels around some pads by other nets, some input / output pads may not have feasible escape paths in the global flow network solution. For these input / output pads that fail to escape, routing cannot be abandoned directly. Instead, they need to be switched to adjacent routing layers through dynamic via insertion. That is, when there is no feasible path in the current routing layer, a via is inserted at the location of the pad to connect the signal of the pad to the next physical layer, allowing it to continue to complete escape routing in the next layer. The core technical effect of dynamic via insertion is that it does not force routing in the current layer, causing design rule violations, but rather distributes the routing pressure in congested areas to other routing layers through inter-layer switching, making full use of the additional routing resources provided by the multi-layer package structure without sacrificing the routing success rate.

[0177] The essential difference between the dynamic via insertion described above and the fixed via scheme in pre-allocated nets lies in the fact that the dynamic via insertion is responsive and triggered on demand. Via insertion is only triggered when the net fails to escape from the current layer, and the insertion position depends on the matching between the endpoint of the current layer's already routed segment and the available routing resources in adjacent layers. In contrast, the latter determines all via positions before routing begins. The dynamic insertion strategy of this application can adaptively determine which nets need to be switched to a different layer and where, based on the actual congestion distribution, offering greater flexibility and congestion avoidance capabilities.

[0178] The resource-constrained layer-by-layer escape strategy means that, because the input / output pad layer (top RDL) is constrained by the keepout area, routing resources are most scarce. Therefore, escape routing is prioritized for the top layer. For pads that fail to escape from the top layer, dynamic via insertion switches to the next layer (such as the bump pad layer or other intermediate RDL layers) to continue escaping. The technical advantage of this strategy is that it prioritizes solving the problem of the most resource-scarce layer, avoiding the predicament of having no usable channels on the top layer after consuming too many routing resources in the resource-spared layer. The top RDL, in flip-chip packaging, refers to the topmost redistribution layer that directly contacts the chip's I / O pads. It is the starting layer in the entire multi-layer redistribution structure.

[0179] All input / output pads complete escape routing, meaning each pad obtains a complete routing path from its location to the escape edge, or the preset layer limit is reached, meaning all available routing layers have been tried but some pads still cannot escape. Once the preset layer limit is reached, the algorithm terminates even if some pads have not completed escape routing. The escape routing paths of all input / output pads are output, including paths successfully escaped on the current layer and paths escaped after insertion into adjacent layers via vias. These are presented as complete routing results for use by subsequent global routers or directly as package manufacturing data. Through the aforementioned dynamic via insertion and layer-by-layer escape strategy, this application can maximize the overall escape routing success rate on advanced package layouts with limited routing resources and irregular pad structures.

[0180] The present application is further described below with reference to the accompanying drawings and specific embodiments.

[0181] In some embodiments, this embodiment uses a flip-chip package design with an irregular pad structure as an example for illustration. This design has a two-layer structure, with the top layer being an I / O pad layer and the bottom layer being a bump pad layer, with a minimum spacing. wire width I / O pad width Bump pad width The specific steps for congestion area identification are as follows:

[0182] Step a) Projection and Expansion. Based on the current congestion level, set a congestion threshold. Then the expansion distance Project the I / O pads and bump pads onto the same plane and expand them outwards uniformly according to the expansion distance. The expanded area is as follows: Figure 6 (a) As shown in the dashed box.

[0183] Step b) Region merging. The expanded result shows that multiple pads overlap in the lower left corner of the layout, indicating that the spacing between these pads is less than the congestion threshold. These overlapping regions are merged into connected regions, as shown below. Figure 5 (b) As shown in the dashed box.

[0184] Step c) Post-processing optimization. The polygons after region merging contain relatively small concave areas, such as... Figure 6 As shown in (b). These recessed areas are filled to make the outline of the region more regular, resulting in the following: Figure 6 (c) The outer dashed border. Because a large number of blank routing areas exist around the perimeter of the filled area, the region's shape is uniformly shrunk inwards to retain more routing resources for subsequent routing. This yields the final identified congested areas, such as Figure 6 (c) shows the dashed inner circle.

[0185] In some embodiments, this embodiment uses Figure 7 (a) is used as an example of a double-opening rectangular block. In this example, the left and bottom edges have a capacity of 2, the top edge is divided into two parts, I / O pads and openings, each with a capacity of 1, and the right edge is half opening and half obstacle, with the opening portion having a capacity of 1. The specific steps for constructing the double-opening network flow model of this rectangular block are as follows:

[0186] Step a) Calculate the cut edge capacity parameters. Calculate the capacity parameters for each cut edge by first assigning adjacent connections, then non-adjacent connections. ① Calculate the capacity of the outer cut edge, such as... Figure 7 As shown in (b), calculate the capacity of Cut-1. First, an adjacent connection of type -1 is assigned. Based on the physical information of the rectangular block, a type -1 connection can be used at this point. Similarly, a type -5 connection is assigned. After assigning two adjacent connections, since the cut edge (Cut-1) has reached the maximum physical connection limit, no more non-adjacent connections can be assigned. Therefore, the capacity of this cut edge is... Similarly, the capacity of the cut edge. This can also be used for calculation; ② Calculate the internal cut edge capacity, such as Figure 7 As shown in (c), calculate the capacity of Cut-6. When the cut edge reaches its maximum physical connection limit, it first allocates adjacent connection type -5, which allows for connections between two type -5 edges. Since the cut edge -6 has already reached its maximum physical connection limit, it cannot allocate any more non-adjacent connections, thus reducing the capacity of this cut edge. Similarly, the capacity of the cut edge. This can also be calculated. Finally, the calculated edge trimming capacity parameter is: .

[0187] Step b) Calculate the model capacity parameters. ① Calculate the external edge capacity parameters according to formula (1). , , , , ② The capacity of the central node is calculated according to formula (12). ③ Calculation of internal edge capacity parameters, first based on Calculations show that , , , , , then calculate Finally, the internal capacity is calculated using formulas (13) to (17). , , , , .

[0188] In some embodiments, this example uses the congested area of ​​the flip-chip package design with irregular pad structure in the above embodiments as an example. The specific steps of multi-layer escape routing are as follows:

[0189] This application employs a resource-constrained, layer-by-layer escape routing strategy. In this embodiment, the routing resources on the I / O pad layer (top layer) are more limited than those on the bump pad layer (bottom layer), therefore, top-level routing is performed first. The top-level escape routing layout is as follows: Figure 8 As shown in (a), the goal of escape routing is to find escape routing paths for the I / O pads of the assigned nets. The endpoint of the escape routing is the escape edge. For I / O pads that are in direct contact with the escape edge, the center point of the overlapping line segment can be used as the escape point. For the remaining I / O pads, the escape routing path is solved according to the following steps a) to f), which include:

[0190] Step a) Wiring block subdivision. For Figure 8 (a) The layout is partitioned into routing blocks, extending the boundaries of the layout, pads, and obstacles until the extension lines contact other objects or layout boundaries, creating routing layout partition lines that divide the routing layout into smaller routing blocks, as shown below. Figure 8 As shown in (b).

[0191] Step b) Merging routing blocks. For example... Figure 8 As shown in (b), after the routing block is split, many small routing blocks are generated, which is not conducive to subsequent routing. The routing blocks are merged by the block merging algorithm. Figure 9 This is an example of the steps in a block merging algorithm. First, a graph is constructed based on the partitioned wiring blocks. Each vertex of the graph corresponds to a wiring block, and each edge connects two adjacent wiring blocks, as shown below. Figure 9 As shown in (a); then select the center of the graph as the root node to generate a minimum spanning tree, as shown in (a). Figure 9 As shown in (b); based on the minimum spanning tree, wiring blocks are merged from the leaf nodes to the root node. For each node, all merging candidates are evaluated and the optimal solution is selected. The merging result is as follows. Figure 9 As shown in (c). Finally, check whether the merged routing block is a double-opening rectangular block or a regular rectangular block. If not, further subdivide it. Figure 8 (c) shows the result after additional subdivision.

[0192] Step c) Flow network construction. Based on the type of each wiring block, create the corresponding network flow model; introduce a node for each I / O object, and connect all models and nodes to establish a flow network, as shown below. Figure 10 As shown in (a).

[0193] Step d) Solving the flow network. Source nodes and sink nodes are introduced into the flow network. Escape pad nodes are connected to source nodes, and escape edge nodes are connected to sink nodes. The existing minimum cost maximum flow algorithm is used to solve the global routing solution. The solution in the current embodiment is as follows: Figure 10 As shown in (b).

[0194] Step e), detailed wiring. Figure 11 for Figure 10 Example of steps to convert the global routing solution to a 135-degree routing result in (b). First, based on the global routing solution, evenly distribute connection points along the edges of the routing block, such as... Figure 11 As shown in (a); subsequently, the connection points are geometrically aligned, as follows. Figure 11 As shown in (b); finally, the connection points are completed using a 135-degree wire mesh, resulting in detailed wiring results, as follows: Figure 11 As shown in (c).

[0195] Step f), Dynamic via insertion. Based on the flow network solution results in step d), net-1 has no possible global routing solution. Therefore, it needs to be connected to the next layer via insertion to allow it to continue escaping routing in the next layer, such as... Figure 10 As shown in (c).

[0196] The escape routing steps for the remaining layers are similar to steps a) to f) described above. The final routing result of this embodiment is as follows: Figure 12 As shown.

[0197] By combining the above embodiments, this application can achieve a 100% escape routing success rate on advanced packaging layouts with limited routing resources and irregular pad structures.

[0198] Compared to existing technologies, this application addresses the shortcomings of current flip-chip routing methods, which rely on regular bump pad structures and cannot adapt to advanced packaging scenarios with irregular pad structures and severe local congestion. Furthermore, general-purpose routers cannot solve the problem of decreased routing success rates in such scenarios. This application offers the following advantages, including but not limited to:

[0199] Firstly, this application projects input / output pads and bump pads of different sizes onto the same plane and geometrically expands them outwards. It determines whether the pad spacing is less than a congestion threshold based on whether the expanded areas overlap, replacing the traditional center-distance-based method. This solves the problem of inaccurate congestion area identification in scenarios where pads of different sizes coexist. It can accurately identify areas with limited routing resources and high congestion in the output diagram, providing precise spatial constraints for subsequent escape routing. Through a processing chain of geometric expansion, overlap detection, corner filling, and inward contraction, the identified congestion area contours are regularized, while blank routing areas generated by expansion are removed, reserving more usable resources for subsequent routing and avoiding wasted routing space due to excessively large congestion area definitions.

[0200] Secondly, this application subdivides the routing layout within congested areas and further subdivides routing blocks with at least two edges containing both openings and I / O objects after merging them. This ensures that each routing block is a regular rectangular block or a double-opening rectangular block, thus supporting independent modeling of double-opening rectangular blocks. For double-opening rectangular blocks, a network flow model is designed that includes external edge capacity, internal edge capacity, and central node capacity. The capacity parameter is solved through cut edge capacity constraints, solving the problem that traditional rectangular block models cannot accurately model double-opening rectangular blocks where "one edge simultaneously contains both an opening and an I / O object." This allows the network flow algorithm to generate solutions that meet physical capacity constraints on routing blocks involving I / O objects. Based on Maley's cut edge capacity constraint theory, as long as there is a feasible flow allocation scheme in the network flow model, there must exist a physical routing scheme that satisfies all design constraints. The flow feasible solution is completely equivalent to the physical routing capacity constraint, ensuring the mathematical rigor and physical realizability of the algorithm.

[0201] Thirdly, this application establishes and solves a global flow network based on each network flow model to obtain the escape routing guidance path for each input and output pad, and generates detailed routing results accordingly. This separates the global logical planning of the escape path from the local physical implementation, improving the solution efficiency and success rate of escape routing in complex congestion scenarios. For input and output pads with no feasible escape path in the global flow network solution, a layer-by-layer escape strategy prioritizing resource-constrained layers is adopted. For pads that fail to escape, dynamic via insertion switches to adjacent routing layers and repeats the escape routing process. This fully utilizes the additional routing resources provided by the multi-layer package structure, distributing the routing pressure of congested areas to different physical layers, and solving the problem of severely reduced routing success rate caused by local high congestion in irregular pad structures.

[0202] Fourth, compared with the traditional rectangular block model, the dual-opening network flow model proposed in this application can accurately model the capacity of routing blocks involving I / O objects, ensuring that the network flow algorithm can generate solutions that meet capacity constraints. Experimental data shows that the model proposed in this application achieves a 100% routing success rate in the escape routing stage due to the consideration of complete capacity constraints; while the traditional model has about 2.7% of pads that cannot be routed.

[0203] Fifth, compared with directly using existing routers (FreeRouting or Allegro), the congestion-aware escape routing method proposed in this application, as a preprocessing step for existing routers, can improve the overall routing success rate. Experimental data shows that when facing complex benchmark sets with irregular pad structures, the average routing success rate of directly using FreeRouting is only 81.6%, while after using the algorithm of this application as preprocessing to complete congestion area escape routing, the routing success rate of FreeRouting increases to 100%. Similarly, on the commercial tool Allegro, this application also improves the average routing success rate from 96.8% to 99.8%.

[0204] Please see Figure 13An escape routing control device for a flip-chip package, provided to meet one of the purposes of this application, includes a congestion region identification module 1100, a routing layout partitioning module 1200, a network flow model construction module 1300, a routing result generation module 1400, and an inter-layer escape output module 1500. The congestion region identification module 1100 is configured to acquire the wiring layout of the flip chip package, including the position and size information of input / output pads and bump pads; based on the position and size information, all input / output pads and bump pads are projected onto the same plane and geometrically expanded outwards in a unified manner, and the overlapping pad areas after expansion are merged into congestion regions; the wiring layout partitioning module 1200 is configured to partition the wiring layout within the congestion region, merge the partitioned wiring blocks, and if the merged wiring block has at least two edges, and each edge simultaneously contains an opening and an input / output object, then the wiring block is further partitioned until each wiring block is a regular rectangular block or a double-opening rectangular block; wherein, the double-opening rectangular block is a rectangular block with one edge simultaneously containing an opening and an input / output object; the network flow model construction module Block 1300 is configured to construct corresponding network flow models for each of the conventional rectangular blocks and double-opening rectangular blocks, wherein the capacity parameter of the network flow model for the double-opening rectangular block is solved by cutting edge capacity constraints; the routing result generation module 1400 is configured to establish and solve a global flow network based on each of the network flow models to obtain the escape routing guidance path for each input and output pad; and generate detailed routing results for each input and output pad according to each of the escape routing guidance paths; the inter-layer escape output module 1500 is configured to switch the input and output pads to the adjacent routing layer by dynamic via insertion for input and output pads that have no feasible escape path in the global flow network solution, and repeat the above steps in the adjacent routing layer until all input and output pads complete escape routing or reach the preset layer limit, and output the escape routing path of all input and output pads.

[0205] Based on any embodiment of this application, please refer to Figure 14 Another embodiment of this application also provides an electronic device, which can be implemented by a computer device, such as... Figure 14The diagram shows the internal structure of a computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. The computer-readable storage medium stores an operating system, a database, and computer-readable instructions. The database may store control information sequences. When the computer-readable instructions are executed by the processor, they enable the processor to implement an escape routing control method for flip-chip packaging. The processor of the computer device provides computing and control capabilities, supporting the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When these computer-readable instructions are executed by the processor, they enable the processor to execute the escape routing control method for flip-chip packaging of this application. The network interface of the computer device is used for communication with a terminal. Those skilled in the art will understand that… Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0206] In this embodiment, the processor is used to execute... Figure 13 The specific functions of each module are defined within the device, and the memory stores the program code and various data required to execute these modules. The network interface is used for data transmission between the user terminal and the server. In this embodiment, the memory stores the program code and data required to execute all modules in the flip-chip packaged escape wiring control device of this application. The server can call the server's program code and data to execute the functions of all modules.

[0207] This application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the escape wiring control method for flip-chip packages described in any embodiment of this application.

[0208] This application also provides a computer program product, including a computer program / instructions that, when executed by one or more processors, implement the steps of the escape wiring control method for flip-chip packages described in any embodiment of this application.

[0209] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. This computer program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0210] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for escape routing control of a flip-chip package, the method comprising: include: Obtain the wiring layout of the flip chip package, including the location and size information of the input / output pads and bump pads; Based on the location and size information, all input / output pads and bump pads are projected onto the same plane and geometrically expanded outwards in a unified manner. The overlapping pad areas after expansion are merged into congested areas. The wiring layout is divided within the congested area, and the resulting wiring blocks are merged. If the merged wiring block has at least two edges, and each edge contains both an opening and an input / output object, the wiring block is further divided until each wiring block is a regular rectangular block or a double-opening rectangular block. The double-opening rectangular block is a rectangular block with one edge that contains both an opening and an input / output object. For each of the conventional rectangular blocks and double-opening rectangular blocks, a corresponding network flow model is constructed. For the double-opening rectangular block, the capacity parameter of its network flow model is solved by cutting edge capacity constraints. A global flow network is established and solved based on the aforementioned network flow models to obtain the escape routing guidance path for each input and output pad; based on the aforementioned escape routing guidance path, detailed routing results for each input and output pad are generated. For input / output pads with no feasible escape path in the global flow network solution, the input / output pads are switched to adjacent routing layers by dynamic via insertion, and the above steps are repeated on the adjacent routing layers until all input / output pads complete escape routing or reach the preset layer limit, and the escape routing paths of all input / output pads are output.

2. The escape wiring control method for flip-chip packaging according to claim 1, characterized in that, Based on the location and size information, the steps of projecting all input / output pads and bump pads onto the same plane and uniformly expanding them outwards, and merging the overlapping pad regions after expansion into congested regions, include: Project all input / output pads and bump pads onto the same plane, and expand the boundaries of each pad uniformly outward by half the congestion threshold. Merge the overlapping pads after expansion into a connected region; The merged connected regions are filled with corners to regularize the region's shape, and then the expansion distance is uniformly shrunk inward to obtain the congested region.

3. The escape wiring control method for flip-chip packaging according to claim 1, characterized in that, The steps of partitioning the cabling layout within the congested area and merging the partitioned cabling blocks include: Extend the wiring layout boundary, each pad boundary and each obstacle boundary within the congested area until each extension line intersects with other objects or wiring layout boundaries, and the wiring layout is divided into multiple initial wiring blocks by each of the extension lines. A graph structure is constructed using each initial wiring block as a vertex and the adjacency relationship between adjacent initial wiring blocks as edges, and the weight of the edges is set to the aspect ratio of the merged wiring block. Generate a minimum spanning tree with the geometric center of the graph structure as the root node; Traverse from the leaf nodes of the minimum spanning tree toward the root node. For the currently traversed node, enumerate all candidate schemes for merging the node with its neighboring nodes, calculate the merging cost of each candidate scheme, and select the candidate scheme with the lowest merging cost to perform the merging, so as to eliminate narrow wiring blocks.

4. The escape wiring control method for flip-chip packaging according to claim 1, characterized in that, The steps for constructing the network flow model of the double-opening rectangular block include: Based on the topological structure of the edges of the double-opening rectangular block, each edge is divided into external cut edges and internal cut edges to obtain a set of cut edges; Determine the maximum number of physical connections that each cut edge can pass through, and allocate connections to each cut edge in the manner of first allocating adjacent connections and then allocating non-adjacent connections, until each cut edge reaches the upper limit of the maximum number of physical connections. The final number of connections that each cut edge passes through is determined as the capacity parameter of that cut edge. Based on the capacity parameters of each cut edge and the cut edge capacity constraint equation, the capacity parameters of the network flow model of the double-opening rectangular block are solved. The capacity parameters include the capacity of the outer edge, the capacity of the inner edge, and the capacity of the center node.

5. The escape wiring control method for flip-chip packaging according to claim 4, characterized in that, The cut edge capacity constraint equation includes external cut edge capacity constraints and internal cut edge capacity constraints; the external cut edge capacity constraint is that the capacity of each external edge in the double-opening rectangular block network flow model is equal to the capacity parameter of the corresponding external cut edge; the internal cut edge capacity constraint is that in the double-opening rectangular block network flow model, the capacity parameter of each internal cut edge does not exceed the sum of the capacity of the internal edge between the two sets of peripheral nodes separated by the internal cut edge and the capacity of the center node. Based on the external and internal cut edge capacity constraints, the flow feasible solution of the double-opening rectangular block network flow model is equivalent to the physical wiring capacity constraint.

6. The escape wiring control method for flip-chip packaging according to claim 4, characterized in that, The capacity of the central node in the double-opening rectangular block network flow model is the remainder when the sum of the capacity parameters of all internal cut edges is divided by 2.

7. The escape wiring control method for flip-chip packaging according to claim 6, characterized in that, The steps for calculating the internal edge capacity include: Calculate the difference between the capacity parameter of each internal cut edge and the capacity of the center node, and determine it as the cut edge difference; Calculate half of the sum of all the edge cut differences mentioned above, and use it as an intermediate value; Based on the topological correspondence between the internal edges and internal cut edges of the double-opening rectangular block, each internal edge corresponds to two cut edge differences. The internal edge capacity of each internal edge is obtained by subtracting the two cut edge differences corresponding to each internal edge from the intermediate value.

8. The escape wiring control method for flip-chip packaging according to claim 1, characterized in that, The steps of establishing and solving a global flow network based on the aforementioned network flow models to obtain the escape routing guidance path for each input and output pad include: Assemble the network flow models corresponding to all wiring blocks according to the adjacency relationship between each wiring block to establish a global flow network; In the global flow network, source nodes and sink nodes are introduced, and the escape pad nodes corresponding to each input and output pad are connected to the source node, and the escape edge nodes are connected to the sink node. With the goal of maximizing the total flow from the source node to the sink node and minimizing the total cost, the global flow network is solved to obtain the escape routing guidance path from the escape pad node to the escape edge node for each input and output pad.

9. The escape wiring control method for flip-chip packaging according to claim 1, characterized in that, The step of generating detailed routing results for each input / output pad based on each escape routing guide path includes: Based on the escape wiring guide paths described above, connection points are determined at the edges of each wiring block, so that the connection points are evenly distributed along the edges of the wiring blocks. Geometric alignment is performed on each of the connection points to ensure that the relative connection points meet the design constraints. Interconnect the connection points using interconnecting lines to generate detailed wiring results within each wiring block.

10. An escape wiring control device for flip-chip packages, characterized in that, include: The congestion region identification module is configured to acquire the wiring layout of the flip chip package, including the position and size information of input / output pads and bump pads; based on the position and size information, all input / output pads and bump pads are projected onto the same plane and geometrically expanded outward in a unified manner, and the pad areas that overlap after expansion are merged into congestion regions; The routing layout partitioning module is configured to partition the routing layout within the congested area, merge the partitioned routing blocks, and if the merged routing block has at least two edges, and each edge simultaneously contains an opening and an input / output object, then the routing block is further partitioned until each routing block is a regular rectangular block or a double-opening rectangular block; wherein, the double-opening rectangular block is a rectangular block with one edge simultaneously containing an opening and an input / output object. The network flow model construction module is configured to construct corresponding network flow models for each of the conventional rectangular blocks and double-opening rectangular blocks, wherein, for the double-opening rectangular blocks, the capacity parameter of its network flow model is solved by cutting edge capacity constraints; The routing result generation module is configured to establish and solve a global flow network based on each of the aforementioned network flow models to obtain the escape routing guidance path for each input and output pad; and generate detailed routing results for each input and output pad based on each of the aforementioned escape routing guidance paths. The interlayer escape output module is configured to switch the input and output pads with no feasible escape path in the global flow network solution to the adjacent routing layer by dynamic via insertion, and repeat the above steps in the adjacent routing layer until all input and output pads complete escape routing or reach the preset layer limit, and output the escape routing path of all input and output pads.