Layout method, layout, layout device and electronic device

By dividing and arranging the electrical component modules in the layout with the shortest connections, the problem of parasitic resistance and capacitance interference caused by too long connections of electrical components in the circuit module layout is solved, and the chip performance is improved.

CN116306466BActive Publication Date: 2024-10-29BEIJING TSINGTENG MICROSYSTEM CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202310561012.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-10-29
Estimated Expiration
2043-05-18

AI Technical Summary

Technical Problem

In the existing technology, the layout of circuit modules is often customized into a regular rectangle, which results in long connections of electrical component modules in the module area, resulting in long-distance windings, increasing interference factors such as parasitic resistance and capacitance between windings, and affecting the chip. performance.

Method used

By obtaining the module area information and layout shape information in the layout, the target quantity area is divided, and the electrical component modules are arranged according to the module area information and the target quantity area to generate the target layout layout so that the connection lines connecting each electrical component module are the shortest.

Benefits of technology

It effectively reduces the winding distance between two electrical component modules in the layout, reduces interference factors such as parasitic resistance and capacitance between the windings, reduces the impact on chip performance, and improves layout performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116306466B_ABST
    Figure CN116306466B_ABST
Patent Text Reader

Abstract

The present invention discloses a layout method, a layout, a layout device and an electronic device. The layout method can obtain module area information and layout shape information in the layout; then, divide the target number of areas in the layout according to the module area information and the layout shape information; then, arrange the electrical component modules according to the module area information and the target number of areas to generate a target layout. Among them, in the target layout, the connection between each electrical component module is the shortest. The present application lays out the layout according to the module area information and the layout shape information, and takes the layout with the shortest connection between each electrical component module as the target layout, thereby solving the problem that the connection of the electrical component modules arranged in each module area is long, resulting in long-distance winding, increasing interference factors such as parasitic resistance and capacitance between windings, and affecting chip performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of layout, and in particular to a layout method, a layout, a layout device and an electronic device. Background Art

[0002] The layout of the circuit module in the related technology is often customized into a regular rectangle, and the module area is always in a fixed area of ​​the layout. This regulation method results in longer connection lines of the electrical component modules laid out in each module area, resulting in long-distance winding, which increases interference factors such as parasitic resistance and capacitance between windings, affecting chip performance. Summary of the invention

[0003] The present invention provides a layout method, a layout, a layout device, and an electronic device, aiming to solve the problem that the connection lines of the electrical component modules arranged in each module area are long, resulting in long-distance winding, which increases interference factors such as parasitic resistance and capacitance between the windings and affects the chip performance.

[0004] The above technical effects are achieved through the following technical solutions:

[0005] In a first aspect, the present invention provides a layout method, the layout method comprising:

[0006] Obtaining module area information in the layout and the layout shape information;

[0007] Dividing a target number of areas in the layout according to the module area information and the layout shape information;

[0008] Arranging electrical component modules according to the module area information and the target number of areas to generate a target layout;

[0009] Wherein, in the target layout, the connection lines connecting the electrical component modules are the shortest.

[0010] Optionally, the module area information includes the type of each of the electrical component modules, the connection relationship between each of the electrical component modules, and the characteristics of each of the electrical component modules;

[0011] The layout shape information includes layout shape and layout size;

[0012] Optionally, dividing a target number of regions in the layout according to the module region information and the layout shape information includes:

[0013] Dividing the target number of areas according to the type of each of the electrical component modules, the connection relationship between each of the electrical component modules, the characteristics of each of the electrical component modules, and the layout shape and the layout size;

[0014] The characteristics of each of the electrical component modules include whether the electrical component module can be disassembled, and whether the disassembled components can be connected via a communication line.

[0015] Optionally, arranging the electrical component modules according to the module area information and the target number of areas to generate a target layout includes:

[0016] Dividing the planned area in the layout according to the target number of areas, the type of each of the electrical component modules, and the characteristics of each of the electrical component modules;

[0017] Obtaining a plurality of spare layouts according to the connection relationship between the electrical component modules and the planned area;

[0018] Obtaining the connection length of each of the backup layouts according to the connection relationship between each of the backup layouts and each of the electrical component modules;

[0019] The backup layout with the smallest connection length is used as the target layout.

[0020] Optionally, obtaining a plurality of alternative layouts according to the connection relationship between the electrical component modules and the planned area includes:

[0021] Polling and arranging each of the electrical component modules in each of the planned areas to obtain a plurality of different arrangements and combinations of the standby layouts;

