Search

CN-121981060-A - Circuit construction method, circuit construction device, electronic equipment and storage medium

CN121981060ACN 121981060 ACN121981060 ACN 121981060ACN-121981060-A

Abstract

The embodiment discloses a circuit construction method, a device, an electronic device and a readable storage medium, wherein the method comprises the following steps: obtaining an initial circuit layout of a circuit to be constructed, a preset circuit setting rule and preset technological parameters, obtaining a first distance between adjacent electrostatic discharge protection units according to a resistance threshold value of connecting wires in the initial circuit layout and the resistance of the connecting wires with unit sizes in the technological parameters, and then laying the electrostatic discharge protection units in the initial circuit layout according to coordinates of a power domain and the first distance to obtain a target circuit design file, and constructing the circuit according to the target circuit design file. According to the embodiment, the layout of the electrostatic discharge protection unit can be carried out in the early stage of circuit design according to the initial circuit layout, the preset circuit setting rule and the preset technological parameters, so that the problem of reworking of the circuit design caused by detecting and repairing the electrostatic discharge performance in the final stage of circuit design is avoided, and the reliability of the circuit to be constructed is improved.

Inventors

  • ZHANG YANG
  • XIAO BIN

Assignees

  • 龙芯中科技术股份有限公司

Dates

Publication Date
20260505
Application Date
20251211

