A method for realizing teardrop design of chip packaging
By adopting static and dynamic teardrop mode design methods in IC chip packaging, the problem of insufficient design accuracy in the existing technology is solved, efficient and reliable teardrop compensation is achieved, and the production quality and market prospects of chip packaging are improved.
Patent Information
- Application Number
- CN202311280341.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-10-07
AI Technical Summary
In the field of IC chip packaging, the design accuracy of existing teardrop compensation technology is insufficient, resulting in low design efficiency and poor compensation effects, which seriously affects the production yield rate.
Using two design methods of static and dynamic teardrop modes, teardrops are generated through parameter settings, including the selection of Pad and Via, optimization of wire width and angle, intelligent identification of the relationship between pads and wires, calculation and generation of teardrop areas, Ensure accuracy and efficiency.
In the micron-level field of IC chip packaging, teardrop compensation effects with accurate precision, high efficiency, and strong reliability have been achieved, improving the production yield rate and market development potential.
Smart Images

Figure CN117371073B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of integrated circuit packaging design, in particular to a method for realizing chip packaging design teardrops. Background Art
[0002] Teardrops: In the IC chip packaging manufacturing process, in order to enhance the connection strength between the pad and the wire, avoid cracks caused by uneven etching and offset vias during production, and ensure smooth impedance transmission of signals when the chip is running, reduce sharp impedance jumps, and avoid reflections caused by sudden reduction in line width during high-frequency signal transmission, a special design called teardrops is usually used. That is, a smooth transition area is added between the pad and the wire, and the copper foil is shaped like a teardrop, so it is called a teardrop filler.
[0003] However, currently, the teardrop compensation technology is only popularized in the manufacturing of printed circuit boards (PCBs), and its design accuracy is at the millimeter level. The teardrop compensation technology is still lacking in the micron-level field of IC chip packaging (the design accuracy of the two differs by a thousand times), resulting in low design efficiency and poor teardrop compensation effect, which seriously affects the production yield. Summary of the invention
[0004] The purpose of the present invention is to provide a chip package teardrop design method to solve the problems raised in the above-mentioned background technology. It has the advantages of accurate precision, high efficiency, strong reliability, etc., and has huge market development potential and application prospects in the field of chip package design and manufacturing.
[0005] To achieve the above object, the present invention provides the following technical solution: a method for realizing teardrop design of chip packaging, comprising the following steps:
[0006] Step 1: Teardrop parameter setting: There are two modes for generating teardrops, namely static and dynamic. The teardrops generated in static mode are generated according to the teardrop parameter settings. Teardrops are generated by clicking the target object with the mouse. It supports three operations: point selection, box selection, and full selection. After modifying the teardrop parameters again in static mode, the generated teardrops will not be changed in real time. The teardrops in dynamic mode will change instantly according to the changes in the teardrop parameter panel.
[0007] The teardrop parameter setting mainly realizes the selection of the object for teardrop generation, that is, generating teardrops for Pad or Via, or generating teardrops for both Pad and Via, and controls the expected angle, maximum angle, maximum offset, maximum line width of the wire, minimum line width of the wire and other parameters for generating teardrops, so as to optimize the compensation effect of teardrops;
[0008] Step 2: Preprocessing: extract the information of all objects in the current stack when executing the teardrop command and the data related to the related stack, intelligently identify vias and pads, calculate the corresponding relationship between vias or pads to connect the teardrops with the pads, and establish the network structure of the corresponding signal. The teardrops and the pads to which they belong are the same network;
[0009] Step 3: Determine the pads that need to add teardrops based on the parameters set in step 1;
[0010] 1) Search all pads in the current stack and determine whether the pad type can generate teardrops. Currently, special-shaped pads cannot generate teardrops.
[0011] 2) Determine whether there is a wire connection on the pad:
[0012] If yes, calculate the positional relationship between the wire and the pad, whether the wire is a straight line or a broken line inside the pad, if it is a straight line, generate a regular teardrop, if it is a broken line, generate an irregular teardrop, read the width of the wire, and compare the width of the wire with the minimum line width of the preset wire in step 1;
[0013] If not, no tears will be generated;
[0014] 3) A teardrop will be generated at the connection between the pad and the wire only when the wire is connected to the center point of the pad and at least one end appears outside the pad, and the wire width meets the maximum and minimum wire width conditions of the preset wire in step 1;
[0015] Step 4: After determining the specific pad to which the teardrop needs to be added, calculate the size and shape of the pre-generated teardrop area according to the parameters set in step 1;
[0016] Step 5: Before each teardrop is generated, the distance to the surrounding objects on the same layer is calculated according to the minimum distance set in the rule manager, and the distance between the teardrop area generated by the teardrop and the surrounding objects is compared with the preset minimum distance. If the distance between the teardrop area and the surrounding objects is less than the minimum distance set in the rule manager or the teardrop area is directly in contact with the surrounding objects, the teardrop will not be generated. If the distance between the teardrop area and the surrounding objects is greater than the minimum distance set in the rule manager, the teardrop will be generated.
[0017] Step 6: After the teardrop is generated, the same network signal will be generated according to the pad it is connected to. If the pad itself does not have a network, the teardrop will also not have a network.
[0018] Preferably, the pads include chip pads and through-hole pads.
[0019] Preferably, the teardrop parameter settings in step one include Fillet object: Pads generates teardrops for Pad, Fillet object: Vias generates teardrops for Via, and Fillet object: All generates teardrops for both Pad and Via; Desiredangle: desired teardrop angle, generally used as the minimum teardrop angle; Max angle: maximum teardrop angle; Maxoffset: maximum offset, limiting the maximum distance between the anchor point and the pad; Max line width: a pad and a wire are the primary conditions for determining the generation of teardrops. This parameter limits the maximum width of the wire. If it is greater than it, no teardrops will be generated; Min linewidth: limits the minimum width of the wire. If it is less than it, no teardrops will be generated; Dynamic: if checked, dynamic teardrops will be generated, otherwise static teardrops will be generated.
[0020] Preferably, step three and step five are teardrop generation conditions. If the above requirements are not met at the same time, teardrops will not be generated.
[0021] Preferably, the specific implementation method of step 4 includes:
[0022] STEP1: Determine the anchor point anchor for generating the teardrop area. The five basic points p0, p1, p2, p3, and p4 are connected to form a polygonal teardrop area. p0 is the center point between the wire and the pad, p1 and p4 are points on the edge of the pad, and p2 and p3 are points on the wire. After determining the position of the anchor on the wire, the two points are taken as the midpoint coordinates plus half the wire width.
[0023] STEP2: Determine the size and shape of the teardrop generation area based on the parameters Max offset, Desired angle and Max angle. Max offset reflects the distance from the anchor to the pad; Desired angle and Max angle limit the angle formed by the two line segments from p1 to the anchor and from p4 to the anchor. Desired angle is not greater than max angle.
[0024] STEP3: According to step 3 (2), whether the wire is a straight line or a broken line inside the pad, generate a corresponding regular teardrop or special-shaped teardrop.
[0025] Preferably, the steps of calculating and generating the conventional teardrop of the circular pad include:
[0026] STEP1: Find the line segment that runs through the pad, with the endpoint inside the pad as insideP and the endpoint outside the pad as outsideP. Set anchor=outsideP, p0=insideP.
[0027] STEP2: Check whether the distance from the anchor point to the center of the pad exceeds the Max offset. If so, move the anchor point until the distance from the anchor point to the center of the pad is equal to the Max offset. If not, the position of the anchor point remains unchanged.
[0028] STEP3: Draw two tangent lines from the anchor, and the intersection points with the pad are p11 and p41, which serve as the initial values of p1 and p4;
[0029] STEP4: Compare the relationship between ∠p1-anchor-p4 and Desired angle and Max angle:
[0030] 1) If it is greater than Max angle, rotate anchor-p11 downward until it meets half of Max offset, and update p1 to p13. The same goes for p4. At this time, ∠insideP-anchor-p1 = ∠insideP-anchor-p4 = 0.5 * Maxangle;
[0031] 2) If it is less than the desired angle, move the anchor toward insideP. p1 and p4 are always the tangent points between the anchor and the circle until ∠p1-anchor-p4=Desired angle is satisfied.
[0032] 3) Otherwise, the values of p1 and p4 are legal, that is, ∠p1-anchor-p4 is in the interval [Desired angle, Max angle] and no adjustment is required;
[0033] STEP5: Determine p2 and p3 as points on the edge of the line segment on both sides of the anchor, move half segwidth (half the width of the line where the anchor is located) from the anchor to both sides to obtain p2, p3 = anchor_point ± seg unit normal vector * half_seg_width;
[0034] STEP6: In order to ensure that the center of the pad is included in the teardrop and to ensure that the corner of p0 is as sharp as possible, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 *seg_width
[0035] STEP7: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0036] Preferably, the calculation and generation steps of the circular pad profile teardrop include:
[0037] STEP1: Find the throughoutSeg that runs through the pad. The throughoutSeg is the end of the wire with one point inside the pad and the other point outside the pad. The end point inside the pad is insideP, and the end point outside the pad is outsideP. The intersection of throughoutSeg and pad is recorded as intersection.
[0038] STEP2: Set the anchor to intersection and move the Max offset distance in the outsideP direction. The anchor coordinates = intersection + normalized(intersection->outsideP) * Max offset.
[0039] STEP3: Draw two tangent lines through the anchor, and the intersection points with the pad are t1 and t2;
[0040] STEP4: Compare the relationship between ∠t1-anchor-t2 and Max angle;
[0041] 1) If it is greater than the Max angle, calculate the angle decrease that needs to be reduced, consume the decrease from the larger angle first, until the two angles divide the remaining decrease equally, and update t1 and t2;
[0042] - decrease = ∠t1-anchor-t2 - Max angle
[0043] - diff = max(∠t1-anchor-insideP, ∠t2-anchor-insideP) - min(∠t1-anchor-insideP, ∠t2-anchor-insideP)
[0044] - First rotate anchor-tx from the larger angle of ∠t1-anchor-insideP and ∠t2-anchor-insideP to consume the decrease
[0045] - If the diff is consumed and there is still some decrease left, ∠t1-anchor-insideP and ∠t2-anchor-insideP will each be reduced by half of the decrease;
[0046] 2) If it is less than the desired angle, move the anchor until t1-anchor-t2 is equal to the desired angle;
[0047] 3) Otherwise, t1-anchor-t2 is legal and does not need to be adjusted;
[0048] STEP5: Update p1 to the intersection of anchor-t1' and pad, and p4 to the intersection of anchor-t2' and pad;
[0049] STEP6: Determine p2 and p3 as points on the seg edge on both sides of the anchor. p2, p3 = anchor_point ± seg unit normal vector * half_seg_width;
[0050] STEP7: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 * seg_width;
[0051] STEP8: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0052] Preferably, the steps of calculating and generating the conventional teardrop of the square pad include:
[0053] STEP1: p0 is the center point of the pad, the endpoint of throughoutSeg inside the pad is insideP, the endpoint outside the pad is outsideP, and the side of the rectangle that is penetrated is recorded as crossEdge;
[0054] STEP2: The initial value of anchor is set to outsideP, and the intersection of throughoutSeg and pad is recorded as intersection;
[0055] STEP3: If the anchor-intersection distance is greater than Max offset, move the anchor until the Maxoffset requirement is met, anchor = intersection + normalized(intersection->outsideP) * Maxoffset
[0056] STEP4: Remember the two end points of crossEdge are st and ed
[0057] STEP5: Let p1=st, p4=ed
[0058] STEP6: Check the st-anchor-ed angle size:
[0059] 1) If it is greater than Max angle, move p1 and p4 until st-anchor-ed is equal to Max angle;
[0060] 2) If it is less than the desired angle, move the anchor until st-anchor-ed is equal to the desired angle;
[0061] STEP7: Determine p2 and p3 as points on the seg edge on both sides of the anchor. p2, p3 = anchor_point ± seg unit normal vector * half_seg_width;
[0062] STEP8: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 * seg_width
[0063] STEP9: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0064] Preferably, the steps of calculating and generating the square pad shaped teardrop include:
[0065] STEP1: p0 is the center point of the pad, the endpoint of throughoutSeg inside the pad is insideP, the endpoint outside the pad is outsideP, and the side of the rectangle that is penetrated is recorded as crossEdge;
[0066] STEP2: The initial value of anchor is set to outsideP, and the intersection of throughoutSeg and pad is recorded as intersection;
[0067] STEP3: If the anchor-intersection distance is greater than Max offset, move the anchor until it is equal to Maxoffset, anchor = intersection + normalized(intersection->outsideP) * Maxoffset
[0068] STEP4: Let the two end points of crossEdge be st and ed;
[0069] STEP5: If throughoutSeg passes through a vertex, then p1 and p4 are two adjacent vertices of the vertex, otherwise p1=st, p4=ed;
[0070] STEP6: If the angle between p1-anchor-p4 is greater than the Max angle, keep trying to move p1 and p4 toward p0, with each move being one twentieth of the distance between p1 and p4, until the angle between p1-anchor-p4 is no greater than the Max angle.
[0071] STEP7: Determine p2 and p3 as points p2 on the seg edge on both sides of the anchor, p3 = anchor_point ±seg unit normal vector * half_seg_width;
[0072] STEP8: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 * seg_width;
[0073] STEP9: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0074] Preferably, when the wire passes through both ends of the pad, teardrops are generated on both sides of the pad.
[0075] Compared with the prior art, the present invention has the following beneficial effects:
[0076] The present invention has mature technology for teardrop compensation in the field of micron-level IC chip packaging, high design efficiency, good teardrop compensation effect, good production yield, and has the advantages of accurate precision, high efficiency, and strong reliability. It has huge market development potential and application prospects in the field of chip packaging design and manufacturing. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 is a flow chart of an embodiment;
[0078] Figure 2 This is a schematic diagram of a conventional teardrop structure of a circular pad;
[0079] Figure 3 Teardrop parameter settings for some embodiments;
[0080] Figure 4 is a schematic diagram of the teardrop region;
[0081] Figure 5 Schematic diagram of the calculation and generation of a conventional teardrop for a circular pad;
[0082] Figure 6 Schematic diagram for the calculation and generation of irregular teardrops on circular pads;
[0083] Figure 7 Schematic diagram of the calculation and generation of a regular teardrop for a square pad;
[0084] Figure 8 Schematic diagram for the calculation and generation of square pad shaped teardrop;
[0085] Fig. 9 Schematic diagram of generating teardrops on both sides of the pad. Implementation
[0086] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0087] In an embodiment of the present invention, a method for implementing a teardrop design of a chip package is provided. Figure 1-2 The following steps are included: Teardrop parameter setting: There are two modes for generating teardrops, namely static and dynamic. The teardrops generated in the static mode are generated according to the teardrop parameter settings. The teardrops are generated by clicking the target object with the mouse. The three operations of point selection, box selection and full selection are supported. After modifying the teardrop parameters again in the static mode, the generated teardrops will not be changed in real time. The teardrops in the dynamic mode will change instantly according to the changes in the teardrop parameter panel.
[0088] The teardrop parameter setting is mainly used to select the object for teardrop generation, that is, to generate teardrops for Pad or Via, or to generate teardrops for both Pad and Via. Figure 3 As shown, the desired angle, maximum angle, maximum offset, maximum line width of the wire, minimum line width of the wire and other parameters of the teardrop generation are controlled to optimize the compensation effect of the teardrop;
[0089] Step 2: Preprocessing: extract the information of all objects in the current stack when executing the teardrop command and the data related to the related stack, intelligently identify vias and pads, calculate the corresponding relationship between vias or pads to connect the teardrops with the pads, and establish the network structure of the corresponding signal. The teardrops and the pads to which they belong are the same network;
[0090] Step 3: Determine the pads that need to add teardrops based on the parameters set in step 1;
[0091] 1) Search all pads in the current stack and determine whether the pad type can generate teardrops. Currently, special-shaped pads cannot generate teardrops.
[0092] 2) Determine whether there is a wire connection on the pad:
[0093] If yes, calculate the positional relationship between the wire and the pad, whether the wire is a straight line or a broken line inside the pad, if it is a straight line, generate a regular teardrop, if it is a broken line, generate an irregular teardrop, read the width of the wire, and compare the width of the wire with the minimum line width of the preset wire in step 1;
[0094] If not, no tears will be generated;
[0095] 3) A teardrop will be generated at the connection between the pad and the wire only when the wire is connected to the center point of the pad and at least one end appears outside the pad, and the wire width meets the maximum and minimum wire width conditions of the preset wire in step 1;
[0096] Step 4: If Figure 4 As shown, after determining the specific pad to which the teardrop needs to be added, the size and shape of the teardrop area are calculated according to the parameters set in step 1;
[0097] Step 5: Before each teardrop is generated, the distance to the surrounding objects on the same layer is calculated according to the minimum distance set in the rule manager, and the distance between the teardrop area generated by the teardrop and the surrounding objects is compared with the preset minimum distance. If the distance between the teardrop area and the surrounding objects is less than the minimum distance set in the rule manager or the teardrop area is directly in contact with the surrounding objects, the teardrop will not be generated. If the distance between the teardrop area and the surrounding objects is greater than the minimum distance set in the rule manager, the teardrop will be generated.
[0098] Step 6: After the teardrop is generated, the same network signal will be generated according to the pad it is connected to. If the pad itself does not have a network, the teardrop will also not have a network.
[0099] The three operations of click selection, box selection, and all selection are common existing operations.
[0100] The pads include chip pads and through-hole pads.
[0101] The teardrop parameter settings described in step 1 include Fillet object: Pads generates teardrops for Pads, Filletobject: Vias generates teardrops for Via, and Fillet object: All generates teardrops for both Pads and Vias; Desiredangle: the desired teardrop angle, generally used as the minimum teardrop angle; Max angle: the maximum teardrop angle; Maxoffset: the maximum offset, which limits the maximum distance between the anchor point and the pad; Max line width: a pad and a wire are the primary conditions for determining the generation of teardrops. This parameter limits the maximum width of the wire. If it is greater than it, no teardrops will be generated; Min linewidth: limits the minimum width of the wire. If it is less than it, no teardrops will be generated; Dynamic: if checked, dynamic teardrops will be generated, otherwise static teardrops will be generated.
[0102] Step 3 and step 5 are teardrop generation conditions. If the above requirements are not met at the same time, teardrops will not be generated.
[0103] The specific implementation method of step 4 includes:
[0104] STEP1: Determine the anchor point anchor for generating the teardrop area. The five basic points p0, p1, p2, p3, and p4 are connected to form a polygonal teardrop area. p0 is the center point between the wire and the pad, p1 and p4 are points on the edge of the pad, and p2 and p3 are points on the wire. After determining the position of the anchor on the wire, the two points are taken as the midpoint coordinates plus half the wire width.
[0105] STEP2: Determine the size and shape of the teardrop generation area based on the parameters Max offset, Desired angle and Max angle. Max offset reflects the distance from the anchor to the pad; Desired angle and Max angle limit the angle formed by the two line segments from p1 to the anchor and from p4 to the anchor. Desired angle is not greater than max angle.
[0106] STEP3: According to step 3 (2), whether the wire is a straight line or a broken line inside the pad, generate a corresponding regular teardrop or special-shaped teardrop.
[0107] like Figure 5 As shown, the calculation and generation steps of the conventional teardrop of the circular pad include:
[0108] STEP1: Find the line segment that runs through the pad, with the endpoint inside the pad as insideP and the endpoint outside the pad as outsideP. Set anchor=outsideP, p0=insideP.
[0109] STEP2: Check whether the distance from the anchor point to the center of the pad exceeds the Max offset. If so, move the anchor point until the distance from the anchor point to the center of the pad is equal to the Max offset. If not, the position of the anchor point remains unchanged.
[0110] STEP3: Draw two tangent lines from the anchor, and the intersection points with the pad are p11 and p41, which serve as the initial values of p1 and p4;
[0111] STEP4: Compare the relationship between ∠p1-anchor-p4 and Desired angle and Max angle:
[0112] 1) If it is greater than Max angle, rotate anchor-p11 downward until it meets half of Max offset, and update p1 to p13. The same goes for p4. At this time, ∠insideP-anchor-p1 = ∠insideP-anchor-p4 = 0.5 * Maxangle;
[0113] 2) If it is less than the desired angle, move the anchor toward insideP. p1 and p4 are always the tangent points between the anchor and the circle until ∠p1-anchor-p4=Desired angle is satisfied.
[0114] 3) Otherwise, the values of p1 and p4 are legal, that is, ∠p1-anchor-p4 is in the interval [Desired angle, Max angle] and no adjustment is required;
[0115] STEP5: Determine p2 and p3 as points on the edge of the line segment on both sides of the anchor, move half segwidth (half the width of the line where the anchor is located) from the anchor to both sides to obtain p2, p3 = anchor_point ± seg unit normal vector * half_seg_width;
[0116] STEP6: In order to ensure that the center of the pad is included in the teardrop and to ensure that the corner of p0 is as sharp as possible, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 *seg_width
[0117] STEP7: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0118] like Figure 6 As shown, the calculation and generation steps of the circular pad profile teardrop include:
[0119] STEP1: Find the throughoutSeg that runs through the pad. The throughoutSeg is the end of the wire with one point inside the pad and the other point outside the pad. The end point inside the pad is insideP, and the end point outside the pad is outsideP. The intersection of throughoutSeg and pad is recorded as intersection.
[0120] STEP2: Set the anchor to intersection and move the Max offset distance in the outsideP direction. The anchor coordinates = intersection + normalized(intersection->outsideP) * Max offset.
[0121] It is worth noting that normalized represents a unit vector, intersection->outsideP represents the vector pointing from intersection to outsideP, and normalized(intersection->outsideP) represents the unit vector of intersection->outsideP.
[0122] STEP3: Draw two tangent lines through the anchor, and the intersection points with the pad are t1 and t2;
[0123] STEP4: Compare the relationship between ∠t1-anchor-t2 and Max angle;
[0124] 1) If it is greater than the Max angle, calculate the angle decrease that needs to be reduced, consume the decrease from the larger angle first, until the two angles divide the remaining decrease equally, and update t1 and t2;
[0125] - decrease = ∠t1-anchor-t2 - Max angle
[0126] - diff = max(∠t1-anchor-insideP, ∠t2-anchor-insideP) - min(∠t1-anchor-insideP, ∠t2-anchor-insideP)
[0127] - First rotate anchor-tx from the larger angle of ∠t1-anchor-insideP and ∠t2-anchor-insideP to consume the decrease
[0128] - If the diff is consumed and there is still some decrease left, ∠t1-anchor-insideP and ∠t2-anchor-insideP will each be reduced by half of the decrease;
[0129] 2) If it is less than the desired angle, move the anchor until t1-anchor-t2 is equal to the desired angle;
[0130] 3) Otherwise, t1-anchor-t2 is legal and does not need to be adjusted;
[0131] STEP5: Update p1 to the intersection of anchor-t1' and pad, and p4 to the intersection of anchor-t2' and pad;
[0132] STEP6: Determine p2 and p3 as points p2 on the seg edge on both sides of the anchor, p3 = anchor_point ±seg unit normal vector * half_seg_width;
[0133] STEP7: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 * seg_width;
[0134] STEP8: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0135] like Figure 7 As shown, the calculation and generation steps of the conventional teardrop of the square pad include:
[0136] STEP1: p0 is the center point of the pad, the endpoint of throughoutSeg inside the pad is insideP, the endpoint outside the pad is outsideP, and the side of the rectangle that is penetrated is recorded as crossEdge;
[0137] STEP2: The initial value of anchor is set to outsideP, and the intersection of throughoutSeg and pad is recorded as intersection;
[0138] STEP3: If the anchor-intersection distance is greater than Max offset, move the anchor until the Maxoffset requirement is met, anchor = intersection + normalized(intersection->outsideP) * Maxoffset;
[0139] STEP4: Let the two end points of crossEdge be st and ed;
[0140] STEP5: Let p1=st, p4=ed;
[0141] STEP6: Check the st-anchor-ed angle size:
[0142] 1) If it is greater than Max angle, move p1 and p4 until st-anchor-ed is equal to Max angle;
[0143] 2) If it is less than the desired angle, move the anchor until st-anchor-ed is equal to the desired angle;
[0144] STEP7: Determine p2 and p3 as points p2 on the seg edge on both sides of the anchor, p3 = anchor_point ±seg unit normal vector * half_seg_width;
[0145] STEP8: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 * seg_width;
[0146] STEP9: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0147] like Figure 8 As shown, the calculation and generation steps of the square pad shaped teardrop include:
[0148] STEP1: p0 is the center point of the pad, the endpoint of throughoutSeg inside the pad is insideP, the endpoint outside the pad is outsideP, and the side of the rectangle that is penetrated is recorded as crossEdge;
[0149] STEP2: The initial value of anchor is set to outsideP, and the intersection of throughoutSeg and pad is recorded as intersection;
[0150] STEP3: If the anchor-intersection distance is greater than Max offset, move the anchor until it is equal to Maxoffset, anchor = intersection + normalized(intersection->outsideP) * Maxoffset;
[0151] STEP4: Let the two end points of crossEdge be st and ed;
[0152] STEP5: If throughoutSeg passes through a vertex, then p1 and p4 are two adjacent vertices of the vertex, otherwise p1=st, p4=ed;
[0153] STEP6: If the angle between p1-anchor-p4 is greater than the Max angle, keep trying to move p1 and p4 toward p0, with each move being one twentieth of the distance between p1 and p4, until the angle between p1-anchor-p4 is no greater than the Max angle.
[0154] STEP7: Determine p2 and p3 as points p2 on the seg edge on both sides of the anchor, p3 = anchor_point ±seg unit normal vector * half_seg_width;
[0155] STEP8: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 * seg_width;
[0156] STEP9: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
[0157] like Fig. 9 As shown, when the wire passes through both ends of the pad, teardrops are generated on both sides of the pad.
[0158] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for realizing teardrop design of chip packaging, characterized in that: The following steps are included: Step 1: Teardrop parameter setting: There are two modes for generating teardrops, namely static and dynamic. The teardrops generated in the static mode are generated according to the teardrop parameter settings. The teardrops are generated by clicking the target object with the mouse. The three operations of point selection, box selection and full selection are supported. After modifying the teardrop parameters again in the static mode, the generated teardrops will not be changed in real time. The teardrops in the dynamic mode will change instantly according to the changes in the teardrop parameter panel. The teardrop parameter setting mainly realizes the selection of the object for teardrop generation, that is, generating teardrops for Pad or Via, or generating teardrops for both Pad and Via, and controls the expected angle, maximum angle, maximum offset, maximum line width of the wire, minimum line width of the wire and other parameters for generating teardrops, so as to optimize the compensation effect of teardrops; Step 2: Preprocessing: extract the information of all objects in the current stack when executing the teardrop command and the data related to the related stack, intelligently identify vias and pads, calculate the corresponding relationship between vias or pads to connect the teardrops with the pads, and establish the network structure of the corresponding signal. The teardrops and the pads to which they belong are the same network; Step 3: Determine the pads that need to add teardrops based on the parameters set in step 1; 1) Search all pads in the current stack and determine whether the pad type can generate teardrops. Currently, special-shaped pads cannot generate teardrops. 2) Determine whether there is a wire connection on the pad: If yes, calculate the positional relationship between the wire and the pad, whether the wire is a straight line or a broken line inside the pad, if it is a straight line, generate a regular teardrop, if it is a broken line, generate an irregular teardrop, read the width of the wire, and compare the width of the wire with the minimum line width of the preset wire in step 1; If not, no tears will be generated; 3) A teardrop will be generated at the connection between the pad and the wire only when the wire is connected to the center point of the pad and at least one end appears outside the pad, and the wire width meets the maximum and minimum wire width conditions of the preset wire in step 1; Step 4: After determining the specific pad to which the teardrop needs to be added, calculate the size and shape of the pre-generated teardrop area according to the parameters set in step 1; Step 5: Before each teardrop is generated, the distance to the surrounding objects on the same layer is calculated according to the minimum distance set in the rule manager, and the distance between the teardrop area generated by the teardrop and the surrounding objects is compared with the preset minimum distance. If the distance between the teardrop area and the surrounding objects is less than the minimum distance set in the rule manager or the teardrop area is directly in contact with the surrounding objects, the teardrop will not be generated. If the distance between the teardrop area and the surrounding objects is greater than the minimum distance set in the rule manager, the teardrop will be generated. Step 6: After the teardrop is generated, the same network signal will be generated according to the pad it is connected to. If the pad itself does not have a network, the teardrop will also not have a network. The specific implementation method of step 4 includes: STEP1: Determine the anchor point anchor for generating the teardrop area. The five basic points p0, p1, p2, p3, and p4 are connected to form a polygonal teardrop area. p0 is the center point between the wire and the pad, p1 and p4 are points on the edge of the pad, and p2 and p3 are points on the wire. After determining the position of the anchor on the wire, the two points are taken as the midpoint coordinates plus half the wire width. STEP2: Determine the size and shape of the teardrop generation area based on the parameters Max offset, Desired angle and Max angle. Max offset reflects the distance from the anchor to the pad; Desired angle and Max angle limit the angle formed by the two line segments from p1 to the anchor and from p4 to the anchor. Desired angle is not greater than max angle. STEP3: According to step 3 (2), whether the wire is a straight line or a broken line inside the pad, generate the corresponding regular teardrop or special-shaped teardrop. The calculation and generation steps of the conventional teardrop of the circular pad include: STEP1: Find the line segment that runs through the pad, with the endpoint inside the pad as insideP and the endpoint outside the pad as outsideP. Set anchor=outsideP, p0=insideP; STEP2: Check whether the distance from the anchor point to the center of the pad exceeds the Max offset. If so, move the anchor point until the distance from the anchor point to the center of the pad is equal to the Max offset. If not, the position of the anchor point remains unchanged. STEP3: Draw two tangent lines from the anchor, and the intersection points with the pad are p11 and p41, which serve as the initial values of p1 and p4; STEP4: Compare the relationship between ∠p1-anchor-p4 and Desired angle and Max angle: 1) If it is greater than Max angle, rotate anchor-p11 downward until it meets half of Max offset, and update p1 to p13, and p4 in the same way. At this time, ∠insideP-anchor-p1 = ∠insideP-anchor-p4 = 0.5 * Maxangle; 2) If it is less than the desired angle, move the anchor toward insideP. p1 and p4 are always the tangent points between the anchor and the circle until ∠p1-anchor-p4=Desired angle is satisfied. 3) Otherwise, the values of p1 and p4 are legal, that is, ∠p1-anchor-p4 is in the interval [Desired angle, Max angle] and no adjustment is required; STEP5: Determine p2 and p3 as points on the edge of the line segment on both sides of the anchor, move half segwidth (half the width of the line where the anchor is located) from the anchor to both sides to obtain p2, p3 = anchor_point ± seg unit normal vector * half_seg_width; STEP6: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is as sharp as possible, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 *seg_width STEP7: Now that all points p0~p4 and anchors are determined, the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4. The calculation and generation steps of circular pad profile teardrop include: STEP1: Find the throughoutSeg that runs through the pad. The throughoutSeg is the end of the wire with one point inside the pad and the other point outside the pad. The end point inside the pad is insideP, and the end point outside the pad is outsideP. The intersection of throughoutSeg and pad is recorded as intersection. STEP2: Set the anchor to intersection and move the Max offset distance in the outsideP direction. The anchor coordinates = intersection + normalized(intersection->outsideP) * Max offset. STEP3: Draw two tangent lines through the anchor, and the intersection points with the pad are t1 and t2; STEP4: Compare the relationship between ∠t1-anchor-t2 and Max angle; 1) If it is greater than the Max angle, calculate the angle decrease that needs to be reduced, consume the decrease from the larger angle first, until the two angles divide the remaining decrease equally, and update t1 and t2; - decrease = ∠t1-anchor-t2 - Max angle - diff = max(∠t1-anchor-insideP, ∠t2-anchor-insideP) - min(∠t1-anchor-insideP, ∠t2-anchor-insideP) - First rotate anchor-tx from the larger angle of ∠t1-anchor-insideP and ∠t2-anchor-insideP to consume the decrease - If the diff is consumed and there is still some decrease left, ∠t1-anchor-insideP and ∠t2-anchor-insideP will each be reduced by half of the decrease; 2) If it is less than the desired angle, move the anchor until t1-anchor-t2 is equal to the desired angle; 3) Otherwise, t1-anchor-t2 is legal and does not need to be adjusted; STEP5: Update p1 to the intersection of anchor-t1' and pad, and p4 to the intersection of anchor-t2' and pad; STEP6: Determine p2 and p3 as points on the seg edge on both sides of the anchor. p2, p3 = anchor_point ± seg unit normal vector * half_seg_width; STEP7: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 *seg_width; STEP8: Now that all points p0~p4 and anchors are determined, the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4. The calculation and generation steps of the conventional teardrop of the square pad include: STEP1: p0 is the center point of the pad, the endpoint of throughoutSeg inside the pad is insideP, the endpoint outside the pad is outsideP, and the side of the rectangle that is penetrated is recorded as crossEdge; STEP2: The initial value of anchor is set to outsideP, and the intersection of throughoutSeg and pad is recorded as intersection; STEP3: If the anchor-intersection distance is greater than Max offset, move the anchor until the Maxoffset requirement is met, anchor = intersection + normalized(intersection->outsideP) * Maxoffset STEP4: Remember the two end points of crossEdge are st and ed STEP5: Let p1=st, p4=ed STEP6: Check the st-anchor-ed angle size: 1) If it is greater than Max angle, move p1 and p4 until st-anchor-ed is equal to Max angle; 2) If it is less than the desired angle, move the anchor until st-anchor-ed is equal to the desired angle; STEP7: Determine p2 and p3 as points on the seg edge on both sides of the anchor. p2, p3 = anchor_point ± seg unit normal vector * half_seg_width; STEP8: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 *seg_width STEP9: Now that all points p0~p4 and anchors are determined, the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4. The calculation and generation steps of square pad shaped teardrop include: STEP1: p0 is the center point of the pad, the endpoint of throughoutSeg inside the pad is insideP, the endpoint outside the pad is outsideP, and the side of the rectangle that is penetrated is recorded as crossEdge; STEP2: The initial value of anchor is set to outsideP, and the intersection of throughoutSeg and pad is recorded as intersection; STEP3: If the anchor-intersection distance is greater than Max offset, move the anchor until it is equal to Maxoffset, anchor = intersection + normalized(intersection->outsideP) * Maxoffset STEP4: Remember the two end points of crossEdge are st and ed STEP5: If throughoutSeg passes through a vertex, then p1 and p4 are two adjacent vertices of the vertex, otherwise p1=st, p4=ed STEP6: If the angle between p1-anchor-p4 is greater than the Max angle, keep trying to move p1 and p4 toward p0, with each move being one twentieth of the distance between p1 and p4, until the angle between p1-anchor-p4 is no greater than the Max angle. STEP7: Determine p2 and p3 as points on the seg edge on both sides of the anchor. p2, p3 = anchor_point ± seg unit normal vector * half_seg_width STEP8: In order to ensure that the center of the pad is included in the teardrop and the corner of p0 is not too sharp, p0 is moved away from the anchor by one eighth of the line width, p0 = p0 + anchor_p->insideP unit vector * 0.125 *seg_width STEP9: Now all points p0~p4 and anchors are determined, and the teardrop shape is generated. The shape is a closed figure of p0-p1-p2-p3-p4.
2. A method for realizing chip packaging design teardrop according to claim 1, characterized in that: The pads include chip pads and through-hole pads.
3. The method for realizing chip packaging design teardrop according to claim 1, characterized in that: The teardrop parameter settings described in step 1 include Fillet object: Pads to generate teardrops for Pads, Fillet object: Vias to generate teardrops for Vias, and Fillet object: All to generate teardrops for both Pads and Vias; Desired angle: the desired teardrop angle, generally used as the minimum teardrop angle; Max angle: the maximum teardrop angle; Max offset: the maximum offset, which limits the maximum distance between the anchor point and the pad; Max line width: a pad and a wire are the primary conditions for determining the generation of teardrops. This parameter limits the maximum width of the wire. If it is greater than this, no teardrops will be generated; Min line width: limits the minimum width of the wire. If it is less than this, no teardrops will be generated; Dynamic: if checked, dynamic teardrops will be generated, otherwise static teardrops will be generated.
4. The method for realizing chip packaging teardrop design according to claim 1, characterized in that: The steps three and five are teardrop generation conditions. If the above requirements are not met at the same time, teardrops will not be generated.
5. The method for realizing chip packaging design teardrop according to claim 1, characterized in that: When the wire passes through both ends of the pad, a teardrop is generated on both sides of the pad.