[0022] The two electrical component modules that need to be connected to each other are arranged adjacent to each other.

[0023] Optionally, obtaining the connection length of each of the spare layouts according to the connection relationship between each of the spare layouts and each of the electrical component modules includes:

[0024] In each of the standby layouts, two of the electrical component modules that need to be connected are connected according to the connection relationship between the electrical component modules;

[0025] Calculating the length of the connection between two connected electrical component modules in each of the backup layouts, and adding up the lengths of the connection to obtain the sum of the lengths of the connection;

[0026] The step of taking the backup layout with the smallest connection length as the target layout includes:

[0027] Compare the sums of the connection lengths to obtain a target connection length, wherein the target connection length has the shortest connection length;

[0028] The backup layout corresponding to the target line length is the target layout.

[0029] In a second aspect, the present application provides a layout structure, the layout structure is obtained according to any of the layout layout methods described in the first aspect, the layout structure includes a first module area, a second module area, a third module area, a fourth module area, a fifth module area, a sixth module area, a seventh module area, an eighth module area, a ninth module area, a tenth module area and an eleventh module area, wherein the number of the first module area, the second module area and the seventh module area is two;

[0030] The two first module areas are located at the upper side and the right side of the layout respectively;

[0031] The two second module areas are respectively adjacent to the first module area;

[0032] The third module area, the fourth module area, and the fifth module area are adjacent to each other in sequence, and are adjacent to one of the first module areas upwards and adjacent to another of the first module areas rightwards;

[0033] The sixth module area is located on the left side of the layout, adjacent to the third module area upwards, and adjacent to the seventh module area rightwards;

[0034] One of the seventh module areas is located in the middle of the layout, and another of the seventh module areas is located at the lower side of the layout, and surrounds the eighth module area in the middle of the layout;

[0035] The ninth module area, the tenth module area and the eleventh module area are located at the lower left corner of the layout, and are adjacent to the sixth module area upwards.

[0036] Optionally, the first module area is a high and low voltage generating circuit area, the second module area is a voltage division detection and comparison circuit area, the third module area is a high voltage transmission circuit area, the fourth module area is a reference current and voltage generating circuit area, the fifth module area is a register circuit area, the sixth module area is a negative voltage detection circuit area, the seventh module area is an erase detection circuit area, the eighth module area is a clock control and high voltage control circuit area, the ninth module area is a high voltage release circuit area, the tenth module area is a high voltage test circuit area, and the eleventh module area is a programming voltage generating circuit area.

[0037] In a third aspect, the present invention provides a layout device, wherein the layout method device comprises:

[0038] An acquisition module is configured to acquire module area information in a layout and the layout shape information;

[0039] A division module, configured to divide a target number of regions in the layout according to the module region information and the layout shape information;

[0040] A generating module configured to arrange the electrical component modules according to the module area information and the target number of areas to generate a target layout;

[0041] Wherein, in the target layout, the connection lines connecting the electrical component modules are the shortest.

[0042] In a fourth aspect, the present invention provides an electronic device, a processor;

[0043] a memory for storing instructions executable by the processor;

[0044] The processor is used to read the executable instructions from the memory and execute the instructions to implement any method described in the first aspect.

[0045] The present invention provides a layout method, which can obtain module area information and layout shape information in a layout; then, divide the target number of areas in the layout according to the module area information and the layout shape information; then, arrange the electrical component modules according to the module area information and the target number of areas to generate a target layout. Among them, in the target layout, the connection between each electrical component module is the shortest. The present application lays out the layout according to the module area information and the layout shape information, and takes the layout with the shortest connection between each electrical component module as the target layout, thereby solving the problem that the connection of the electrical component modules laid out in each module area is long, resulting in long-distance winding, increasing interference factors such as parasitic resistance and capacitance between windings, and affecting chip performance.

[0046] The further effects of the above-mentioned non-conventional preferred manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the existing technical solutions, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0048] Figure 1 A layout method provided by an embodiment of the present invention;

[0049] Figure 2 Another layout method provided by an embodiment of the present invention;

[0050] Figure 3A schematic diagram of a copyright structure provided by an embodiment of the present invention;

[0051] Figure 4 A schematic diagram of the structure of a layout device provided by an embodiment of the present invention;