Claims (17)

  1. 1. A circuit construction method, comprising: Acquiring an initial circuit layout of a circuit to be constructed, a preset circuit setting rule and preset process parameters, wherein the initial circuit layout comprises coordinates of a power domain in the circuit to be constructed, the preset circuit setting rule comprises a resistance threshold value of a connecting wire between adjacent electrostatic discharge protection units in the circuit to be constructed, and the preset process parameters comprise the resistance of the connecting wire in unit size; Acquiring a first distance between adjacent electrostatic discharge protection units according to the resistance threshold value of the connecting wire and the resistance of the connecting wire in unit size; and according to the coordinates of the power domain and the first distance, arranging an electrostatic discharge protection unit in the initial circuit layout to obtain a target circuit design file, and constructing a circuit according to the target circuit design file.
  2. 2. The method of claim 1, wherein the step of arranging the esd protection unit in the initial circuit layout according to the coordinates of the power domain and the first distance to obtain a target circuit design file includes: determining a type of the electrostatic discharge protection unit; Determining a target area which is matched with the type of the electrostatic discharge protection unit in the initial circuit layout according to the coordinates of the power domain and the type of the electrostatic discharge protection unit; and distributing the electrostatic discharge protection unit in the target area according to the first distance to obtain a target circuit design file.
  3. 3. The method according to claim 2, wherein determining a target area adapted to the type of the electrostatic discharge protection unit based on the coordinates of the power domain and the type of the electrostatic discharge protection unit comprises: If the type of the electrostatic discharge protection unit comprises an electrostatic discharge power supply clamping unit, acquiring a region in the power supply domain according to the coordinate of the power supply domain, and determining the region in the power supply domain as the target region; If the type of the electrostatic discharge protection unit comprises an electrostatic discharge ground clamping unit, acquiring a region where an adjacent edge of a ground plane of an adjacent power domain is located according to the coordinates of the power domain, and determining the region where the adjacent edge is located as the target region; If the type of the electrostatic discharge protection unit comprises an electrostatic discharge signal clamping unit, acquiring a region where a receiving end of a cross-power domain signal line is located according to the coordinates of the power domain, and determining the region where the receiving end of the cross-power domain signal line is located as the target region, wherein the electrostatic discharge signal clamping unit is used for discharging electrostatic discharge current of the cross-power domain signal line.
  4. 4. A method according to any one of claims 1 to 3, wherein, in case the type of the esd protection unit comprises an esd power clamp unit, said routing an esd protection unit in the initial circuit layout according to the coordinates of the power domain and the first distance comprises: acquiring a starting position and a termination position of an electrostatic discharge power supply clamping unit distributed in a power supply domain of the initial circuit domain according to the coordinates of the power supply domain; And according to the starting position, the ending position and the first distance, the electrostatic discharge power supply clamping unit is distributed in the power supply domain.
  5. 5. The method of claim 4, wherein the setting rules further include a first distance threshold between the ESD power clamp unit and a protected unit adjacent to the ESD power clamp unit and a second distance threshold between adjacent ESD power clamp units, wherein the routing the ESD power clamp unit within the power domain based on the start position and the end position and the first distance includes: acquiring a second distance between an electrostatic discharge power supply clamping unit and a power supply point adjacent to the electrostatic discharge power supply clamping unit; Acquiring a first product of the first distance threshold and a first preset multiple, and determining the minimum value of the first product, the second distance threshold, the second distance and the first distance between adjacent electrostatic discharge power supply clamping units as a first target distance between adjacent electrostatic discharge protection units; And according to the first target distance, arranging the electrostatic discharge power supply clamping unit in a region between the starting position and the ending position in the power supply domain to obtain a target circuit design file.
  6. 6. The method of claim 5, wherein the coordinates of the power domain include maximum and minimum values of an abscissa and maximum and minimum values of an ordinate, and wherein the acquiring the start position and the end position of the esd power clamp unit within the power domain according to the coordinates of the power domain comprises: acquiring an abscissa of the starting position according to the minimum value of the abscissa and the first target distance, and acquiring an ordinate of the starting position according to the minimum value of the ordinate and the first target distance; The maximum value of the abscissa is determined as the abscissa of the termination position, and the maximum value of the ordinate is determined as the ordinate of the termination position.
  7. 7. The method of claim 6, wherein the starting location comprises a first starting location and a second starting location, wherein the acquiring the abscissa of the starting location based on the minimum value of the abscissa and the first target distance, and the acquiring the ordinate of the starting location based on the minimum value of the ordinate and the first target distance, comprises: summing the minimum value of the abscissa and half of the first target distance to obtain an abscissa of the first starting position, and summing the minimum value of the ordinate and half of the first target distance to obtain an ordinate of the first starting position; And carrying out summation operation on the minimum value of the abscissa and the first target distance to obtain the abscissa of the second starting position, and carrying out summation operation on the minimum value of the ordinate and the first target distance to obtain the ordinate of the second starting position.
  8. 8. The method of claim 5, wherein the start position comprises a first start position and a second start position, wherein the routing the electrostatic discharge power clamp unit in an area between the start position and the end position within the power domain according to the first target distance comprises: taking the coordinate of the electrostatic discharge power supply clamping unit arranged in the power supply domain not exceeding the termination position as a constraint condition, taking the first starting position as a starting point, and respectively arranging the electrostatic discharge power supply clamping unit in the power supply domain along a horizontal axis and a vertical axis according to the first target distance; And arranging the electrostatic discharge power supply clamping unit in the power supply domain according to the first target distance by taking the coordinate of the electrostatic discharge power supply clamping unit arranged in the power supply domain not exceeding the end position as a constraint condition and taking the second initial position as a starting point along a transverse axis and a longitudinal axis respectively.
  9. 9. A method according to any of the claims 1 to 3, wherein, in case the type of the electrostatic discharge protection unit comprises an electrostatic discharge ground clamp unit, said routing electrostatic discharge protection units in the initial circuit layout according to the coordinates of the power domain and the first distance comprises: Acquiring a global electrostatic discharge plane in the initial circuit layout from the preset circuit setting rule, wherein the global electrostatic discharge plane is one of a plurality of power domain ground planes; acquiring adjacent edges of the global electrostatic discharge plane and other power domain ground planes except the global electrostatic discharge ground plane in the initial circuit layout according to the coordinates of the power domain; And distributing the electrostatic discharge ground clamping units at the adjacent edges of the global electrostatic discharge ground plane and other power domain ground planes except the global electrostatic discharge ground plane according to a first distance between the adjacent electrostatic discharge protection ground clamping units.
  10. 10. The method of claim 9, wherein the predetermined circuit setting rules further include a third distance threshold between the electrostatic discharge ground clamp unit and a protected unit of the circuit to be built adjacent to the electrostatic discharge ground clamp unit, and a fourth distance threshold between adjacent electrostatic discharge ground clamp units, wherein the routing the electrostatic discharge ground clamp unit at an adjacent edge of the global electrostatic discharge ground plane and other power domain ground planes than the global electrostatic discharge ground plane based on the first distance between the adjacent electrostatic discharge ground clamp units, comprises: acquiring a third distance between an electrostatic discharge ground clamp unit and a power supply point adjacent to the electrostatic discharge ground clamp unit; Acquiring a second product of the third distance threshold and a second preset multiple, and determining the second product, the fourth distance threshold, the third distance, a first distance between adjacent electrostatic discharge ground clamp units, and a minimum value of a third product of the first distance between the electrostatic discharge ground clamp unit and an electrostatic discharge power supply clamp unit adjacent to the electrostatic discharge ground clamp unit and the third preset multiple as a second target distance between the adjacent electrostatic discharge ground clamp units; and distributing the electrostatic discharge ground clamping units at the adjacent edges of the global electrostatic discharge ground plane and other power domain ground planes except the global electrostatic discharge ground plane according to the second target distance.
  11. 11. A method according to any one of claims 1 to 3, wherein, in case the type of the esd protection unit comprises an esd signal clamping unit, the preset circuit setting rule further comprises laying out a first preset number of esd signal clamping units, the coordinates of the power domain comprise coordinates of a receiving end of a signal line crossing the power domain, the laying out an esd protection unit in the initial circuit layout according to the coordinates of the power domain and the first distance, comprising: Arranging a first preset number of electrostatic discharge signal clamping units in a region where the cross-power domain signal line receiving end is located in the initial circuit layout; Acquiring a fourth distance between the electrostatic discharge signal clamping units and electrostatic discharge power supply clamping units adjacent to the electrostatic discharge signal clamping units, wherein the electrostatic discharge signal clamping units are distributed according to the first preset quantity; And if the fourth distance is larger than the first distance between the electrostatic discharge signal clamping unit and the electrostatic discharge power supply clamping unit adjacent to the electrostatic discharge signal clamping unit, increasing the number of the electrostatic discharge power supply clamping units distributed in the preset range where the electrostatic discharge signal clamping unit is located until the fourth distance is smaller than or equal to the first distance between the electrostatic discharge signal clamping unit and the electrostatic discharge power supply clamping unit adjacent to the electrostatic discharge signal clamping unit.
  12. 12. A method according to any one of claims 1 to 3, wherein, in case the type of the esd protection unit comprises an esd signal clamping unit, the preset circuit setting rule further comprises laying out a first preset number of esd signal clamping units, the coordinates of the power domain comprise coordinates of a receiving end of a signal line crossing the power domain, the laying out an esd protection unit in the initial circuit layout according to the coordinates of the power domain and the first distance, comprising: Arranging a first preset number of electrostatic discharge signal clamping units in a region where the cross-power domain signal line receiving end is located in the initial circuit layout; Acquiring a fifth distance between the electrostatic discharge signal clamping units and electrostatic discharge ground clamping units adjacent to the electrostatic discharge signal clamping units, wherein the electrostatic discharge signal clamping units are distributed according to the first preset quantity; and if the fifth distance is larger than the first distance between the electrostatic discharge signal clamping unit and the electrostatic discharge ground clamping unit adjacent to the electrostatic discharge signal clamping unit, increasing the number of the electrostatic discharge ground clamping units distributed in the preset range where the electrostatic discharge signal clamping unit is located until the fifth distance is smaller than or equal to the first distance between the electrostatic discharge signal clamping unit and the electrostatic discharge ground clamping unit adjacent to the electrostatic discharge signal clamping unit.
  13. 13. The method of claim 1, wherein the predetermined process parameters further include pin information of the esd protection unit, and the disposing the esd protection unit in the initial circuit layout according to the coordinates of the power domain and the first distance to obtain a target circuit design file includes: And according to the coordinates of the power domain and the first distance, arranging an electrostatic discharge protection unit in the initial circuit layout, and according to the pin information, connecting the electrostatic discharge protection unit with a protected unit in the initial circuit layout to obtain the target circuit design file.
  14. 14. The method of claim 1, wherein the predetermined circuit setting rule further comprises a second predetermined number of the ESD protection units, wherein the method further comprises, after the ESD protection units are arranged in the initial circuit layout according to the coordinates of the power domain and the first distance to obtain the target circuit design file: Acquiring the actual number of electrostatic discharge protection units distributed in the initial circuit layout according to the coordinates of the power domain and the first distance; if the actual number is smaller than the second preset number, the electrostatic discharge protection unit is increased until the actual number is larger than or equal to the second preset number.
  15. 15. A circuit construction device, comprising: The first acquisition module is used for acquiring an initial circuit layout of a circuit to be constructed, a preset circuit setting rule and preset process parameters, wherein the initial circuit layout comprises coordinates of a power domain in the circuit to be constructed, the setting rule comprises a resistance threshold value of a connecting wire between adjacent electrostatic discharge protection units in the circuit to be constructed, and the preset process parameters comprise the resistance of the connecting wire with unit size; The second acquisition module is used for acquiring a first distance between adjacent electrostatic discharge protection units according to the resistance threshold value of the connecting wire and the resistance of the connecting wire with unit size; And the third acquisition module is used for distributing an electrostatic discharge protection unit in the initial circuit layout according to the coordinates of the power domain and the first distance to obtain a target circuit design file, and constructing a circuit according to the target circuit design file.
  16. 16. An electronic device comprising a processor, and one or more programs, wherein the one or more programs are stored in memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for: Acquiring an initial circuit layout of a circuit to be constructed, a preset circuit setting rule and preset process parameters, wherein the initial circuit layout comprises coordinates of a power domain in the circuit to be constructed, the preset circuit setting rule comprises a resistance threshold value of a connecting wire between adjacent electrostatic discharge protection units in the circuit to be constructed, and the preset process parameters comprise the resistance of the connecting wire in unit size; Acquiring a first distance between adjacent electrostatic discharge protection units according to the resistance threshold value of the connecting wire and the resistance of the connecting wire in unit size; and according to the coordinates of the power domain and the first distance, arranging an electrostatic discharge protection unit in the initial circuit layout to obtain a target circuit design file, and constructing a circuit according to the target circuit design file.
  17. 17. A readable storage medium, characterized in that instructions in the readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of claims 1-14.

