Standard cell size adjustment method, device and computer equipment
Through the automated standard unit size adjustment method, the layer classification and area segmentation technology are used to solve the problem of low-efficiency adjustment of standard unit layout size adjustment in the existing technology, and efficient and accurate dimensional adjustment and reusability are achieved.
Patent Information
- Application Number
- CN202410844049.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-06-27
AI Technical Summary
The prior art is inefficient in handling layout size adjustments of standard units, requires a lot of human resources, and has problems of winding conflicts and frequent modification of design rules inspections, resulting in low adjustment efficiency and inability to reuse.
By obtaining the original layout and target of the standard unit, dividing it into multiple areas according to the preset layer classification information, and sizing the layer categories according to the original and target sizes, including deformation layer, mask layer, and The processing of the translation layer realizes automated dimensional adjustment.
The efficiency and accuracy of standard unit size adjustment is improved, batch processing of different types of standard units is realized, human resources are saved, and the adjusted layout can be reused, reducing the need for subsequent design rules modification.
Smart Images

Figure CN118395935B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuit technology, and in particular to a method, device and computer equipment for adjusting the size of a standard cell. Background Art
[0002] With the continuous development of integrated circuit technology, the feature size of semiconductor devices has been continuously reduced, making the device layout tend to be standardized. The processing of batch standard cells has gradually become the focus of improving the efficiency of layout design. The type identification of standard cells follows specific rules, which are determined by the hierarchical structure that the standard cell should have.
[0003] The traditional method of manually modifying the layout size of standard cells often requires a lot of manpower when processing large quantities of standard cells. In addition, routing conflicts require manual adjustment, and due to differences in engineer experience, the time required is uncertain. For example, the first generated routing may block the later generated routing, and the routing needs to be repeatedly modified during the design rule check (DRC).
[0004] Therefore, the existing method for adjusting the layout size of standard cells requires parameterizing the standard cells to adapt to the design requirements of structures of different sizes, that is, it is targeted and cannot be reused for other projects, requiring repeated work, and thus there is a problem of low efficiency of manual adjustment. Summary of the invention
[0005] Based on this, it is necessary to provide a standard cell size adjustment method, device and computer equipment with high adjustment efficiency, high accuracy and reusability to address the above technical problems.
[0006] In a first aspect, the present application provides a method for adjusting the size of a standard cell, comprising:
[0007] Obtaining an original layout of a standard cell, an original size of polysilicon in a polysilicon layer, and a target adjustment size;
[0008] Determining the layer category of each layer in the original layout according to preset layer classification information;
[0009] Dividing the original layout into at least two first divided areas;
[0010] According to the original size, the target adjustment size, and the first segmented area where the graphic is located, the graphics of each layer are resized according to the layer category;
[0011] The resized layers are merged to obtain the target layout of the standard cell.
[0012] In one embodiment, the original size of the polysilicon in the polysilicon layer includes the width of the polysilicon in the original layout and the centerline distance between adjacent polysilicon;
[0013] The target adjustment size of the polysilicon in the polysilicon layer includes the width of the polysilicon in the target layout and the centerline distance between adjacent polysilicon.
[0014] In one embodiment, the layer category includes at least one of a deformation layer, a mask layer, a translation layer, and a non-essential layer; and determining the layer category of each layer in the original layout according to the preset layer classification information includes:
[0015] Determine the layer related to the current path in the original layout as the deformation layer;
[0016] The layer covered by a large rectangular area in the original layout is determined as a mask layer;
[0017] The layer in the original layout that is only adjusted for translation is determined as the translation layer;
[0018] The layers in the original layout that do not need to be adjusted are identified as non-essential layers.
[0019] In one embodiment, the resizing of the graphics of each layer according to the original size, the target resizing, and the first segmented area where the graphics are located, comprises:
[0020] Moving all vertical edges of graphics in each layer of the deformation layer;
[0021] Moving the vertical edges of the graphics located in the leftmost first segmented area and the rightmost first segmented area in each layer of the mask layer;
[0022] Performing the same movement processing on all vertical edges of the same graphic in each layer of the translation layer;
[0023] The movement processing includes: determining the translation length according to the original size and target adjustment size of the polysilicon layer, based on the layer and position information to which the vertical edge belongs; and translating the vertical edge to the left or to the right based on the translation length.
[0024] In one embodiment, before translating the vertical edge to the left or to the right based on the translation length, the method further includes:
[0025] According to a preset distance, the graphics in the layer are virtually translated in a first direction to obtain a virtual new graphics;
[0026] If the original position of the vertical side of the graphic falls within the virtual new graphic, the vertical side is defined as the first vertical side; if the original position of the vertical side of the graphic falls outside the virtual new graphic, the vertical side is defined as the second vertical side;
[0027] The second vertical side translation of the graphic belongs to the contraction of the graphic, and the first vertical side translation of the graphic belongs to the extension of the graphic;
[0028] For the figure located on the right side of the polysilicon layer origin, the first direction is to the right and the second direction is to the left; for the figure located on the left side of the polysilicon layer origin, the first direction is to the left and the second direction is to the right.
[0029] In one embodiment, translating the vertical edge to the left or to the right based on the translation length includes:
[0030] Based on the translation length, the first vertical side is first translated in a first direction, and then the second vertical side is translated in a second direction.
[0031] In one of the embodiments, the graphics of each layer are resized according to the original size, the target adjustment size, and the first segmented area where the graphics are located, including: sorting the first segmented areas from left to right, and first resizing the graphics in the first segmented area that is sorted first.
[0032] In one embodiment, the resizing of each layer in each layer category according to the original size, the target resizing, and the first segmented area where the graphic is located includes:
[0033] If the distance between adjacent graphics in the first segmentation area is less than a preset threshold, the first segmentation area is segmented into at least two second segmentation areas;
[0034] The graphics of each layer are resized according to the original size, the target adjustment size, and the second segmented area where the graphics are located, and the graphics are divided into layer categories.
[0035] In one embodiment, dividing the original layout into at least two first divided areas includes:
[0036] The original layout is divided according to the center lines of each polysilicon in the polysilicon layer to obtain at least two first divided areas with equal widths.
[0037] In one embodiment, the determining the translation length according to the original size and the target adjustment size of the polysilicon layer and based on the layer and position information to which the vertical edge belongs includes:
[0038] From left to right, let the first segmented area be y i , i is a natural number from 0 to N, and y0 is the first segmented area on the left side of the layout, y N It is the first segmented area on the far right of the layout;
[0039] If the vertical edge is located in the first segmentation area y i If the value of dCPP×(2×i-1)÷2 is within , the translation length of the vertical side is determined as;
[0040] If the vertical edge is located in the first segmentation area y i and the first segmented region y i+1 On the boundary of , the value of dCPP×i is determined as the translation length of the vertical side;
[0041] Among them, positive values translate to the right, and negative values translate to the left;
[0042] dCPP represents the difference between the target adjusted size and the original size of polysilicon in the polysilicon layer; the target adjusted size refers to the target centerline distance between adjacent polysilicon, and the original size refers to the original centerline distance between adjacent polysilicon.
[0043] In a second aspect, the present application further provides a standard unit size adjustment device, comprising:
[0044] A layout acquisition module is used to acquire the original layout of the standard cell, the original size of the polysilicon in the polysilicon layer, and the target adjustment size;
[0045] A layer classification module, used to determine the layer category of each layer in the original layout according to preset layer classification information;
[0046] A layout segmentation module, used for segmenting the original layout into at least two first segmentation areas;
[0047] A size adjustment module, used for adjusting the size of the graphics of each layer according to the original size, the target adjustment size, and the first segmented area where the graphics are located, and by layer category;
[0048] The layer merging module is used to merge the layers after size adjustment to obtain the target layout of the standard unit.
[0049] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0050] Obtaining an original layout of a standard cell, an original size of polysilicon in a polysilicon layer, and a target adjustment size;
[0051] Determining the layer category of each layer in the original layout according to preset layer classification information;
[0052] Dividing the original layout into at least two first divided areas;
[0053] According to the original size, the target adjustment size, and the first segmented area where the graphic is located, the graphic of each layer is resized according to the layer category;
[0054] The resized layers are merged to obtain the target layout of the standard cell.
[0055] The above-mentioned standard cell size adjustment method, device and computer equipment obtain the original layout of the standard cell, the original size of the polysilicon in the polysilicon layer and the target adjustment size; determine the layer category of each layer in the original layout according to the preset layer classification information; divide the original layout into at least two first segmented areas; adjust the size of the graphics of each layer according to the layer category according to the original size, the target adjustment size, and the first segmented area where the graphics are located; merge the layers after the size adjustment to obtain the target layout of the standard cell. The method of the present application classifies the layers in the original layout of the standard cell through the preset layer classification information, and then adjusts the layers according to the first segmented area to obtain the adjusted target layout. The method of the present application for standard cell size adjustment can improve the adjustment efficiency and accuracy, and has reusability. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 is a schematic flow chart of a method for adjusting the size of a standard cell in one embodiment;
[0058] Figure 2 A comparison diagram of the graphics of the deformation layer before and after the size adjustment in one embodiment;
[0059] Figure 3 is a schematic diagram of translating a vertical side of a graphic in one embodiment;
[0060] Figure 4 It is a schematic diagram of the result of determining the vertical side of a graphic as the left vertical side or the right vertical side in one embodiment;
[0061] Figure 5is a schematic diagram of the result of translating the vertical edge according to different movement orders in one embodiment;
[0062] Figure 6 A schematic diagram of the results of different first segmented region processing orders in one embodiment;
[0063] Figure 7 A schematic diagram of a process of dividing a first segmented area into a second segmented area in one embodiment;
[0064] Figure 8 A schematic diagram of dividing a first segmented area into second segmented areas in one embodiment;
[0065] Fig. 9 is a structural block diagram of a standard cell size adjustment device in one embodiment;
[0066] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0068] In an exemplary embodiment, Figure 1 As shown, a method for adjusting the size of a standard unit is provided. This embodiment uses the method applied to a terminal as an example for explanation. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0069] Step 102 , obtaining the original layout of the standard cell, the original size of the polysilicon in the polysilicon layer, and the target adjustment size.
[0070] Among them, the standard unit refers to a logic gate unit composed of a complete front-middle layer (active area layer AA, polysilicon layer poly, ion implantation layer implant, transistor and metal wire connection layer CT) and a back-end layer M1, which can realize its own logical function and can achieve seamless connection of unit boundaries through fixed centerline distances XPitch and YPitch, and has no overall design rule problems. The layout features of standard cells include: the standard cell library has a unified height, which is defined as an integer multiple of the interval (track / picth) of the metal routing, and the commonly used ones are 9T / 7T (track) and so on; the metal routing of the TOP / BOTTOM of the standard cell is the power VDD / GND routing (Power Rail), and there is a corresponding marker layer referred to as PWR, that is, the power routing marker layer; the PO and M0AA in the standard cell are arranged at a certain interval (pitch); the logic circuit layout built by the standard cell is spliced according to the standard cell marker layer STDMK (the outer edge and contour mark of the standard cell), and it is completely overlapped with the power routing marker layer PWR, and the upper and lower lines need to be mirrored on the X-axis to ensure that the Power Rails at adjacent positions are of the same type VDD or GND; there are separate substrate cells in the standard cell library; during layout, several columns of substrate cells will be inserted at a certain distance, such as 30um, according to the requirements of the design rules.
[0071] The original size includes the original centerline distance between adjacent polysilicon and the original width of the polysilicon. The target adjustment size includes the target centerline distance between adjacent polysilicon and the target width of the polysilicon.
[0072] Step 104, determining the layer category of each layer in the original layout according to the preset layer classification information.
[0073] The layer category is used to distinguish the adjustment category of the layer.
[0074] Step 106, dividing the original layout into at least two first divided areas.
[0075] Specifically, the original layout is divided into at least two first division areas according to the distribution position of the polysilicon in the polysilicon layer.
[0076] For example, Figure 2 As shown, the original layout is divided into six first division areas y0-y5 according to the center line of the polysilicon in the polysilicon layer.
[0077] Step 108, resizing the graphics of each layer according to the layer category according to the original size, the target resizing, and the first segmented area where the graphics are located.
[0078] Specifically, the vertical edges of the graphics of each layer in each first segmented area are moved according to the preset adjustment rule, and the translation length of the movement is determined according to the original size and the target adjustment size.
[0079] Step 110 , merging the resized layers to obtain a target layout of a standard cell.
[0080] In this embodiment, the original layout of the standard cell, the original size of the polysilicon in the polysilicon layer, and the target adjustment size are obtained; the layer category of each layer in the original layout is determined according to the preset layer classification information; the original layout is divided into at least two first segmented areas; the graphics of each layer are resized according to the layer category according to the original size, the target adjustment size, and the first segmented area where the graphics are located; the resized layers are merged to obtain the target layout of the standard cell. The layers in the original layout of the standard cell are classified according to the preset layer classification information, and then the layers are adjusted according to the first segmented area to obtain the adjusted target layout. The method of the present application is used to automatically adjust the size of the standard cell, which can achieve: 1) batch processing of different types of standard cells of the same node, which helps to save manpower and time resources; 2) the size transformation processing of the standard cell can replace the parameterization link in the traditional standard cell processing flow, which is conducive to improving the processing efficiency; 3) there is basically no need to modify the layout according to the design rules in the future, so that the processing efficiency and success rate are greatly improved.
[0081] In an exemplary embodiment, the original size of the polysilicon in the polysilicon layer includes the width of the polysilicon in the original layout and the centerline distance of adjacent polysilicon. The target adjustment size of the polysilicon in the polysilicon layer includes the width of the polysilicon in the target layout and the centerline distance of adjacent polysilicon.
[0082] In an exemplary embodiment, the layer category includes at least one of a deformation layer, a mask layer, a translation layer, and a non-essential layer. According to the preset layer classification information, the layer category of each layer in the original layout is determined, including:
[0083] The layers related to the current path in the original layout are determined as deformation layers; the layers covered by large-area rectangles in the original layout are determined as mask layers; the layers in the original layout that are only adjusted by translation are determined as translation layers; and the layers in the original layout that do not need to be adjusted are determined as non-essential layers.
[0084] Exemplarily, the deformation layer refers to the layer related to the current path in the standard cell, mainly the device functional layer and the winding layer, such as the active area layer and the metal layer. The mask layer refers to a layer covered with a large rectangular area in the standard cell, in which the upper and lower boundaries of the graphics remain unchanged before and after the size adjustment, and the left and right boundaries are translated along the center line of the polysilicon, such as the implant layer (ion implantation layer), the VT layer (threshold voltage indication layer), and other mark layers, such as the device model indication layer and the standard cell boundary layer. The translation layer is a layer that does not change its own size before and after the standard cell size adjustment, such as the contact layer (Contact layer) and the through-hole layer (Via layer). Non-essential layers refer to layers that can be deleted during size adjustment and do not need to be resized, such as auxiliary layers and identification layers.
[0085] In this embodiment, the layers in the original layout of the standard unit are classified by using preset layer classification information so as to perform corresponding movement processing, which can further improve the efficiency of size adjustment.
[0086] In an exemplary embodiment, the size of the graphics of each layer is adjusted according to the original size, the target adjustment size, and the first segmented area where the graphics are located, by layer category, including:
[0087] All vertical edges of the graphics in each layer of the deformation layer are moved; the vertical edges located in the first segmented area on the leftmost side and the first segmented area on the rightmost side of each layer of the mask layer are moved; all vertical edges belonging to the same graphic in each layer of the translation layer are moved in the same way.
[0088] The movement processing includes: determining the translation length according to the original size and target size of the polysilicon in the polysilicon layer and based on the layer and position information to which the vertical edge belongs; and translating the vertical edge to the left or to the right based on the translation length.
[0089] For example, Figure 3 As shown, Figure 3 The following is a schematic diagram of moving the graphics in the deformation layer. The rectangular diagonal area between the left and right vertical edges represents the graphics in the deformation layer. By moving all the vertical edges of the graphics, the size of the layer can be adjusted.
[0090] In an exemplary embodiment, the vertical edge is translated by a script written in TCL (Tool command language), such as svrf (Standard Verification Rule Format). For the script, the translation of the vertical edge is essentially the extension (grow) and contraction (shrink) of the rectangular figure. In the actual operation, Figure 3As shown in the thick-lined area, if all vertical edges in a certain area are operated at the same time, some vertical edges will be extended when they are translated to the right, while some vertical edges will be contracted when they are translated to the right. To solve this problem, it is necessary to distinguish whether the vertical edge is a left vertical edge or a right vertical edge before translating it.
[0091] like Figure 4 As shown, Figure 4 The following is a schematic diagram of the result of determining the vertical side of a graphic as a left vertical side or a right vertical side in one embodiment. Based on the translation length, before the vertical side is translated to the left or to the right, the standard unit size adjustment method further includes:
[0092] Step 402: Virtually translate the graphics in the layer to the right according to a preset distance to obtain a virtual new graphics.
[0093] The preset distance is a preset minimum value, such as design grid 0.001.
[0094] Step 404: if the original position of the vertical edge of the graphic falls within the virtual new graphic, the vertical edge is defined as the right vertical edge; if the original position of the vertical edge of the graphic falls outside the virtual new graphic, the vertical edge is defined as the left vertical edge.
[0095] Among them, the translation of the left vertical side of the figure belongs to the contraction of the figure, and the translation of the right vertical side of the figure belongs to the extension of the figure.
[0096] It is understandable that this embodiment is only an example of the processing method when the vertical edge is located on the right side of the origin. When the vertical edge is located on the left side of the origin, the right vertical edge translation of the graphic is a contraction of the graphic, and the left vertical edge translation of the graphic is an extension of the graphic. The graphic in the layer can be virtually translated to the left, and the vertical edge can be determined as the left vertical edge or the right vertical edge by using corresponding methods.
[0097] In this embodiment, the graphics in the layer are virtually translated in the first direction according to the preset distance to obtain a virtual new graphic; if the original position of the vertical side of the graphic falls within the virtual new graphic, the vertical side is defined as the first vertical side, and if the original position of the vertical side of the graphic falls outside the virtual new graphic, the vertical side is defined as the second vertical side; wherein, the translation of the second vertical side of the graphic belongs to the contraction of the graphic, and the translation of the first vertical side of the graphic belongs to the extension of the graphic; for the graphic located on the right side of the polysilicon layer origin, the first direction is to the right, and the second direction is to the left; for the graphic located on the left side of the polysilicon layer origin, the first direction is to the left, and the second direction is to the right. By virtually translating the layer, the left and right vertical sides of the graphic can be quickly distinguished, which facilitates the use of scripts to further move the vertical sides of the graphic.
[0098] In an exemplary embodiment, based on the translation length, translating the vertical edge to the left or to the right includes: based on the translation length, first translating the first vertical edge to the first direction, and then translating the second vertical edge to the second direction.
[0099] For example, the figure on the right side of the polysilicon layer origin is taken as an example. Figure 5 As shown in the figure, the dark graphics represent the graphics in the original layout, and the light graphics represent the graphics after vertical translation. Figure 5 It can be seen from the figure that the left vertical side of the figure cannot continue to move right because the position of the right vertical side of the figure limits the moving area of the vertical side of the figure, thus resulting in the problem that the figure of the actual result obtained is inconsistent with the figure of the theoretical result, that is, the rectangle after translation does not intersect with the rectangle before translation, and the actual operation can be run but the result is wrong. This situation is actually caused by the order of transformation. If the contraction operation is performed first and then the stretching operation is performed, the condition for the contraction of the rectangle is to at least ensure that the rectangle itself exists, so the left vertical side can only be transformed to the position of the right vertical side and cannot continue to move right. In the present embodiment, by first translating the right vertical side to the right and then translating the left vertical side to the right, the new figure obtained after the mobile process can be consistent with the theoretical result, which can improve the accuracy of size adjustment.
[0100] In an exemplary embodiment, firstly translating the right vertical edge to the right, and then translating the left vertical edge to the right, includes: translating the vertical edges in each first segmented area to the right in sequence from right to left.
[0101] In this embodiment, the first segmented areas are sorted from left to right, and the size of the graphics in the first segmented areas that are sorted first is adjusted first.
[0102] For example, Figure 6 As shown in the first part, when translating the vertical edge, if the first segmentation area is y i In the order of processing the regions according to the i value from small to large, suppose a right vertical edge of the y1 region is transformed to the y2 region after right translation and extension, then when the y1 region is processed and the y2 region is processed, the right vertical edge that should have been transformed will be right translated again for extension transformation, and so on, which will form a large cumulative error, because the right vertical edge has been extending and the rectangle is constantly extending. This problem can be solved by resizing the graphics in the first segmented region (i.e., the first segmented region with a larger i value) in order from right to left. Specifically, for example, the region with a larger i value is extended first, and then the region with a smaller i value is operated, that is, the loop should be assigned from large to small, and the same is true for the boundary case, which can avoid the cumulative error and improve the accuracy of the size adjustment.
[0103] In an exemplary embodiment, Figure 7 As shown, the size of each layer in each layer category is adjusted according to the original size, the target adjustment size, and the first segmented area where the graphic is located, including:
[0104] Step 702: If the distance between adjacent graphics in the first segmented area is less than a preset threshold, the first segmented area is segmented into at least two second segmented areas.
[0105] Wherein, at least two second segmented areas have equal widths.
[0106] Step 704, resizing the graphics of each layer according to the layer category according to the original size, the target resizing, and the second segmented area where the graphics are located.
[0107] For example, Figure 8 As shown, from Figure 8 It can be seen that there are two adjacent graphics in the first segmentation area y2. Since the spacing between the graphics is too small, directly moving the vertical edges of the graphics according to the first segmentation area y2 will cause the vertical edges of the two graphics to overlap after the movement. In this case, the first segmentation area y2 needs to be divided into three second segmentation areas y2_1, y2_2 and y2_3, and then the vertical edges need to be moved.
[0108] Understandably, Figure 8 The segmentation method shown is only an example. In practical applications, if the problem of adjacent vertical edges overlapping cannot be solved by segmenting the first segmentation area into at least two second segmentation areas, the second segmentation area where the adjacent vertical edges are located can be further segmented into several third segmentation areas, or multi-layer nested segmentation can be performed, and then the size can be adjusted. Each area can be further divided, that is, a small loop is nested within a loop, and then processed in order from large to small, first right and then left. After verification, even the M1 layer of the polygon can be transformed using this method.
[0109] In this embodiment, if the distance between adjacent graphics in the first segmented area is less than a preset threshold, the first segmented area is segmented into at least two second segmented areas; and the graphics of each layer are resized according to the original size, the target resize, the preset resize rule, and the second segmented area where the graphics are located. By segmenting the first segmented area into at least two second segmented areas, the vertical edges of the graphics in the layer can be avoided from overlapping when resizing, thereby improving the accuracy of resizing.
[0110] In this embodiment, the determining of the translation length according to the original size and the target adjustment size of the polysilicon layer and based on the layer and position information to which the vertical edge belongs includes:
[0111] In order from left to right, let the first segmented area be y i , i is a natural number from 0 to N, and y0 is the first segmented area on the left side of the layout, y N It is the first segmented area on the far right of the layout;
[0112] If the vertical edge is located in the i-th first segmentation area y i If dCPP×(2×i-1)÷2 is within , the value dCPP×(2×i-1) / 2 is determined as the translation length of the vertical side;
[0113] If the vertical edge is located in the first segmentation area y i and the first segmented region y i+1 On the boundary of the i-th first segmentation area and the i+1-th first segmentation area, the value dCPP×i of dCPP×i is determined as the translation length of the vertical side;
[0114] Among them, a positive value means a rightward shift, and a negative value means a leftward shift; dCPP represents the difference between the target adjusted size and the original size of the polysilicon in the polysilicon layer; the target adjusted size refers to the target centerline distance between adjacent polysilicon, and the original size refers to the original centerline distance between adjacent polysilicon.
[0115] In an exemplary embodiment, Figure 2 The standard cell size adjustment method of the present application is described by taking the polysilicon layer of the original layout as an example. The polysilicon layer of the original layout includes a plurality of polysilicons. The original layout is divided according to the center line of each polysilicon in the polysilicon layer to obtain five first divided areas y0, y1, y2, y3, y4, and y5 with equal widths. Figure 2 As shown, the blue figure is the polysilicon in the poly layer, and the red figure is the figure in a certain deformation layer, which is used to demonstrate the standard cell size adjustment method of this embodiment.
[0116] CPP_ori represents the original centerline distance of adjacent polysilicon, CPP_new represents the target centerline distance of adjacent polysilicon, and dCPP represents the translation length. L_ori represents the original width of polysilicon, L_new represents the target width of polysilicon, and dL represents the change in the width of polysilicon. CPP is the abbreviation of Contact Poly Pitch.
[0117] According to the original size and target adjustment size of the polysilicon layer, based on the layer and position information to which the vertical edge belongs, the translation length is determined, including: if the vertical edge is located in the i-th first segmentation area, the value of dCPP×(2×i-1)÷2 is determined as the translation length of the vertical edge; if the vertical edge is located on the boundary between the i-th first segmentation area and the i+1-th first segmentation area, the value of dCPP×i is determined as the translation length of the vertical edge.
[0118] In this embodiment, CPP_ori = 0.14, CPP_new = 0.16; L_ori = 0.04, L_new = 0.06; dCPP = CPP_new–CPP_ori = 0.02.
[0119] by Figure 2 Take the topmost figure as an example. In the left figure, i.e. the original layout, the coordinates of the two vertical sides of the figure are x=x1 and x=x2 respectively.
[0120] The vertical side of x=x1 is in the area of y2, and its movement value is (dCPP×(2×2-1) / 2)=0.02×3 / 2=0.03;
[0121] The vertical side of x=x2 is in the y5 area, and its movement value is (dCPP×(2×5-1) / 2)=0.02×9 / 2=0.09;
[0122] Therefore, after the processing of the graphic, the coordinates of the two vertical sides thereof become: x=x1+0.03, x=x2+0.09 respectively; both movement values are positive, and in this embodiment, both are moving to the right. By performing the corresponding movement processing, the size adjustment of the graphic can be completed.
[0123] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] Based on the same inventive concept, the embodiment of the present application also provides a standard cell size adjustment device for implementing the standard cell size adjustment method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more standard cell size adjustment device embodiments provided below can refer to the limitations of the standard cell size adjustment method above, and will not be repeated here.
[0125] In an exemplary embodiment, Fig. 9As shown, a standard cell size adjustment device 900 is provided, comprising: a layout acquisition module 901, a layer classification module 902, a layout segmentation module 903, a size adjustment module 904 and a layer merging module 905, wherein:
[0126] The layout acquisition module 901 is used to acquire the original layout of the standard cell, the original size of the polysilicon in the polysilicon layer, and the target adjustment size.
[0127] The layer classification module 902 is used to determine the layer category of each layer in the original layout according to preset layer classification information.
[0128] The layout segmentation module 903 is used to segment the original layout into at least two first segmentation areas.
[0129] The size adjustment module 904 is used to adjust the size of the graphics of each layer according to the original size, the target adjustment size, and the first segmented area where the graphics are located, and by layer category.
[0130] The layer merging module 905 is used to merge the layers after the size adjustment to obtain the target layout of the standard cell.
[0131] In an exemplary embodiment, the layer category includes at least one of a deformation layer, a mask layer, a translation layer, and a non-essential layer; the layer classification module 902 is further used to:
[0132] Determine the layer related to the current path in the original layout as the deformation layer;
[0133] The layer covered by a large rectangular area in the original layout is determined as a mask layer;
[0134] The layer in the original layout that is only adjusted for translation is determined as the translation layer;
[0135] The layers in the original layout that do not need to be adjusted are identified as non-essential layers.
[0136] In an exemplary embodiment, the size adjustment module 904 is further configured to:
[0137] Move all vertical edges of graphics in each layer of the deformation layer;
[0138] Moving the vertical edges of the first segmented area on the leftmost side and the first segmented area on the rightmost side of each layer of the mask layer;
[0139] Perform the same movement processing on all vertical edges of graphics in each layer of the translation layer;
[0140] The movement processing includes: determining the translation length according to the original size and target adjustment size of the polysilicon layer, based on the layer and position information to which the vertical edge belongs; and translating the vertical edge to the left or to the right based on the translation length.
[0141] In an exemplary embodiment, the size adjustment module 904 is further configured to:
[0142] Determine the translation length based on the original size of the polysilicon layer and the target adjusted size of the polysilicon layer and based on the layer and position information to which the vertical edge belongs;
[0143] Shifts the vertical edge left or right based on the Shift Length.
[0144] In an exemplary embodiment, the size adjustment module 904 is further configured to:
[0145] According to a preset distance, the graphics in the layer are virtually translated in a first direction to obtain a virtual new graphics;
[0146] If the original position of the vertical side of the graphic falls within the virtual new graphic, the vertical side is defined as the first vertical side; if the original position of the vertical side of the graphic falls outside the virtual new graphic, the vertical side is defined as the second vertical side;
[0147] The second vertical side translation of the graphic belongs to the contraction of the graphic, and the first vertical side translation of the graphic belongs to the extension of the graphic;
[0148] For the figure located on the right side of the polysilicon layer origin, the first direction is to the right and the second direction is to the left; for the figure located on the left side of the polysilicon layer origin, the first direction is to the left and the second direction is to the right.
[0149] In an exemplary embodiment, the size adjustment module 904 is further configured to:
[0150] Based on the translation length, the first vertical side is first translated in a first direction, and then the second vertical side is translated in a second direction.
[0151] In an exemplary embodiment, the size adjustment module 904 is further configured to:
[0152] The first segmented areas are sorted from left to right, and the graphics in the first segmented areas that are sorted first are resized first.
[0153] In an exemplary embodiment, the size adjustment module 904 is further configured to:
[0154] If the distance between adjacent graphics in the first segmentation area is less than a preset threshold, the first segmentation area is segmented into at least two second segmentation areas;
[0155] Resize each layer in each layer category according to the original size, the target resize, the first segmented area, the second segmented area, and the preset resize rule.
[0156] In an exemplary embodiment, the size adjustment module 904 is further configured to: sequentially set the first segmented regions as y i , i is a natural number from 0 to N, and y0 is the first segmented area on the left side of the layout, y N is the first segmented area on the rightmost side of the layout; if the vertical edge is located in the first segmented area y i If the vertical edge is located in the first segmentation area y, the value of dCPP×(2×i-1)÷2 is determined as the translation length of the vertical edge. i and the first segmented region y i+1 On the boundary of the vertical edge, the value of dCPP×i is determined as the translation length of the vertical edge; wherein, a positive value means right translation, and a negative value means left translation; dCPP represents the difference between the target adjusted size and the original size of the polysilicon in the polysilicon layer; the target adjusted size refers to the target centerline distance between adjacent polysilicon layers, and the original size refers to the original centerline distance between adjacent polysilicon layers.
[0157] Each module in the standard cell size adjustment device 900 can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0158] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a standard unit size adjustment method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0159] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0160] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0161] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0162] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0164] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for adjusting the size of a standard cell, characterized in that: The method comprises: Obtaining an original layout of a standard cell, an original size of polysilicon in a polysilicon layer, and a target adjustment size; Determining the layer category of each layer in the original layout according to preset layer classification information; Dividing the original layout into at least two first divided areas; According to the original size, the target adjustment size, and the first segmented area where the graphic is located, the graphics of each layer are resized according to the layer category; Merge the resized layers to obtain the target layout of the standard cell; The step of resizing the graphics of each layer according to the layer category according to the original size, the target resizing, and the first segmented area where the graphics are located comprises: Determine the vertical edges of the graphics to be resized in each layer according to the layer category, and move the vertical edges; The movement processing includes: determining a translation length according to the original size of the polysilicon layer and the target adjustment size, based on the layer and position information to which the vertical edge belongs; and translating the vertical edge to the left or to the right based on the translation length.
2. The method according to claim 1, characterized in that The original size of the polysilicon in the polysilicon layer includes the width of the polysilicon in the original layout and the distance between the center lines of adjacent polysilicon; The target adjustment size of the polysilicon in the polysilicon layer includes the width of the polysilicon in the target layout and the centerline distance between adjacent polysilicon.
3. The method according to claim 1, characterized in that: The layer category includes at least one of a deformation layer, a mask layer, a translation layer and a non-essential layer; and determining the layer category of each layer in the original layout according to the preset layer classification information includes: Determine the layer related to the current path in the original layout as the deformation layer; The layer covered by a large rectangular area in the original layout is determined as a mask layer; The layer in the original layout that is only adjusted for translation is determined as the translation layer; The layers in the original layout that do not need to be adjusted are identified as non-essential layers.
4. The method according to claim 3, characterized in that The step of resizing the graphics of each layer by layer category according to the original size, the target adjustment size, and the first segmented area where the graphics are located includes: Moving all vertical edges of graphics in each layer of the deformation layer; Moving the vertical edges of the graphics located in the leftmost first segmented area and the rightmost first segmented area in each layer of the mask layer; The same movement processing is performed on all vertical edges belonging to the same graphic in each layer of the translation layer.
5. The method according to claim 4, characterized in that Before translating the vertical edge to the left or to the right based on the translation length, the method further includes: According to a preset distance, the graphics in the layer are virtually translated in a first direction to obtain a virtual new graphics; If the original position of the vertical side of the graphic falls within the virtual new graphic, the vertical side is defined as the first vertical side; if the original position of the vertical side of the graphic falls outside the virtual new graphic, the vertical side is defined as the second vertical side; The second vertical side translation of the graphic belongs to the contraction of the graphic, and the first vertical side translation of the graphic belongs to the extension of the graphic; For the figure located on the right side of the polysilicon layer origin, the first direction is to the right and the second direction is to the left; for the figure located on the left side of the polysilicon layer origin, the first direction is to the left and the second direction is to the right.
6. The method according to claim 5, characterized in that The step of translating the vertical side to the left or to the right based on the translation length includes: Based on the translation length, the first vertical side is first translated in a first direction, and then the second vertical side is translated in a second direction.
7. The method according to claim 1, characterized in that The step of resizing the graphics of each layer by layer category according to the original size, the target adjustment size, and the first segmented area where the graphics are located includes: The first segmented areas are sorted from left to right to determine the first segmented area y1, the first segmented area y2, ... the first segmented area y i , firstly, the size of the graphics in the first segmented area ranked first is adjusted, and the first segmented area ranked first includes the first segmented area with a larger i value.
8. The method according to claim 1, characterized in that The step of resizing each layer in each layer category according to the original size, the target resizing, and the first segmented area where the graphic is located includes: If the distance between adjacent graphics in the first segmentation area is less than a preset threshold, the first segmentation area is segmented into at least two second segmentation areas; The graphics of each layer are resized according to the original size, the target adjustment size, and the second segmented area where the graphics are located, and the graphics are divided into layer categories.
9. The method according to claim 1, characterized in that: The step of dividing the original layout into at least two first divided areas comprises: The original layout is divided according to the center lines of each polysilicon in the polysilicon layer to obtain at least two first divided areas with equal widths.
10. The method according to claim 4, characterized in that The step of determining the translation length according to the original size and the target size of the polysilicon layer and based on the layer and position information to which the vertical edge belongs includes: From left to right, let the first segmented area be y i , i is a natural number from 0 to N, and y0 is the first segmented area on the left side of the layout, y N It is the first segmented area on the far right of the layout; If the vertical edge is located in the first segmentation area y i If the value of dCPP×(2×i-1)÷2 is within , the translation length of the vertical side is determined as; If the vertical edge is located in the first segmentation area y i and the first segmented region y i+1 On the boundary of , the value of dCPP×i is determined as the translation length of the vertical side; Among them, positive values translate to the right, and negative values translate to the left; dCPP represents the difference between the target adjusted size and the original size of polysilicon in the polysilicon layer; the target adjusted size refers to the target centerline distance between adjacent polysilicon, and the original size refers to the original centerline distance between adjacent polysilicon.
11. A standard unit size adjustment device, characterized in that: The device comprises: A layout acquisition module is used to acquire the original layout of the standard cell, the original size of the polysilicon in the polysilicon layer, and the target adjustment size; A layer classification module, used to determine the layer category of each layer in the original layout according to preset layer classification information; A layout segmentation module, used for segmenting the original layout into at least two first segmentation areas; A size adjustment module, used for adjusting the size of the graphics of each layer according to the original size, the target adjustment size, and the first segmented area where the graphics are located, and by layer category; A layer merging module is used to merge the layers after size adjustment to obtain the target layout of the standard unit; The size adjustment module is further used to determine the vertical edges of the graphics to be resized in each layer according to the layer category, and move the vertical edges; The size adjustment module is also used to determine the translation length according to the original size and target size of the polysilicon layer, based on the layer and position information to which the vertical edge belongs; and translate the vertical edge to the left or right based on the translation length.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.