[0052] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0053] Explanation of the symbols in the accompanying drawings: 1. First module area; 2. Second module area; 3. Third module area; 4. Fourth module area; 5. Fifth module area; 6. Sixth module area; 7. Seventh module area; 8. Eighth module area; 9. Ninth module area; 10. Tenth module area; 11. Eleventh module area. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] The layout of the circuit module in the related technology is often customized into a regular rectangle, and the module area is always in a fixed area of ​​the layout. This regulation method results in longer connection lines of the electrical component modules laid out in each module area, resulting in long-distance winding, which increases interference factors such as parasitic resistance and capacitance between windings, affecting chip performance.

[0056] In view of this, the present invention provides a layout method. Figure 1 FIG. 1 is a specific embodiment of the layout method provided by the present invention. In this embodiment, the method includes step S101, step S102 and step S103.

[0057] Step S101, obtaining module area information and layout shape information in the layout;

[0058] Step S102, dividing a target number of regions in the layout according to the module region information and the layout shape information;

[0059] Step S103, arranging the electrical component modules according to the module area information and the target number of areas to generate a target layout;

[0060] Among them, in the target layout, the connection lines connecting the electrical component modules are the shortest.

[0061] This embodiment first determines the target number of areas according to the module area information and the layout shape information, divides the layout into the target number of areas, and then arranges the electrical component modules according to the module area information and the target number of areas. The electrical component modules can be arranged according to the actual situation of the layout and the actual situation of the module area, rather than according to the specified area position. In the generated target layout, the connection line connecting each electrical component module is the shortest, which can effectively reduce the winding distance of the two electrical component modules in the layout, avoid interference factors such as parasitic resistance and capacitance between the windings, and reduce the impact of resistance and capacitance on chip performance. This overcomes the problem that the connection lines of the electrical component modules arranged in each module area are long, resulting in long-distance winding, increasing interference factors such as parasitic resistance and capacitance between the windings, and affecting chip performance.

[0062] In some embodiments, the module area information includes the type of each electrical component module, the connection relationship between each electrical component module, and the characteristics of each electrical component module. The layout shape information includes the layout shape and the layout size. The layout layout is designed according to the type of each electrical component module, the connection relationship between each electrical component module, the characteristics of each electrical component module, the layout shape and the layout size. Under the condition of these factors, the limitations of the layout can be better considered, so as to facilitate a better layout of the layout.

[0063] In some implementations, such as the attached Figure 2 , based on the above-mentioned module area information including the type of each electrical component module, the connection relationship between each electrical component module, and the characteristics of each electrical component module, and the layout shape information including the layout shape and the layout size, step S102, divide the target number of areas in the layout according to the module area information and the layout shape information, including step S1021.

[0064] Step S1021 , dividing the target number of regions according to the type of each electrical component module, the connection relationship between each electrical component module, the characteristics of each electrical component module, and the layout shape and layout size.

[0065] The characteristics of each electrical component module include whether the electrical component module can be disassembled and whether the disassembled components can be connected via communication lines.

[0066] The type of the electrical component module may be what circuit module the electrical component module is, such as a high-low voltage generating circuit, a voltage division detection comparison circuit, etc. The connection relationship may be whether two electrical component modules need to be connected, such as a high-low voltage generating circuit and a voltage division detection comparison circuit need to be connected. The characteristic of the electrical component module may be whether the electrical component module can be split into two or more sub-components.

[0067] Exemplarily, the layout includes two high and low voltage generating circuit areas and a voltage dividing detection comparison circuit area. Since the high and low voltage generating circuits in the two high and low voltage generating circuit areas need to be connected to the voltage dividing detection comparison circuits in the voltage dividing detection comparison circuit area respectively, and the two high and low voltage generating circuit areas need to be arranged at different positions of the layout, therefore, the two high and low voltage generating circuits need 6 wires to be connected to the voltage dividing detection comparison circuit respectively, and since the two high and low voltage generating circuit areas are arranged at different positions of the layout, the length of the 6 wires wound in the layout is relatively long. At this time, the voltage dividing detection comparison circuit characteristics are analyzed, and it is determined whether it can be divided into two sub-voltage dividing detection comparison circuits according to the characteristics of the voltage dividing detection comparison circuit. In this embodiment, it is determined that the voltage dividing detection comparison circuit can be divided into two sub-voltage dividing detection comparison circuits according to the characteristics of the voltage dividing detection comparison circuit. At this time, the areas where the two sub-voltage dividing detection comparison circuits are arranged are respectively set adjacent to the two high and low voltage generating circuit areas to reduce the length of the wire, and the two sub-voltage dividing detection comparison circuits are connected with a communication line to ensure the function of the voltage dividing detection comparison circuit. Only two communication lines are required, and the capacitance and resistance generated by the length of the communication line have little effect on the chip performance.