Description

Circuit construction method, circuit construction device, electronic equipment and storage medium Technical Field The embodiment belongs to the technical field of circuit design, and particularly relates to a circuit construction method, a circuit construction device, electronic equipment and a storage medium. Background With the development of integrated circuit technology, the area of the chip is larger and larger, the thickness of the gate oxide layer of the transistor in the chip circuit is thinner and thinner, and the current which the transistor can bear is smaller and smaller. If electrostatic discharge (Electrostatic Discharge, ESD) occurs in the chip, the generated ESD current can cause damage to the chip. In the related art, after the chip design is completed, performance inspection is performed on the chip, if the weak point of ESD protection is found, and then the weak point of ESD protection is repaired, the method can lead to reworking of the chip design, and the chip design period can be prolonged. Disclosure of Invention The embodiment aims to provide a circuit construction method, a circuit construction device, electronic equipment and a storage medium, which at least solve the problem of long chip design period caused by repairing weak points of ESD protection of a chip after the chip design is completed in the prior art. In order to solve the above technical problems, this embodiment is implemented as follows: In a first aspect, the embodiment provides a circuit construction method, which comprises the steps of obtaining an initial circuit layout of a circuit to be constructed, a preset circuit setting rule and preset technological parameters, wherein the initial circuit layout comprises coordinates of a power domain in the circuit to be constructed, the setting rule comprises a resistance threshold value of a connecting wire between adjacent electrostatic discharge protection units in the circuit to be constructed, the preset technological parameters comprise a resistance of the connecting wire in unit size, obtaining a first distance between the adjacent electrostatic discharge protection units according to the resistance threshold value of the connecting wire and the resistance of the connecting wire in unit size, and laying out the electrostatic discharge protection units in the initial circuit layout according to the coordinates of the power domain and the first distance to obtain a target circuit design file, and constructing the circuit according to the target circuit design file. The circuit construction device comprises a first acquisition module, a third acquisition module and a target circuit design file, wherein the first acquisition module is used for acquiring an initial circuit layout of a circuit to be constructed, a preset circuit setting rule and preset process parameters, the initial circuit layout comprises coordinates of a power domain in the circuit to be constructed, the setting rule comprises a resistance threshold value of a connecting wire between adjacent electrostatic discharge protection units in the circuit to be constructed, the preset process parameters comprise resistance of the connecting wire with unit size, the second acquisition module is used for acquiring a first distance between the adjacent electrostatic discharge protection units according to the resistance threshold value of the connecting wire and the resistance of the connecting wire with unit size, and the third acquisition module is used for distributing the electrostatic discharge protection units in the initial circuit layout according to the coordinates of the power domain and the first distance to obtain the target circuit design file, and the circuit is constructed according to the target circuit design file. In a third aspect, the present embodiment also provides an electronic device comprising a processor, and one or more programs, wherein the one or more programs are stored in memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for: The method comprises the steps of obtaining an initial circuit layout of a circuit to be constructed, presetting a circuit setting rule and preset technological parameters, wherein the initial circuit layout comprises coordinates of a power domain in the circuit to be constructed, the setting rule comprises a resistance threshold value of a connecting wire between adjacent electrostatic discharge protection units in the circuit to be constructed, the preset technological parameters comprise a resistance of the connecting wire in unit size, obtaining a first distance between the adjacent electrostatic discharge protection units according to the resistance threshold value of the connecting wire and the resistance of the connecting wire in unit size, and distributing the electrostatic discharge protection units in the initial circuit layout according to the coordinates of the power domain and th