Chip design method and device, electronic equipment, storage medium and program product
By identifying and deleting redundant electrostatic protection units, the problem of low design efficiency caused by the instability of the layout of electrostatic protection units in chip design is solved, and a more efficient chip design process is achieved.
Patent Information
- Application Number
- CN202410624162.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-30
AI Technical Summary
During the chip design process, the layout of the electrostatic protection units is unstable, resulting in frequent changes, which affects design efficiency. Changes in the number and position of the electrostatic protection units will cause position conflicts with other units in the module, resulting in low chip design efficiency.
By obtaining the electrostatic protection unit layout information of each module, redundant electrostatic protection units are identified, redundancy verification is performed based on distance and area utilization, and redundant electrostatic protection units are deleted to reduce the number of design modifications and improve efficiency.
By identifying and deleting redundant electrostatic protection units, the number of modifications in chip design is reduced, design efficiency is improved, and electrostatic protection requirements are met, while the layout of electrostatic protection units within the module is optimized.
Smart Images

Figure CN118569186A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of chip design technology, and in particular to a chip design method, device, electronic device, storage medium and program product. Background Art
[0002] With the advancement of chip technology, the circuit elements in the chip are becoming smaller and smaller, and at the same time, they are becoming more and more sensitive, which makes electrostatic protection particularly important. However, the layout of the electrostatic protection (ESD, ElertroStatic DischargedProtection) unit inside the chip faces huge challenges. Specifically, the electrostatic protection unit is usually large in size and occupies a large area, and its position in the layout is likely to affect the winding resources and the position of other units. Therefore, in the current chip design process, the position of the electrostatic protection unit is usually laid out from the level of the entire chip in the early stage of the project (that is, the global chip planning stage). After completing the layout of the electrostatic protection unit, start to design and layout each module of the chip separately.
[0003] However, since the layout plan determined in the early stage of the project is not stable, it may need to be changed many times, resulting in changes in the number and position of the electrostatic protection unit. After the changed electrostatic protection unit is placed in each module of the chip, it may conflict with other units in the module, so other units in the module need to be re-layouted. This repetitive process will result in low chip design efficiency. Summary of the invention
[0004] The purpose of the present disclosure is to provide a chip design method, device, electronic device, storage medium and program product, aiming to improve chip design efficiency.
[0005] According to one aspect of the present disclosure, a chip design method is provided, the method comprising:
[0006] Acquire module data of each module of the chip; each module of the chip is provided with an electrostatic protection unit, and the module data of each module includes layout information of the electrostatic protection unit of the module;
[0007] Determining a redundant electrostatic protection unit from multiple electrostatic protection units of multiple modules according to the electrostatic protection unit layout information of each module;
[0008] Delete redundant ESD protection unit.
[0009] In a feasible implementation of the present disclosure, the method of determining a redundant electrostatic protection unit from multiple electrostatic protection units of multiple modules according to the electrostatic protection unit layout information of each module includes:
[0010] Determine a first electrostatic protection unit and a second electrostatic protection unit from any two modules among the multiple modules, the first electrostatic protection unit and the second electrostatic protection unit are respectively located in the two modules, and a distance between the first electrostatic protection unit and the second electrostatic protection unit in the chip is less than a first threshold;
[0011] A redundant electrostatic protection unit is determined from the first electrostatic protection unit and the second electrostatic protection unit.
[0012] In a feasible implementation of the present disclosure, the first threshold is less than half of the effective protection distance of the electrostatic protection unit.
[0013] In a feasible implementation of the present disclosure, the determining of a redundant electrostatic protection unit from the first electrostatic protection unit and the second electrostatic protection unit includes:
[0014] Acquire a first chip area utilization rate of a module where the first electrostatic protection unit is located, and a second chip area utilization rate of a module where the second electrostatic protection unit is located;
[0015] When the area utilization rate of the first chip is lower than the area utilization rate of the second chip, determining the second electrostatic protection unit as a redundant electrostatic protection unit;
[0016] When the second chip area utilization is lower than the first chip area utilization, the first electrostatic protection unit is determined as a redundant electrostatic protection unit.
[0017] In a feasible implementation of the present disclosure, the method of determining a redundant electrostatic protection unit from multiple electrostatic protection units of multiple modules according to the electrostatic protection unit layout information of each module includes:
[0018] For a target electrostatic protection unit among the multiple electrostatic protection units, determining whether a union of effective protection ranges of the remaining electrostatic protection units meets the electrostatic protection requirement after deleting the target electrostatic protection unit;
[0019] If the electrostatic protection requirement is met, determining that the target electrostatic protection unit is a redundant electrostatic protection unit;
[0020] If the electrostatic protection requirement is not met, the target electrostatic protection unit is determined to be a non-redundant electrostatic protection unit.
[0021] In a feasible implementation of the present disclosure, according to the layout information of the electrostatic protection unit of each module, a redundant electrostatic protection unit is determined from multiple electrostatic protection units of multiple modules, and further includes:
[0022] Determine a third electrostatic protection unit and a fourth electrostatic protection unit from any two modules among the multiple modules, the third electrostatic protection unit and the fourth electrostatic protection unit are respectively located in the two modules, and the distance between the third electrostatic protection unit and the fourth electrostatic protection unit in the chip is less than a second threshold;
[0023] The third electrostatic protection unit and / or the fourth electrostatic protection unit are used as the target electrostatic protection unit.
[0024] In a feasible implementation of the present disclosure, the determining whether the union of the effective protection ranges of the remaining electrostatic protection units after deleting the target electrostatic protection unit meets the electrostatic protection requirement includes:
[0025] Determining whether there is a protection hole in the union of the effective protection ranges of the remaining electrostatic protection units after deleting the target electrostatic protection unit;
[0026] If there is no protection void, determining that the union of the effective protection ranges of the remaining electrostatic protection units meets the requirement;
[0027] If a protection hole exists, determining whether there is a standard cell that needs to be protected in the protection hole;
[0028] If there is no standard unit, determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the requirement;
[0029] If a standard cell exists, it is determined that the union of the effective protection ranges of the remaining electrostatic protection cells does not meet the electrostatic protection requirement.
[0030] In a feasible implementation of the present disclosure, the electrostatic protection unit in each module is an electrostatic protection unit that has been verified for rationality.
[0031] In a feasible implementation of the present disclosure, the method further includes: performing rationality verification on the electrostatic protection unit in each module.
[0032] In a feasible implementation of the present disclosure, the electrostatic protection unit in each module performs rationality verification, including:
[0033] Acquire first position information of an electrostatic protection unit of each standard unit in the target module, and determine whether there is a protection hole in the electrostatic protection unit set of all standard units of the target module according to the first position information and an effective protection distance of the electrostatic protection unit;
[0034] If there is no protection void, it is determined that the layout of the electrostatic protection unit of the target module is reasonable;
[0035] If there is a protection hole, determine whether the protection hole can be covered by the effective protection range of the electrostatic protection unit of the IP core;
[0036] If it can be covered, it is determined that the layout of the electrostatic protection unit of the target module is reasonable;
[0037] If it cannot be covered, determining whether there is a standard cell that needs to be protected in the protection hole;
[0038] If there is no standard cell, make sure that the ESD protection cell layout of the target module is reasonable;
[0039] If standard cells exist, it is determined that the layout of the electrostatic protection cells of the target module is unreasonable.
[0040] According to another aspect of the present disclosure, a chip design device is further provided, the device comprising:
[0041] An acquisition module is used to acquire module data of each module of the chip; each module of the chip is provided with an electrostatic protection unit, and the module data of each module includes layout information of the electrostatic protection unit of the module;
[0042] A redundancy determination module, configured to determine a redundant electrostatic protection unit from a plurality of electrostatic protection units of a plurality of modules according to the electrostatic protection unit layout information of each module;
[0043] Redundancy deletion module, deletes redundant electrostatic protection units.
[0044] According to another aspect of the present disclosure, an electronic device is also provided, which includes: a processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, any one of the above-mentioned chip design methods is implemented.
[0045] According to another aspect of the present disclosure, a storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, any of the above chip design methods is implemented.
[0046] According to another aspect of the present disclosure, there is also provided a computer program product, including a computer program, characterized in that:
[0047] When the computer program is executed by a processor, any of the chip design methods described above is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a flowchart of a chip design method provided by an embodiment of the present disclosure;
[0049] Figure 2 is a schematic diagram of a process for determining a redundant electrostatic protection unit provided by an embodiment of the present disclosure;
[0050] Figure 3 is a schematic diagram of a flow chart of determining a redundant electrostatic protection unit provided by another embodiment of the present disclosure;
[0051] Figure 4 is a schematic diagram of determining a redundant electrostatic protection unit provided by an embodiment of the present disclosure;
[0052] Figure 5 It is a schematic diagram of a rationality verification process of an electrostatic protection unit provided by an embodiment of the present disclosure;
[0053] Figure 6 is a schematic diagram of the structure of a chip design device proposed in an embodiment of the present disclosure;
[0054] Figure 7 It is a structural block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0055] Before introducing the embodiments of the present disclosure, it should be noted that:
[0056] Some embodiments of the present disclosure are described as processing flows. Although the various operation steps of the flow may be given sequential step numbers, the operation steps therein may be implemented in parallel, concurrently or simultaneously.
[0057] In the embodiments of the present disclosure, the terms "first", "second", etc. may be used to describe various features, but these features should not be limited by these terms. These terms are used only to distinguish one feature from another.
[0058] The term “and / or” may be used in embodiments of the present disclosure. “And / or” includes any and all combinations of one or more of the associated features listed.
[0059] It should be understood that when describing the connection or communication relationship between two components, unless it is explicitly stated that the two components are directly connected or directly communicating, the connection or communication between the two components can be understood as direct connection or communication, or as indirect connection or communication through an intermediate component.
[0060] In order to make the technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the exemplary embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0061] In the current chip design process, the position of the electrostatic protection unit is usually laid out from the level of the entire chip in the early stage of the project. After the layout of the electrostatic protection unit is completed, each module of the chip is designed and laid out separately. However, since the layout plan determined in the early stage of the project is not stable, it may need to be changed many times, causing the number and position of the electrostatic protection unit to change. After the changed electrostatic protection unit is placed in each module of the chip, it may conflict with other units in the module, so other units in the module need to be re-layouted. Repeatedly, this will result in low chip design efficiency.
[0062] In order to improve the efficiency of chip design, the present disclosure provides a chip design method through the following embodiments, and the chip design method has multiple presentation methods. In some application scenarios, the chip design method can be used as a tool in EDA (Electronic Design Automation) software to help designers layout and design the electrostatic protection unit in the chip. In other application scenarios, the chip design method can also be used as a function in a certain hardware device, which is used for technicians to design chips. It should be noted that the present disclosure does not limit the presentation form of the above-mentioned chip design method.
[0063] refer to Figure 1 , Figure 1 FIG. 1 is a flow chart of a chip design method provided by an embodiment of the present disclosure. Figure 1 As shown, the chip design method includes the following steps.
[0064] S110: Acquire module data of each module of the chip; each module of the chip is provided with an electrostatic protection unit, and the module data of each module includes layout information of the electrostatic protection unit of the module.
[0065] It should be noted that in the early stage of chip design, the chip to be designed is usually divided into multiple modules, and then each module is designed separately, and finally the multiple designed modules need to be integrated into a complete chip. Among them, when dividing the modules, the chip to be designed can be divided into multiple modules according to the functional requirements, timing requirements, structural requirements or data flow requirements of the chip. The present disclosure does not limit how to divide the chip to be designed into multiple modules.
[0066] In the above step S110, it is necessary to obtain the module data of each module of the chip, and the module data of each module may be some design data completed by the designer (or automated design software) for the module. For example, the module data of each module includes the layout information of the electrostatic protection unit in the module. Among them, the layout information of the electrostatic protection unit includes the position information of each electrostatic protection unit, and the position information may be the relative position information of each electrostatic protection unit in the module, or may be the relative position information of each electrostatic protection unit in the entire chip.
[0067] S120: Determine a redundant electrostatic protection unit from a plurality of electrostatic protection units of a plurality of modules according to the electrostatic protection unit layout information of each module.
[0068] In the present disclosure, the layout design of the electrostatic protection unit of each module is focused on the layout design of the module itself, and the layout of the electrostatic protection unit of each module can meet the electrostatic protection requirements of the module. However, focusing on the entire chip, the layout of the electrostatic protection units of multiple modules may be redundant. For example, at adjacent positions of two adjacent modules, the effective protection range of the electrostatic protection unit in one module can cover another module. In this case, there may be redundancy in the electrostatic protection unit. The present disclosure identifies redundant electrostatic protection units through step S120.
[0069] S130: Deleting redundant electrostatic protection units.
[0070] Specifically, after the electrostatic protection units are identified, the corresponding information of these electrostatic protection units can be deleted from the electrostatic protection unit layout information, such as deleting the number information, location information, design information, etc. of these electrostatic protection units. Alternatively, after the electrostatic protection units are identified, the layout data corresponding to these electrostatic protection units can be directly deleted from the chip layout.
[0071] In the present disclosure, by executing the above-mentioned chip design method, during the integration of multiple modules of the chip, the electrostatic protection unit layout information of each module is obtained, and then based on the electrostatic protection unit layout information of each module, the redundant electrostatic protection units between modules are identified, and these redundant electrostatic protection units are deleted, thereby performing the layout design of the electrostatic protection units in a bottom-up manner, which helps to reduce the number of modifications during chip design and improve chip design efficiency.
[0072] In some embodiments, reference Figure 2 , Figure 2 FIG. 1 is a flow chart of determining a redundant electrostatic protection unit according to an embodiment of the present disclosure. Figure 2 As shown, the above step S120 specifically includes the following sub-steps:
[0073] S120-1: Determine a first electrostatic protection unit and a second electrostatic protection unit from any two modules among the multiple modules, the first electrostatic protection unit and the second electrostatic protection unit are respectively located in the two modules, and a distance between the first electrostatic protection unit and the second electrostatic protection unit in the chip is less than a first threshold.
[0074] The first threshold is less than half of the effective protection distance of the electrostatic protection unit. For example, if the effective protection distance of the electrostatic protection unit is 1250 microns, the first threshold should be less than 625 microns, for example, the first threshold can be 500 microns.
[0075] In a specific implementation, in order to identify the first electrostatic protection unit and the second electrostatic protection unit from a large number of electrostatic protection units, the following identification scheme may be used:
[0076] For an electrostatic protection unit in a module, the distance between the electrostatic protection unit and each electrostatic protection unit in other modules is calculated respectively. If the distance is less than a first threshold, the electrostatic protection unit and the corresponding electrostatic protection units in the other modules are used as the first electrostatic protection unit and the second electrostatic protection unit respectively; then the above process is repeated for the next electrostatic protection unit in the module; after executing the above process for each electrostatic protection unit in the module, the above process is repeated for the next module.
[0077] In addition, in order to improve recognition efficiency, the following recognition schemes can also be used:
[0078] Adjacent module pairs are identified from multiple modules, and for each module pair, the following processes are performed respectively: for an electrostatic protection unit in one module of the module pair, the distance between the electrostatic protection unit and each electrostatic protection unit in the other module is calculated respectively; if the distance is less than a first threshold, the electrostatic protection unit and the corresponding electrostatic protection unit in the other module are used as the first electrostatic protection unit and the second electrostatic protection unit respectively; then the above process is repeated for the next electrostatic protection unit in the module.
[0079] In order to calculate the positions of the two electrostatic protection units, specifically, if the position information of each electrostatic protection unit in the electrostatic protection unit layout information of each module is: the relative position information of each electrostatic protection unit in the entire chip, for example, the relative position information can be the position coordinates of the electrostatic protection unit in the chip coordinate system. In this case, the distance between the two electrostatic protection units can be directly calculated based on the position coordinates of the two electrostatic protection units.
[0080] If the position information of each electrostatic protection unit in the electrostatic protection unit layout information of each module is: the relative position information of each electrostatic protection unit in the corresponding module, for example, the relative position information can be the position coordinates of the electrostatic protection unit in the corresponding module coordinate system. In this case, the position coordinates of the electrostatic protection unit in the module coordinate system can be converted into the position coordinates in the chip coordinate system according to the relative position of the module in the chip, and then the distance between the two electrostatic protection units is calculated according to the converted position coordinates of the two electrostatic protection units.
[0081] S120 - 2 : Determine a redundant electrostatic protection unit from the first electrostatic protection unit and the second electrostatic protection unit.
[0082] In some specific implementations, the first electrostatic protection unit may be directly determined as a redundant electrostatic protection unit, and the second electrostatic protection unit may be directly determined as a redundant electrostatic protection unit.
[0083] In other specific implementations, a redundant electrostatic protection unit can be determined from the first electrostatic protection unit and the second electrostatic protection unit according to the chip area utilization of the module. Specifically, the first chip area utilization of the module where the first electrostatic protection unit is located and the second chip area utilization of the module where the second electrostatic protection unit is located can be obtained; when the first chip area utilization is lower than the second chip area utilization, the second electrostatic protection unit is determined as a redundant electrostatic protection unit; when the second chip area utilization is lower than the first chip area utilization, the first electrostatic protection unit is determined as a redundant electrostatic protection unit.
[0084] Among them, the chip area utilization of the module can reflect the remaining situation of the available layout space of the module. The smaller the ratio of the available layout space of the module to the total layout space of the module, the greater the chip area utilization of the module, indicating that the available layout space resources of the module are more scarce. In the present disclosure, according to the chip area utilization of the module, the redundant electrostatic protection unit is determined from the first electrostatic protection unit and the second electrostatic protection unit in the above manner, so that the module with relatively scarce available layout space resources can relieve its resource pressure.
[0085] In some embodiments, reference Figure 3 , Figure 3 FIG. 1 is a flow chart of determining a redundant electrostatic protection unit according to another embodiment of the present disclosure. Figure 3 As shown, the above step S120 specifically includes the following sub-steps:
[0086] S120-A: for a target ESD protection unit among the multiple ESD protection units, determine whether a union of effective protection ranges of the remaining ESD protection units after deleting the target ESD protection unit meets the ESD protection requirement.
[0087] The electrostatic protection requirement may be that each standard unit in the chip can be covered by the effective protection range of at least one electrostatic protection unit. The standard units include but are not limited to: logic gates, registers, multiplexers, decoders, arithmetic logic units ALU, memory units, clock modules, interface units, power management units, etc.
[0088] The target electrostatic protection unit may be any one of a plurality of electrostatic protection units of a plurality of modules.
[0089] Alternatively, the target electrostatic protection unit may be determined in advance in the following manner, and then the above step S120-A is performed for the determined target electrostatic protection unit. The specific manner of the target electrostatic protection unit is:
[0090] Determine a third electrostatic protection unit and a fourth electrostatic protection unit from any two modules among the multiple modules, the third electrostatic protection unit and the fourth electrostatic protection unit are respectively located in the two modules, and the distance between the third electrostatic protection unit and the fourth electrostatic protection unit in the chip is less than a second threshold; take the third electrostatic protection unit and / or the fourth electrostatic protection unit as the target electrostatic protection unit.
[0091] Specifically, the third electrostatic protection unit and the fourth electrostatic protection unit can be determined in accordance with the above-mentioned method of determining the first electrostatic protection unit and the second electrostatic protection unit. The second threshold is different from the first threshold, for example, the second threshold is usually equal to the effective protection distance of the electrostatic protection unit, or slightly less than the effective protection distance of the electrostatic protection unit. After determining the third electrostatic protection unit and the fourth electrostatic protection unit, any one of them can be used as a target electrostatic protection unit. It should be noted that the present disclosure uses electrostatic protection units that are located in different modules and are close to each other as target electrostatic protection units, so that sub-step S120-A is only performed for these target electrostatic protection units, and it is not necessary to perform sub-step S120-A for all electrostatic protection units, which can effectively narrow the analysis scope of the electrostatic protection unit and further improve the chip design efficiency.
[0092] S120-B: If the electrostatic protection requirement is met, determining that the target electrostatic protection unit is a redundant electrostatic protection unit.
[0093] S120-C: If the electrostatic protection requirement is not met, determine that the target electrostatic protection unit is a non-redundant electrostatic protection unit.
[0094] In some specific implementations, in order to determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the electrostatic protection requirement after the target electrostatic protection unit is deleted, the following process may be performed.
[0095] Determine whether there is a protection hole in the union of the effective protection ranges of the remaining electrostatic protection units after deleting the target electrostatic protection unit; if there is no protection hole, determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the requirements; if there is a protection hole, determine whether there is a standard unit that needs to be protected in the protection hole; if there is no standard unit, determine that the union of the effective protection ranges of the remaining electrostatic protection units meets the requirements; if there is a standard unit, determine that the union of the effective protection ranges of the remaining electrostatic protection units does not meet the electrostatic protection requirements.
[0096] For ease of understanding, illustratively, Figure 4 As shown, module A includes at least electrostatic protection units a1 and a2, and module B includes at least electrostatic protection units b1, b2 and b3. Figure 4 The circular area with each electrostatic protection unit as the center is the effective protection range of the electrostatic protection unit. The distance between the electrostatic protection unit a1 and the electrostatic protection unit b1 is less than the second threshold, so the electrostatic protection unit b1 is first determined as the target electrostatic protection unit. Figure 4 As shown in the figure, after trying to delete the electrostatic protection unit b1, a protection hole is generated. Therefore, it is necessary to further determine whether there are standard cells arranged in the protection hole. If there are standard cells arranged in the protection hole, it means that after deleting the electrostatic protection unit b1, some standard cells are no longer protected, so the electrostatic protection unit b1 is not redundant and cannot be deleted; if there are no standard cells arranged in the protection hole, it means that after deleting the electrostatic protection unit b1, the electrostatic protection of the standard cells will not be affected, so the electrostatic protection unit b1 is redundant.
[0097] Next, the electrostatic protection unit a1 may be determined as a target electrostatic protection unit, and an attempt may be made to delete the electrostatic protection unit a1 , and then the above-mentioned determination process may be performed to determine whether the electrostatic protection unit a1 is redundant.
[0098] It should be noted that if only the electrostatic protection unit b1 is redundant, the electrostatic protection unit b1 is deleted. If only the electrostatic protection unit a1 is redundant, the electrostatic protection unit a1 is deleted. If both the electrostatic protection unit a1 and the electrostatic protection unit b1 are redundant, it can be decided to delete the electrostatic protection unit a1 or the electrostatic protection unit b1 according to the chip area utilization of the module A and the module B.
[0099] In some specific embodiments, the electrostatic protection unit in each module is an electrostatic protection unit that has been verified for rationality. Specifically, before executing the above step S110, the electrostatic protection unit in each module needs to be verified for rationality. For example, when each module is designed separately, it is necessary to layout an electrostatic protection unit for each module, and during or after the layout, the electrostatic protection unit in the module is verified for rationality.
[0100] refer to Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a rationality verification process of an electrostatic protection unit provided by an embodiment of the present disclosure. Figure 5 As shown, the rationality verification process includes the following steps:
[0101] S510: Acquire first position information of an electrostatic protection unit of each standard unit in a target module, and determine whether a protection hole exists in an electrostatic protection unit set of all standard units of the target module according to the first position information and an effective protection distance of the electrostatic protection unit.
[0102] Wherein, the target module is any module among the multiple modules of the chip. In step S510, the layout information of the electrostatic protection unit of each standard unit can be automatically found from the design file of the target module according to the data name. For example, the data name of the layout information of the electrostatic protection unit of the standard unit includes the "standard-ESD" field, so the layout information of the electrostatic protection unit of each standard unit can be automatically found from the design file of the target module according to this field, and the layout information of the electrostatic protection unit of each standard unit includes the location information of the electrostatic protection unit.
[0103] In some specific embodiments, the position information of the electrostatic protection unit is the position coordinates of the electrostatic protection unit in the entire chip coordinate system. In this case, the position of each electrostatic protection unit can be used as the center of the circle, and the effective protection distance can be used as the radius to determine the effective protection range of each electrostatic protection unit. In other specific embodiments, the position information of the electrostatic protection unit is the position coordinates of the electrostatic protection unit in the coordinate system of the target module. In this case, the position coordinates of each electrostatic protection unit can be converted into the position coordinates in the chip coordinate system according to the relative position of the target module in the entire chip, and the converted position of each electrostatic protection unit can be used as the center of the circle, and the effective protection distance can be used as the radius to determine the effective protection range of each electrostatic protection unit.
[0104] Then, the union of the effective protection ranges of the multiple electrostatic protection units is calculated, and then the union is compared with the entire chip area to determine the area in the entire chip area that is not covered by the union, which is the protection void.
[0105] S520: If there is no protection void, determine that the layout of the electrostatic protection unit of the target module is reasonable.
[0106] S530: If a protection hole exists, determine whether the protection hole can be covered by an effective protection range of the electrostatic protection unit of the IP core.
[0107] Among them, the IP (Intellectual property) core does not belong to the standard unit. In step S530, the layout information of the electrostatic protection unit of each IP core can be automatically found from the design file of the target module according to the data name. For example, the data name of the layout information of the electrostatic protection unit of the IP core includes the "IP-ESD" field, so the layout information of the electrostatic protection unit of each IP core can be automatically found from the design file of the target module according to this field, and the layout information of the electrostatic protection unit of each IP core includes the location information of the electrostatic protection unit.
[0108] In some specific embodiments, the position information of the electrostatic protection unit is the position coordinates of the electrostatic protection unit in the entire chip coordinate system. In other specific embodiments, the position information of the electrostatic protection unit is the position coordinates of the electrostatic protection unit in the coordinate system of the target module. In this case, the position coordinates of each electrostatic protection unit can be converted into position coordinates in the chip coordinate system according to the relative position of the target module in the entire chip.
[0109] In step S530, for each electrostatic protection unit of the IP core, the position of the electrostatic protection unit is taken as the center of the circle and the effective protection distance is taken as the radius to determine the effective protection range of each electrostatic protection unit; then it is determined whether the protection hole can be covered by the determined effective protection range.
[0110] S540: If it can be covered, it is determined that the layout of the electrostatic protection unit of the target module is reasonable.
[0111] S550: If it cannot be covered, determine whether there is a standard cell that needs to be protected in the protection hole.
[0112] S560: If the standard unit does not exist, determine whether the electrostatic protection unit layout of the target module is reasonable.
[0113] S570: If the standard cell exists, it is determined that the layout of the electrostatic protection cell of the target module is unreasonable.
[0114] It should be noted that if Figure 5 The rationality verification process shown is only one of multiple optional verification methods, and the present disclosure does not limit how to verify whether the electrostatic protection unit in a module is rational.
[0115] As above, the present disclosure provides a chip design method. As below, the present disclosure provides a chip design device. The device and the above method are based on the same inventive concept. Therefore, in order to avoid repetition, only a brief description of the chip design device is given below. For relevant matters, reference can be made to the above method embodiments.
[0116] refer to Figure 6 , Figure 6 FIG. 1 is a schematic diagram of the structure of a chip design device proposed in an embodiment of the present disclosure. Figure 6 As shown, the device comprises:
[0117] The acquisition module 610 is used to acquire module data of each module of the chip; each module of the chip is provided with an electrostatic protection unit, and the module data of each module includes layout information of the electrostatic protection unit of the module.
[0118] The redundancy determination module 620 is used to determine redundant electrostatic protection units from multiple electrostatic protection units of multiple modules according to the electrostatic protection unit layout information of each module.
[0119] The redundancy deletion module 630 deletes redundant electrostatic protection units.
[0120] In some specific embodiments, the redundancy determination module 620 is specifically used to: determine a first electrostatic protection unit and a second electrostatic protection unit from any two modules among a plurality of modules, the first electrostatic protection unit and the second electrostatic protection unit are respectively located in the two modules, and a distance between the first electrostatic protection unit and the second electrostatic protection unit in the chip is less than a first threshold; determine a redundant electrostatic protection unit from the first electrostatic protection unit and the second electrostatic protection unit.
[0121] In some specific embodiments, the first threshold is less than half of the effective protection distance of the electrostatic protection unit.
[0122] In some specific embodiments, the redundancy determination module 620 is also specifically used to: obtain a first chip area utilization of a module where the first electrostatic protection unit is located, and a second chip area utilization of a module where the second electrostatic protection unit is located; when the first chip area utilization is lower than the second chip area utilization, determine the second electrostatic protection unit as a redundant electrostatic protection unit; when the second chip area utilization is lower than the first chip area utilization, determine the first electrostatic protection unit as a redundant electrostatic protection unit.
[0123] In some specific embodiments, the redundancy determination module 620 is specifically used to: for a target electrostatic protection unit among multiple electrostatic protection units, determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the electrostatic protection requirements after the target electrostatic protection unit is deleted; if the electrostatic protection requirements are met, determine that the target electrostatic protection unit is a redundant electrostatic protection unit; if the electrostatic protection requirements are not met, determine that the target electrostatic protection unit is a non-redundant electrostatic protection unit.
[0124] In some specific embodiments, the redundancy determination module 620 is also specifically used to: determine a third electrostatic protection unit and a fourth electrostatic protection unit from any two modules among a plurality of modules, the third electrostatic protection unit and the fourth electrostatic protection unit are respectively located in the two modules, and a distance between the third electrostatic protection unit and the fourth electrostatic protection unit in the chip is less than a second threshold; and use the third electrostatic protection unit and / or the fourth electrostatic protection unit as target electrostatic protection units.
[0125] In some specific embodiments, the redundancy determination module 620 is also specifically used to: determine whether there is a protection hole in the union of the effective protection ranges of the remaining electrostatic protection units after deleting the target electrostatic protection unit; if there is no protection hole, determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the requirements; if there is a protection hole, determine whether there is a standard unit that needs to be protected in the protection hole; if there is no standard unit, determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the requirements; if there is a standard unit, determine that the union of the effective protection ranges of the remaining electrostatic protection units does not meet the electrostatic protection requirements.
[0126] In some specific implementations, the electrostatic protection unit in each module is an electrostatic protection unit that has been rationally verified.
[0127] In some specific implementations, the chip design apparatus further includes a rationality verification module for performing rationality verification on the electrostatic protection unit in each module.
[0128] In some specific embodiments, the rationality verification module is specifically used to: obtain the first position information of the electrostatic protection unit of each standard unit in the target module, and determine whether there is a protection hole in the electrostatic protection unit set of all standard units of the target module based on the first position information and the effective protection distance of the electrostatic protection unit; if there is no protection hole, it is determined that the layout of the electrostatic protection unit of the target module is reasonable; if there is a protection hole, it is determined whether the protection hole can be covered by the effective protection range of the electrostatic protection unit of the IP core; if it can be covered, it is determined that the layout of the electrostatic protection unit of the target module is reasonable; if it cannot be covered, it is determined whether there is a standard unit that needs to be protected in the protection hole; if there is no standard unit, it is determined that the layout of the electrostatic protection unit of the target module is reasonable; if there is a standard unit, it is determined that the layout of the electrostatic protection unit of the target module is unreasonable.
[0129] See also Figure 7 , Figure 7 It is a structural block diagram of an electronic device provided in one embodiment of the present disclosure, wherein the electronic device 700 includes a processor 710, a memory 720, and one or more applications, wherein the one or more applications are stored in the memory 720 and configured to be executed by one or more processors 710, and the one or more programs are configured to execute the above-mentioned chip design method.
[0130] The processor 710 may include one or more processing cores. The processor 710 uses various interfaces and lines to connect the various parts of the entire electronic device 700, and executes various functions and processes data of the electronic device 700 by running or executing instructions, programs, code sets or instruction sets stored in the memory 720, and calling data stored in the memory 720. Optionally, the processor 710 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 710 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 710, but may be implemented separately through a communication chip.
[0131] The memory 720 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). The memory 720 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 700 during use, etc.
[0132] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the pending claims of the invention.
Claims
1. A chip design method, the method comprising: Acquire module data of each module of the chip; each module of the chip is provided with an electrostatic protection unit, and the module data of each module includes layout information of the electrostatic protection unit of the module; Determining a redundant electrostatic protection unit from multiple electrostatic protection units of multiple modules according to the electrostatic protection unit layout information of each module; Delete redundant ESD protection unit.
2. The method according to claim 1, wherein determining a redundant electrostatic protection unit from a plurality of electrostatic protection units of a plurality of modules according to the electrostatic protection unit layout information of each module comprises: Determine a first electrostatic protection unit and a second electrostatic protection unit from any two modules among the multiple modules, the first electrostatic protection unit and the second electrostatic protection unit are respectively located in the two modules, and a distance between the first electrostatic protection unit and the second electrostatic protection unit in the chip is less than a first threshold; A redundant electrostatic protection unit is determined from the first electrostatic protection unit and the second electrostatic protection unit. 3 . The method according to claim 2 , wherein the first threshold is less than half of an effective protection distance of the electrostatic protection unit.
4. The method according to claim 2, wherein determining a redundant electrostatic protection unit from the first electrostatic protection unit and the second electrostatic protection unit comprises: Acquire a first chip area utilization rate of a module where the first electrostatic protection unit is located, and a second chip area utilization rate of a module where the second electrostatic protection unit is located; When the area utilization rate of the first chip is lower than the area utilization rate of the second chip, determining the second electrostatic protection unit as a redundant electrostatic protection unit; When the second chip area utilization is lower than the first chip area utilization, the first electrostatic protection unit is determined as a redundant electrostatic protection unit.
5. The method according to claim 1, wherein determining a redundant electrostatic protection unit from a plurality of electrostatic protection units of a plurality of modules according to the electrostatic protection unit layout information of each module comprises: For a target electrostatic protection unit among the multiple electrostatic protection units, determining whether a union of effective protection ranges of the remaining electrostatic protection units meets the electrostatic protection requirement after deleting the target electrostatic protection unit; If the electrostatic protection requirement is met, determining that the target electrostatic protection unit is a redundant electrostatic protection unit; If the electrostatic protection requirement is not met, the target electrostatic protection unit is determined to be a non-redundant electrostatic protection unit.
6. The method according to claim 5, further comprising determining a redundant electrostatic protection unit from a plurality of electrostatic protection units of a plurality of modules according to the electrostatic protection unit layout information of each module, and further comprising: Determine a third electrostatic protection unit and a fourth electrostatic protection unit from any two modules among the multiple modules, the third electrostatic protection unit and the fourth electrostatic protection unit are respectively located in the two modules, and the distance between the third electrostatic protection unit and the fourth electrostatic protection unit in the chip is less than a second threshold; The third electrostatic protection unit and / or the fourth electrostatic protection unit are used as the target electrostatic protection unit.
7. The method according to claim 5, wherein the determining whether the union of the effective protection ranges of the remaining electrostatic protection units after deleting the target electrostatic protection unit meets the electrostatic protection requirement comprises: Determining whether there is a protection hole in the union of the effective protection ranges of the remaining electrostatic protection units after deleting the target electrostatic protection unit; If there is no protection void, determining that the union of the effective protection ranges of the remaining electrostatic protection units meets the requirement; If a protection hole exists, determining whether there is a standard cell that needs to be protected in the protection hole; If there is no standard unit, determine whether the union of the effective protection ranges of the remaining electrostatic protection units meets the requirement; If a standard cell exists, it is determined that the union of the effective protection ranges of the remaining electrostatic protection cells does not meet the electrostatic protection requirement.
8. According to the method of claim 1, the electrostatic protection unit in each module is an electrostatic protection unit that has been verified for rationality.
9. The method according to claim 8, further comprising: The rationality of the electrostatic protection unit in each module is verified.
10. The method according to claim 9, wherein the electrostatic protection unit in each module performs rationality verification, comprising: Acquire first position information of an electrostatic protection unit of each standard unit in the target module, and determine whether there is a protection hole in the electrostatic protection unit set of all standard units of the target module according to the first position information and an effective protection distance of the electrostatic protection unit; If there is no protection void, it is determined that the layout of the electrostatic protection unit of the target module is reasonable; If there is a protection hole, determine whether the protection hole can be covered by the effective protection range of the electrostatic protection unit of the IP core; If it can be covered, it is determined that the layout of the electrostatic protection unit of the target module is reasonable; If it cannot be covered, determining whether there is a standard cell that needs to be protected in the protection hole; If there is no standard cell, make sure that the ESD protection cell layout of the target module is reasonable; If standard cells exist, it is determined that the layout of the electrostatic protection cells of the target module is unreasonable.
11. A chip design device, comprising: An acquisition module is used to acquire module data of each module of the chip; each module of the chip is provided with an electrostatic protection unit, and the module data of each module includes layout information of the electrostatic protection unit of the module; A redundancy determination module, configured to determine a redundant electrostatic protection unit from a plurality of electrostatic protection units of a plurality of modules according to the electrostatic protection unit layout information of each module; Redundancy deletion module, deletes redundant electrostatic protection units.
12. An electronic device, comprising: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the method according to any one of claims 1 to 10 is implemented.
13. A storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 10 when executed by a processor.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