[0068] In some embodiments, step S103, arranging the electrical component modules according to the module area information and the target number of areas to generate a target layout, includes steps S1031, S1032, S1033 and S1034.

[0069] Step S1031, dividing the planning area in the layout according to the target number of areas, the type of each electrical component module, and the characteristics of each electrical component module;

[0070] Step S1032, obtaining a plurality of spare layouts according to the connection relationship between the electrical component modules and the planned area;

[0071] Step S1033, obtaining the connection length of each spare layout according to the connection relationship between each spare layout and each electrical component module;

[0072] Step S1034, taking the backup layout with the smallest connection length as the target layout.

[0073] As in the above-mentioned embodiment, the characteristic of the electric component module can be whether the electric component module can be split into more than two sub-components. The target number area is obtained by dividing the target number area in the layout according to the module area information and the layout shape information. The target number area refers to how many areas are divided in the layout, and how these areas are arranged. It can be known that before determining the target number area, it is necessary to divide the area in combination with the actual situation of the module area information and the layout shape information. First, determine whether the electric component module in the layout layout can be divided, and how many areas the divisible electric component module has after being divided. Determine how the layout is divided according to the target data area and the layout shape information.

[0074] As for how to divide the area, the planned area can be divided in the layout according to the target number of areas, the type of each electrical component module, and the characteristics of each electrical component module. It can be known that after knowing the target number of areas for layout division, it is necessary to determine how to divide the area in the layout in combination with the type of electrical component module and the characteristics of the electrical component module. After the layout is divided, according to the connection relationship between each electrical component module and the planned area, a variety of combinations of layout layouts are arranged to obtain multiple possible spare layout layouts. Then, in each spare layout, according to the connection relationship between each electrical component module, the two electrical component modules that need to be connected in the spare layout are connected, and the required connection length in the spare layout is calculated. The spare layout layout with the smallest connection length is used as the target layout, so that the connection of the target layout is shorter, which can reduce interference factors such as parasitic resistance and capacitance between windings, and reduce the impact on chip performance.

[0075] In some embodiments, step S1032, obtaining a plurality of alternative layouts according to the connection relationship between the electrical component modules and the planned area, includes:

[0076] Step S10321, polling and arranging each electrical component module in each planning area to obtain a plurality of alternative layouts of different arrangements and combinations;

[0077] In this case, two electrical component modules that need to be connected to each other are arranged adjacent to each other.

[0078] Exemplarily, each electrical component module is polled and laid out in each planning area, for example, the layout includes 9 areas, area A, area B, area C, area D, area E, area F, area G, area H and area Y. The electrical component module includes a first module circuit, a second module circuit, a third module circuit, a fourth module circuit, a fifth module circuit, a sixth module circuit, a seventh module circuit, an eighth module circuit and a ninth module circuit. In area A, the first module circuit, the second module circuit, the third module circuit, the fourth module circuit, the fifth module circuit, the sixth module circuit, the seventh module circuit, the eighth module circuit and the ninth module circuit are sequentially arranged; in area B, the first module circuit, the second module circuit, the third module circuit, the fourth module circuit, the fifth module circuit, the sixth module circuit, the seventh module circuit, the eighth module circuit and the ninth module circuit are sequentially arranged, and the same principle is used in areas C, D, E, F, G, H and Y, that is, each planning area has 9 schemes, and the schemes of each planning area are arranged and combined, and different electrical component modules are distributed in the planning area of ​​each spare layout layout, so that there are 362880 (obtained by factorial) kinds of spare layout layouts. In the 362880 kinds of spare layout layouts, the spare layout layouts of two electrical component modules that need to be connected to each other can be selected as the target spare layout layout. It can be understood that the adjacent layout of two electrical component modules that need to be connected to each other can reduce the length of the connection in the layout. In the target standby layout, the electrical component modules that need to be connected in each standby layout are connected according to the connection relationship between the electrical component modules.

[0079] In some embodiments, step S1033, obtaining the connection length of each spare layout according to the connection relationship between each spare layout and each electrical component module, includes step S10331 and step S10332.

[0080] Step S10331, in each standby layout, two electrical component modules that need to be connected are connected according to the connection relationship between the electrical component modules;

[0081] Step S10332, calculating the connection lengths of two connected electrical component modules in each backup layout, and adding up the connection lengths to obtain the sum of the connection lengths.

[0082] As in the above-mentioned embodiment, in a spare layout, the first module circuit is arranged in area A, the second module circuit is arranged in area B, the third module circuit is arranged in area C, the fourth module circuit is arranged in area D, the fifth module circuit is arranged in area E, the sixth module circuit is arranged in area F, the seventh module circuit is arranged in area G, the eighth module circuit is arranged in area H, and the ninth module circuit is arranged in area Y. The connection relationship between each electrical component module includes the first module circuit, the second module circuit, the third module circuit, the fourth module circuit, the fifth module circuit, the sixth module circuit, the seventh module circuit, the eighth module circuit and the ninth module circuit connected in sequence, then the length of the connection between the first module circuit and the second module circuit is 1 cm, the length of the connection between the second module circuit and the third module circuit is 0.5 cm, the length of the connection between the third module circuit and the fourth module circuit is 2 cm, the length of the connection between the fourth module circuit and the fifth module circuit is 0.5 cm, the length of the connection between the fifth module circuit and the sixth module circuit is 1 cm, the length of the connection between the sixth module circuit and the seventh module circuit is 2 cm, the length of the connection between the seventh module circuit and the eighth module circuit is 1 cm, and the length of the connection between the eighth module circuit and the ninth module circuit is 1 cm, then the total length of each connection is 9 cm, and the same calculation method is used for other backup layouts. Since the total number of backup layouts is large, for the sake of simplicity, the total length of each connection for other backup layouts will not be calculated and demonstrated here.

[0083] In some embodiments, step S1034, taking the backup layout with the smallest connection length as the target layout, includes step S10341 and step S10342.

[0084] Step S10341, comparing the sums of the lengths of the links to obtain a target link length, wherein the link length of the target link length is the shortest;

[0085] Step S10342: the backup layout corresponding to the target line length is the target layout.

[0086] For example, the backup layouts include backup layout 1, backup layout 2, backup layout 3, backup layout 4, backup layout 5, and backup layout 362880. The total lengths of the connection lines of the 362880 backup layouts are compared, and the shortest connection length is used as the target connection length. For example, backup layout 5 has the shortest connection length among the 362880 backup layouts, so backup layout 5 is the target layout.

[0087] This application also includes a layout structure, such as the attached Figure 3As shown, the layout structure includes a first module area 2, a second module area 2, a third module area 3, a fourth module area 4, a fifth module area 5, a sixth module area 6, a seventh module area 7, an eighth module area 8, a ninth module area 9, a tenth module area 10 and an eleventh module area 11, wherein the number of the first module area 1, the second module area 2 and the seventh module area 7 are all two;

[0088] The two first module areas 1 are located at the upper side and the right side of the layout respectively;

[0089] The two second module areas 2 are respectively adjacent to the first module area 1;

[0090] The third module area 3 , the fourth module area 4 , and the fifth module area 5 are adjacent to each other in sequence, and are adjacent to one first module area 1 upwards, and adjacent to another first module area 1 to the right;

[0091] The sixth module area 6 is located on the left side of the layout, and is adjacent to the third module area 3 upwards and adjacent to the seventh module area 7 rightwards;

[0092] One seventh module area 7 is located in the middle of the layout, and another seventh module area 7 is located at the lower side of the layout, and surrounds the eighth module area 8 in the middle of the layout;

[0093] The ninth module area 9 , the tenth module area 10 and the eleventh module area 11 are located at the lower left corner of the layout, and are adjacent to the sixth module area 6 upwards.

[0094] The layout structure in this embodiment is obtained according to the above-mentioned layout layout method, and the first module area 1, the second module area 2, the third module area 3, the fourth module area 4, the fifth module area 5, the sixth module area 6, the seventh module area 7, the eighth module area 8, the ninth module area 9, the tenth module area 10 and the eleventh module area 11 are respectively arranged in the electrical component modules determined in the layout layout method, so that the connection length required to connect the electrical component modules in the layout structure can be reduced to the shortest, thereby reducing interference factors such as parasitic resistance and capacitance between windings, and avoiding affecting the chip performance.

[0095] In one embodiment, the first module area 1 is a high and low voltage generating circuit area, the second module area 2 is a voltage division detection and comparison circuit area, the third module area 3 is a high voltage transmission circuit area, the fourth module area 4 is a reference current and voltage generating circuit area, the fifth module area 5 is a register circuit area, the sixth module area 6 is a negative voltage detection circuit area, the seventh module area 7 is an erase detection circuit area, the eighth module area 8 is a clock control and high voltage control circuit area, the ninth module area 9 is a high voltage release circuit area, the tenth module area 10 is a high voltage test circuit area, and the eleventh module area 11 is a programming voltage generating circuit area. The high and low voltage generating circuit area is arranged with the high and low voltage generating circuit, the voltage dividing detection and comparison circuit area is arranged with the voltage dividing detection and comparison circuit, the high voltage transmission circuit area is arranged with the high voltage transmission circuit, the reference current and voltage generating circuit area is arranged with the reference current and voltage generating circuit, the register circuit area is arranged with the register circuit, the negative voltage detection circuit area is arranged with the negative voltage detection circuit, the erasure detection circuit area is arranged with the erasure detection circuit, the clock control and high voltage control circuit area is arranged with the clock control and high voltage control circuit, the high voltage release circuit area is arranged with the high voltage release circuit, the high voltage test circuit area is arranged with the high voltage test circuit, and the programming voltage generating circuit area is arranged with the programming voltage generating circuit. In this embodiment, the voltage dividing detection and comparison circuit is determined to be divided into two parts according to its characteristics and the connection relationship between the electrical component modules. Only two steady-state signal lines are required to connect the two parts, which are embedded in the high and low voltage generating circuit module. This splitting greatly shortens the six lines that have strict requirements on parasitic resistance and capacitance that connect the two high and low voltage generating circuits. In addition, the existing area that is used for routing is also fully utilized, which effectively reduces the layout area. This layout structure reduces the interference caused by long-distance winding, reduces the parasitic between long lines, reduces the layout area, and improves the layout performance. Figure 3 In the layout structure shown, the routing area A has a shorter routing length. The routing area B has two wires (such as communication lines), and the routing area B has a slightly longer routing length, but the connection in the routing area B has no requirements for parasitic resistance and capacitance.

[0096] As attached Figure 4 As shown, a layout layout device provided by an embodiment of the present application, the layout layout method device includes:

[0097] An acquisition module is configured to acquire module area information and layout shape information in the layout;

[0098] A division module is configured to divide a target number of regions in the layout according to the module region information and the layout shape information;

[0099] A generating module configured to arrange the electrical component modules according to the module area information and the target number of areas to generate a target layout;

[0100] Among them, in the target layout, the connection lines connecting the electrical component modules are the shortest.

[0101] In one embodiment, the partitioning module is further configured to:

[0102] Dividing the target number of regions according to the type of each electrical component module, the connection relationship between each electrical component module, the characteristics of each electrical component module, and the layout shape and layout size;

[0103] The characteristics of each electrical component module include whether the electrical component module can be disassembled and whether the disassembled components can be connected via communication lines.

[0104] In one embodiment, the generating module is further configured to:

[0105] Dividing the planning area in the layout according to the target number of areas, the type of each electrical component module, and the characteristics of each electrical component module;

[0106] Obtain multiple alternate layouts according to the connection relationship and planning area between the electrical component modules;

[0107] Obtaining the connection length of each spare layout according to the connection relationship between each spare layout and each electrical component module;

[0108] The alternate layout with the smallest wire length is chosen as the target layout.

[0109] In one embodiment, the generating module is further configured to:

[0110] Polling and arranging each electrical component module in each planning area to obtain a plurality of alternative layouts with different permutations and combinations;

[0111] In this case, two electrical component modules that need to be connected to each other are arranged adjacent to each other.

[0112] In one embodiment, the generating module is further configured to:

[0113] In each standby layout, two electrical component modules that need to be connected are connected according to the connection relationship between the electrical component modules;

[0114] Calculating the length of the connection between two connected electrical component modules in each alternate layout, and adding the lengths of the connection to obtain the sum of the lengths of the connection;

[0115] Use the alternate layout with the smallest wire length as the target layout, including:

[0116] Compare the sum of the lengths of the links to obtain the target link length, where the link length of the target link length is the shortest;

[0117] The alternate layout corresponding to the target wire length is the target layout.

[0118] The above-mentioned device embodiments of the present application can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0119] Figure 5 : is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.

[0120] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0121] The memory is used to store execution instructions. Specifically, the execution instructions are computer programs that can be executed. The memory may include internal memory and non-volatile memory, and provides execution instructions and data to the processor.

[0122] In one possible implementation, the processor reads the corresponding execution instructions from the non-volatile memory into the memory and then runs them, and can also obtain the corresponding execution instructions from other devices to form a layout device at the logical level. The processor executes the execution instructions stored in the memory to implement the layout method provided in any embodiment of the present invention through the execution of the execution instructions.

[0123] As described above, the present invention Figure 4The method performed by the layout layout device provided in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0124] The steps of the method disclosed in the embodiment of the present invention can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0125] The embodiment of the present invention further provides a computer-readable storage medium, which includes an execution instruction. When a processor of an electronic device executes the execution instruction, the electronic device can execute the layout method provided in any embodiment of the present invention, and is specifically used to execute the following Figure 1 or Figure 2 The method shown.

[0126] The electronic device described in the above embodiments may be a computer.

[0127] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods or computer program products. Therefore, the present invention may be implemented in the form of a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware.

[0128] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0129] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0130] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A layout method, characterized in that: The layout method comprises: Get the module area information and layout shape information in the layout; Dividing a target number of areas in the layout according to the module area information and the layout shape information; Arranging electrical component modules according to the module area information and the target number of areas to generate a target layout; Wherein, in the target layout, the connection lines connecting the electrical component modules are the shortest; The module area information includes the type of each electrical component module, the connection relationship between each electrical component module, and the characteristics of each electrical component module; the layout shape information includes the layout shape and layout size; The step of dividing a target number of regions in the layout according to the module region information and the layout shape information includes: Dividing the target number of areas according to the type of each of the electrical component modules, the connection relationship between each of the electrical component modules, the characteristics of each of the electrical component modules, and the layout shape and the layout size; The characteristics of each of the electrical component modules include whether the electrical component module can be disassembled and the disassembled components are connected through a communication line; the type of the electrical component module is a high and low voltage generating circuit and a voltage division detection and comparison circuit; the connection relationship between the electrical component modules is whether two electrical component modules need to be connected; The layout includes two high and low voltage generating circuit areas and a voltage dividing detection and comparison circuit area, the high and low voltage generating circuits in the two high and low voltage generating circuit areas are respectively connected to the voltage dividing detection and comparison circuit in the voltage dividing detection and comparison circuit area, the two high and low voltage generating circuit areas are arranged at different positions of the layout, and when it is determined according to the characteristics of the voltage dividing detection and comparison circuit that the voltage dividing detection and comparison circuit can be divided into two sub-voltage dividing detection and comparison circuits, the areas where the two sub-voltage dividing detection and comparison circuits are arranged are respectively set adjacent to the two high and low voltage generating circuit areas, and the two sub-voltage dividing detection and comparison circuits are connected by a communication line; Arranging the electrical component modules according to the module area information and the target number of areas to generate a target layout includes: Dividing the planned area in the layout according to the target number of areas, the type of each of the electrical component modules, and the characteristics of each of the electrical component modules; Obtaining a plurality of spare layouts according to the connection relationship between the electrical component modules and the planned area; Obtaining the connection length of each of the backup layouts according to the connection relationship between each of the backup layouts and each of the electrical component modules; Taking the backup layout with the smallest connection length as the target layout; The step of obtaining a plurality of spare layouts according to the connection relationship between the electrical component modules and the planned area includes: Polling and arranging each of the electrical component modules in each of the planned areas to obtain a plurality of different arrangements and combinations of the standby layouts; The two electrical component modules that need to be connected to each other are arranged adjacent to each other.

2. The layout method according to claim 1, characterized in that: The obtaining of the connection length of each of the backup layouts according to the connection relationship between each of the backup layouts and each of the electrical component modules comprises: In each of the standby layouts, two of the electrical component modules that need to be connected are connected according to the connection relationship between the electrical component modules; Calculating the length of the connection between two connected electrical component modules in each of the backup layouts, and adding up the lengths of the connection to obtain the sum of the lengths of the connection; The step of taking the backup layout with the smallest connection length as the target layout includes: Compare the sums of the connection lengths to obtain a target connection length, wherein the target connection length has the shortest connection length; The backup layout corresponding to the target line length is the target layout.

3. A layout, characterized in that: The layout is obtained by the layout layout method according to claim 1 or 2, and the layout includes a first module area, a second module area, a third module area, a fourth module area, a fifth module area, a sixth module area, a seventh module area, an eighth module area, a ninth module area, a tenth module area and an eleventh module area, wherein the number of the first module area, the second module area and the seventh module area is two; The two first module areas are located at the upper side and the right side of the layout respectively; The two second module areas are respectively adjacent to the first module area; The third module area, the fourth module area, and the fifth module area are adjacent to each other in sequence, and are adjacent to one of the first module areas upwards and adjacent to another of the first module areas rightwards; The sixth module area is located on the left side of the layout, adjacent to the third module area upwards, and adjacent to the seventh module area rightwards; One of the seventh module areas is located in the middle of the layout, and another of the seventh module areas is located at the lower side of the layout, and surrounds the eighth module area in the middle of the layout; The ninth module area, the tenth module area and the eleventh module area are located at the lower left corner of the layout, and are adjacent to the sixth module area upwards.

4. The layout according to claim 3, characterized in that The first module area is a high and low voltage generating circuit area, the second module area is a voltage division detection and comparison circuit area, the third module area is a high voltage transmission circuit area, the fourth module area is a reference current and voltage generating circuit area, the fifth module area is a register circuit area, the sixth module area is a negative voltage detection circuit area, the seventh module area is an erase detection circuit area, the eighth module area is a clock control and high voltage control circuit area, the ninth module area is a high voltage release circuit area, the tenth module area is a high voltage test circuit area, and the eleventh module area is a programming voltage generating circuit area.

5. A layout device, characterized in that: The layout device comprises: An acquisition module is configured to acquire module area information in a layout and the layout shape information; A division module, configured to divide a target number of regions in the layout according to the module region information and the layout shape information; A generating module configured to arrange the electrical component modules according to the module area information and the target number of areas to generate a target layout; Wherein, in the target layout, the connection lines connecting the electrical component modules are the shortest; The module area information includes the type of each electrical component module, the connection relationship between each electrical component module, and the characteristics of each electrical component module; The layout shape information includes layout shape and layout size; The step of dividing a target number of regions in the layout according to the module region information and the layout shape information includes: Dividing the target number of areas according to the type of each of the electrical component modules, the connection relationship between each of the electrical component modules, the characteristics of each of the electrical component modules, and the layout shape and the layout size; The characteristics of each of the electrical component modules include whether the electrical component module can be disassembled and the disassembled components are connected through a communication line; the type of the electrical component module is a high and low voltage generating circuit and a voltage division detection and comparison circuit; the connection relationship between the electrical component modules is whether two electrical component modules need to be connected; The layout includes two high and low voltage generating circuit areas and a voltage dividing detection and comparison circuit area, the high and low voltage generating circuits in the two high and low voltage generating circuit areas are respectively connected to the voltage dividing detection and comparison circuit in the voltage dividing detection and comparison circuit area, the two high and low voltage generating circuit areas are arranged at different positions of the layout, and when it is determined according to the characteristics of the voltage dividing detection and comparison circuit that the voltage dividing detection and comparison circuit can be divided into two sub-voltage dividing detection and comparison circuits, the areas where the two sub-voltage dividing detection and comparison circuits are arranged are respectively set adjacent to the two high and low voltage generating circuit areas, and the two sub-voltage dividing detection and comparison circuits are connected by a communication line; Arranging the electrical component modules according to the module area information and the target number of areas to generate a target layout includes: Dividing the planned area in the layout according to the target number of areas, the type of each of the electrical component modules, and the characteristics of each of the electrical component modules; Obtaining a plurality of spare layouts according to the connection relationship between the electrical component modules and the planned area; Obtaining the connection length of each of the backup layouts according to the connection relationship between each of the backup layouts and each of the electrical component modules; Taking the backup layout with the smallest connection length as the target layout; The step of obtaining a plurality of spare layouts according to the connection relationship between the electrical component modules and the planned area includes: Polling and arranging each of the electrical component modules in each of the planned areas to obtain a plurality of different arrangements and combinations of the standby layouts; The two electrical component modules that need to be connected to each other are arranged adjacent to each other.

6. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the layout method described in claim 1 or 2.

Citation Information

Patent Citations

  • Semiconductor device and semiconductor device layout designing method

    CN101064302A

  • Method and device for solving voltage drop in SOC layout

    CN107766674A

  • Integrated circuit design method and device and chip layout decomposition and coloring method and device

    CN108959666A

  • Symmetrical layout wiring method in layout design

    CN112560388A

  • Superconducting integrated circuit layout optimization method and device, storage medium, and terminal

    CN113627120A