Integrated circuit schematic diagram physical layout method, apparatus and device, and storage medium

By obtaining and adjusting the initial and final physical coordinates of ports in the physical layout of the integrated circuit schematic diagram, the problem of port sequence preservation during design modification and hierarchy expansion is solved, and the efficiency of integrated circuit design is improved.

CN119180251APending Publication Date: 2024-12-24SHENZHEN PANGO MICROSYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099744.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The existing integrated circuit schematic physical layout scheme cannot maintain the design order of the ports when design modification and hierarchy expansion, resulting in low integrated circuit design efficiency.

Method used

By obtaining the initial physical coordinates of the port to be laid out, and determining the physical coordinates of the module based on the direct front-drive port, direct rear-drive port or front-drive module, determining whether the rear-drive or front-drive module exists, and adjusting the final physical coordinates of the port to maintain the design order.

Benefits of technology

Effectively maintain the order of port design, improve the efficiency of integrated circuit design, avoid hierarchical layout fluctuations, and facilitate design modification and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119180251A_ABST
    Figure CN119180251A_ABST
Patent Text Reader

Abstract

The invention provides an integrated circuit schematic diagram physical layout method and device, equipment and a storage medium. The integrated circuit schematic diagram physical layout method provided by the invention comprises the following steps: determining an initial physical coordinate of a port to be arranged; determining physical coordinates of the current module according to a direct front-drive port, a direct rear-drive port or a front-drive module of the current module; after the physical coordinates of all the modules are determined, judging whether the current to-be-arranged port has a rear-drive module or a front-drive module or not, if so, determining an optimal rear-drive module or an optimal front-drive module of the current to-be-arranged port according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current to-be-arranged port, and if not, determining the optimal rear-drive module or the optimal front-drive module of the current to-be-arranged port; and according to the physical coordinates of the optimal rear-drive module or the optimal front-drive module, determining the final physical coordinates of the current to-be-arranged port so as to determine the final physical coordinates of all the to-be-arranged ports. According to the integrated circuit schematic diagram physical layout method, the efficiency of integrated circuit design can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of integrated circuit technology, and in particular to an integrated circuit schematic physical layout method, device, equipment and storage medium. Background Art

[0002] In the field of Field Programmable Gate Array (FPGA) integrated circuits, schematics are an effective means of presenting integrated circuits, which can well reflect the connection relationship, hierarchical structure and other information of the integrated circuit design, so that the designers of the integrated circuit can better understand the design. Although the existing physical layout schemes of integrated circuit schematics can meet basic requirements such as correctness, the schematic editing tools often involve the modification of the integrated circuit design and the expansion of the hierarchical structure. The existing physical layout schemes of integrated circuit schematics may not be able to maintain the design order of the ports, causing the layout of the module level to fluctuate, which is not conducive to the design of subsequent integrated circuits and leads to low efficiency of integrated circuit design. Summary of the invention

[0003] The purpose of the present invention is to provide a physical layout method for an integrated circuit schematic to solve the technical problem in the prior art that the design order of ports cannot be maintained when modifying the integrated circuit design and expanding the hierarchical structure, thereby resulting in low efficiency of the integrated circuit design.

[0004] The technical solution of the present invention is as follows: a method for physical layout of an integrated circuit schematic diagram is provided, comprising: obtaining all ports to be laid out, and determining initial physical coordinates of the ports to be laid out;

[0005] Determine the physical coordinates of the current module according to a direct front-end drive port, a direct rear-end drive port or a front-end drive module of the current module;

[0006] After the physical coordinates of all modules are determined, determine whether there is a rear-drive module or a front-drive module for the current port to be laid out. If so, determine the best rear-drive module or the best front-drive module for the current port to be laid out according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be laid out. Determine the final physical coordinates of the current port to be laid out according to the physical coordinates of the best rear-drive module or the best front-drive module, so as to determine the final physical coordinates of all ports to be laid out.

[0007] Furthermore, the acquiring of all ports to be arranged and determining initial physical coordinates of the ports to be arranged includes:

[0008] Get all ports to be laid out, use the vertical coordinate corresponding to the leftmost column of the layout area as the vertical coordinate of the input port among all the ports to be laid out, use the vertical coordinate corresponding to the rightmost column of the layout area as the vertical coordinate of the output port among all the ports to be laid out, and determine the horizontal coordinate of the input port and the horizontal coordinate of the output port according to the preset front-to-back order of all the ports to be laid out.

[0009] Further, determining the physical coordinates of the current module according to the direct preceding drive port, the direct following drive port or the preceding drive module of the current module includes:

[0010] Determine whether there is a direct predecessor port of the current module among all the ports to be laid out. If so, determine the physical coordinates of the current module based on the direct predecessor port. If not, determine whether there is a direct successor port of the current module among all the ports to be laid out. If so, determine the physical coordinates of the current module based on the direct successor port. If not, determine whether there is a predecessor module for the current module. If so, determine the physical coordinates of the current module based on the predecessor module.

[0011] Furthermore, the integrated circuit schematic physical layout method further includes:

[0012] If the current module does not have a predecessor module, after all modules having direct predecessor ports, direct successor ports or predecessor modules have determined their physical coordinates, the physical coordinates of the current module are determined according to all modules having determined physical coordinates.

[0013] Furthermore, after the physical coordinates of all modules are determined, the following steps are also included:

[0014] According to the physical coordinates corresponding to each module, the corresponding modules are sorted. After all the modules are sorted, the physical coordinates of the modules are adjusted according to the relative order between the modules and the space occupied by the modules.

[0015] Further, the determining whether there is a rear-drive module or a front-drive module for the current port to be laid out, and if so, determining the best rear-drive module or the best front-drive module for the current port to be laid out according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be laid out, includes:

[0016] If the current port to be arranged is an input port, then judging whether there is a rear-drive module for the current port to be arranged according to the connection relationship between the current port to be arranged and the module, and if so, determining the best rear-drive module for the current port to be arranged according to the distance between the physical coordinates of the rear-drive module and the initial physical coordinates of the current port to be arranged;

[0017] If the current port to be arranged is an output port, then based on the connection relationship between the current port to be arranged and the module, it is determined whether there is a predecessor module for the current port to be arranged; if so, the best predecessor module for the current port to be arranged is determined based on the distance between the physical coordinates of the predecessor module and the initial physical coordinates of the current port to be arranged.

[0018] Furthermore, the integrated circuit schematic physical layout method further includes:

[0019] If the current port to be arranged does not have the subsequent drive module and the preceding drive module, the final physical coordinates of the current port to be arranged are determined according to the final physical coordinates of the previous port to be arranged of the same type.

[0020] Another technical solution of the present invention is as follows: a device for physical layout of integrated circuit schematic diagram is also provided, including a port initial coordinate determination unit, a module coordinate unit, and a port final coordinate determination unit;

[0021] The port initial coordinate determining unit is used to obtain all ports to be arranged and determine the initial physical coordinates of the ports to be arranged;

[0022] The module coordinate unit is used to determine the physical coordinates of the current module according to the direct predecessor port, the direct successor port or the predecessor module of the current module;

[0023] The port final coordinate determination unit is used to determine whether there is a rear-drive module or a front-drive module for the current port to be arranged after the physical coordinates of all modules are determined. If so, the best rear-drive module or the best front-drive module for the current port to be arranged is determined according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be arranged, and the final physical coordinates of the current port to be arranged are determined according to the physical coordinates of the best rear-drive module or the best front-drive module, so as to determine the final physical coordinates of all ports to be arranged.

[0024] Another technical solution of the present invention is as follows: an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the processor executes the computer program, the physical layout method of the integrated circuit schematic diagram as described in any of the above technical solutions is implemented.

[0025] Another technical solution of the present invention is as follows: a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the integrated circuit schematic physical layout method as described in any one of the above items is implemented.

[0026] The beneficial effects of the present invention are: acquiring all ports to be laid out and determining the initial physical coordinates of the ports to be laid out; determining the physical coordinates of the current module according to the direct predecessor port, the direct successor port or the predecessor module of the current module; after the physical coordinates of all modules are determined, judging whether there is a successor module or a predecessor module for the current port to be laid out, and if so, determining the best successor module or the best predecessor module for the current port to be laid out according to the physical coordinates of the successor module or the predecessor module and the initial physical coordinates of the current port to be laid out, and determining the final physical coordinates of the current port to be laid out according to the physical coordinates of the best successor module or the best predecessor module, so as to determine the final physical coordinates of all ports to be laid out; through the above technical scheme, when modifying the integrated circuit design and expanding the hierarchical structure, the design order of the port can be maintained, thereby improving the efficiency of the integrated circuit design. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of a flow chart of a physical layout method of an integrated circuit schematic diagram provided by an embodiment of the present invention;

[0028] Figure 2 A schematic diagram of the structure of an integrated circuit schematic physical layout device provided by an embodiment of the present invention;

[0029] Figure 3 A schematic diagram of the structure of an integrated circuit schematic physical layout device provided by an embodiment of the present invention;

[0030] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0033] Figure 1FIG. 1 is a flow chart of the integrated circuit schematic physical layout method according to an embodiment of the present invention. It should be noted that the integrated circuit schematic physical layout method according to the present invention is not limited to the above method if substantially the same result is achieved. Figure 1 The process sequence shown is limited. Figure 1 As shown, the integrated circuit schematic physical layout method includes the following steps:

[0034] S101, acquiring all ports to be arranged, and determining initial physical coordinates of the ports to be arranged;

[0035] It should be noted that in the logical layout stage, the relative positions of various ports and modules in the integrated circuit schematic have been determined, and the physical layout further determines the physical coordinates of various ports and modules on this basis.

[0036] In some embodiments, the acquiring of all ports to be laid out and determining the initial physical coordinates of the ports to be laid out includes:

[0037] Get all ports to be laid out, use the vertical coordinate corresponding to the leftmost column of the layout area as the vertical coordinate of the input port among all the ports to be laid out, use the vertical coordinate corresponding to the rightmost column of the layout area as the vertical coordinate of the output port among all the ports to be laid out, and determine the horizontal coordinate of the input port and the horizontal coordinate of the output port according to the preset front-to-back order of all the ports to be laid out.

[0038] In a specific embodiment, all ports to be arranged include two types of ports, namely input ports and output ports, wherein input / output ports are also counted as input port types. The ordinate corresponding to the leftmost column of the layout area is used as the ordinate of the input port among all ports to be arranged, and the ordinate corresponding to the rightmost column of the layout area is used as the ordinate of the output port among all ports to be arranged. For example, the ordinate corresponding to the leftmost column of the layout area may be Y=0. According to the preset front-to-back order of all ports to be arranged, the horizontal coordinates of the input port and the horizontal coordinates of the output port are determined from top to bottom, so as to determine the initial physical coordinates of all ports to be arranged.

[0039] S102, determining the physical coordinates of the current module according to a direct front-end drive port, a direct rear-end drive port or a front-end drive module of the current module;

[0040] In some embodiments, determining the physical coordinates of the current module according to a direct preceding drive port, a direct succeeding drive port, or a preceding drive module of the current module includes:

[0041] Determine whether there is a direct predecessor port of the current module among all the ports to be laid out. If so, determine the physical coordinates of the current module based on the direct predecessor port. If not, determine whether there is a direct successor port of the current module among all the ports to be laid out. If so, determine the physical coordinates of the current module based on the direct successor port. If not, determine whether there is a predecessor module for the current module. If so, determine the physical coordinates of the current module based on the predecessor module.

[0042] In a specific embodiment, based on the connection relationship of the current module (the connection relationship with the port to be laid out), it is determined whether there is a direct predecessor port of the current module among all the ports to be laid out. If so, the physical coordinates of the current module are determined based on the direct predecessor port. Specifically, left alignment can be performed based on the direct predecessor port to determine the physical coordinates of the current module. If not, it is determined whether there is a direct rear-end port of the current module among all the ports to be laid out. If so, the physical coordinates of the current module are determined based on the direct rear-end port. Specifically, right alignment can be performed based on the direct rear-end port to determine the physical coordinates of the current module. If not, it is determined whether there is a direct rear-end port of the current module among all the ports to be laid out. If so, the physical coordinates of the current module are determined based on the direct rear-end port. Specifically, right alignment can be performed based on the direct rear-end port to determine the physical coordinates of the current module. If not, it is determined based on the connection relationship of the current module (the connection relationship with other modules) whether there is a predecessor module for the current module. If so, the physical coordinates of the current module are determined based on the predecessor module. Specifically, left alignment can be performed based on the predecessor module to determine the physical coordinates of the current module.

[0043] In some embodiments, the integrated circuit schematic physical layout method further includes:

[0044] If the current module does not have a predecessor module, after all modules having direct predecessor ports, direct successor ports or predecessor modules have determined their physical coordinates, the physical coordinates of the current module are determined according to all modules having determined physical coordinates.

[0045] In a specific embodiment, if the current module does not have a predecessor module, the current module will not be physically laid out (physical coordinates determined) temporarily. After the physical coordinates of all modules with direct predecessor ports, direct rear drive ports or predecessor modules are determined, the physical coordinates of the current module are determined based on all modules with determined physical coordinates. Specifically, the current module can be placed behind all modules with determined physical coordinates, and all modules with undetermined physical coordinates can be placed in turn behind all modules with determined physical coordinates to determine all modules with undetermined physical coordinates.

[0046] In some embodiments, after the physical coordinates of all modules are determined, the method further includes:

[0047] According to the physical coordinates corresponding to each module, the corresponding modules are sorted. After all the modules are sorted, the physical coordinates of the modules are adjusted according to the relative order between the modules and the space occupied by the modules.

[0048] In a specific embodiment, the modules are sorted according to the physical coordinates (initial physical coordinates) corresponding to each module. After all the modules are sorted, the physical coordinates of the modules are adjusted according to the relative order between the modules and the space occupied by the modules to obtain the final physical coordinates of the modules. When adjusting the physical coordinates of the modules, it is necessary to avoid overlapping of the physical coordinates between the modules.

[0049] S103, after the physical coordinates of all modules are determined, determine whether there is a rear-drive module or a front-drive module for the current port to be laid out. If so, determine the best rear-drive module or the best front-drive module for the current port to be laid out according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be laid out, and determine the final physical coordinates of the current port to be laid out according to the physical coordinates of the best rear-drive module or the best front-drive module, so as to determine the final physical coordinates of all ports to be laid out.

[0050] In some embodiments, the determining whether there is a rear-drive module or a front-drive module for the current port to be laid out, and if so, determining the best rear-drive module or the best front-drive module for the current port to be laid out according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be laid out, includes:

[0051] If the current port to be arranged is an input port, then judging whether there is a rear-drive module for the current port to be arranged according to the connection relationship between the current port to be arranged and the module, and if so, determining the best rear-drive module for the current port to be arranged according to the distance between the physical coordinates of the rear-drive module and the initial physical coordinates of the current port to be arranged;

[0052] If the current port to be arranged is an output port, then based on the connection relationship between the current port to be arranged and the module, it is determined whether there is a predecessor module for the current port to be arranged; if so, the best predecessor module for the current port to be arranged is determined based on the distance between the physical coordinates of the predecessor module and the initial physical coordinates of the current port to be arranged.

[0053] In a specific embodiment, the port corresponding to the leftmost column of the layout area is an input port, and the port corresponding to the rightmost column of the layout area is an output port; if the current port to be laid out is an input port, then based on the connection relationship between the current port to be laid out and the module, it is determined whether there is a rear-drive module for the current port to be laid out. If there is, there may be multiple rear-drive modules at this time, and the best rear-drive module of the current port to be laid out can be determined based on the distance between the physical coordinates of the rear-drive module and the initial physical coordinates of the current port to be laid out. Specifically, the rear-drive module closest to the initial physical coordinates of the current port to be laid out is used as the best rear-drive module. If the current port to be laid out is an output port, then based on the connection relationship between the current port to be laid out and the module, it is determined whether there is a front-drive module for the current port to be laid out. If there is, there may be multiple front-drive modules at this time, and the best front-drive module of the current port to be laid out is determined based on the distance between the physical coordinates of the front-drive module and the initial physical coordinates of the current port to be laid out. Specifically, the front-drive module closest to the initial physical coordinates of the current port to be laid out is used as the best front-drive module.

[0054] In a specific embodiment, if the current port to be arranged is an input port, after obtaining the best rear-drive module of the current port to be arranged, the final physical coordinates of the current port to be arranged are determined according to the physical coordinates of the best rear-drive module. Specifically, the best rear-drive module is left-aligned with the current port to be arranged to determine the final physical coordinates of the current port to be arranged. If the current port to be arranged is an output port, after obtaining the best front-drive module of the current port to be arranged, the final physical coordinates of the current port to be arranged are determined according to the physical coordinates of the best front-drive module. Specifically, the best front-drive module is right-aligned with the current port to be arranged to determine the final physical coordinates of the current port to be arranged.

[0055] In some embodiments, the integrated circuit schematic physical layout method further includes:

[0056] If the current port to be arranged does not have the subsequent drive module and the preceding drive module, the final physical coordinates of the current port to be arranged are determined according to the final physical coordinates of the previous port to be arranged of the same type.

[0057] In a specific embodiment, if the current port to be laid out has no connection relationship, that is, there is no rear-drive module and front-drive module, the final physical coordinates of the current port to be laid out are determined according to the final physical coordinates of the previous port of the same type to be laid out. Specifically, the minimum spacing is maintained and it is placed below the previous port (the same type of port); as an example, if the current port to be laid out is an input port, the final physical coordinates of the current port to be laid out are determined according to the final physical coordinates of the previous input port. If the current port to be laid out is an output port, the final physical coordinates of the current port to be laid out are determined according to the final physical coordinates of the previous output port. It should be noted that the final physical coordinates of all ports can also be adjusted after the final physical coordinates of the current port to be laid out to avoid overlapping of the physical coordinates of each port.

[0058] The integrated circuit schematic physical layout method provided by the embodiment of the present invention determines the initial physical coordinates of the ports to be laid out by acquiring all the ports to be laid out; determines the physical coordinates of the current module according to the direct predecessor port, the direct successor port or the predecessor module of the current module; after the physical coordinates of all the modules are determined, it is judged whether there is a successor module or a predecessor module for the current port to be laid out; if so, the best successor module or the best predecessor module of the current port to be laid out is determined according to the physical coordinates of the successor module or the predecessor module and the initial physical coordinates of the current port to be laid out; the final physical coordinates of the current port to be laid out are determined according to the physical coordinates of the best successor module or the best predecessor module, so as to determine the final physical coordinates of all the ports to be laid out; the integrated circuit is laid out according to the physical coordinates of all the modules and the final physical coordinates of all the ports to be laid out, so that when the integrated circuit design is modified and the hierarchical structure is expanded, the design order of the ports can be maintained, thereby improving the efficiency of the integrated circuit design.

[0059] The integrated circuit schematic physical layout method provided by the embodiment of the present invention can effectively maintain the order of ports in the design. When a module needs to be expanded in the schematic and the internal design of the module and the design of the level where the module is located are viewed at the same time, the port order is maintained so that the physical layout of the internal ports after expansion is consistent with the port order when not expanded, which can effectively avoid layout fluctuations at the level where the current module is located, can more quickly and efficiently feedback design information, facilitate the modification and maintenance of the design, and improve integrated circuit design efficiency. The integrated circuit schematic physical layout method provided by the embodiment of the present invention can also make the schematic as beautiful and compact as possible with less winding crossover.

[0060] Based on the above integrated circuit schematic physical layout method, an embodiment of the present invention provides an integrated circuit schematic physical layout device, and its structural schematic diagram is as follows: Figure 2As shown, the integrated circuit schematic physical layout device 20 includes a port initial coordinate determining unit 21, a module coordinate unit 22, and a port final coordinate determining unit 23;

[0061] The port initial coordinate determining unit 21 is used to obtain all ports to be arranged and determine the initial physical coordinates of the ports to be arranged;

[0062] The module coordinate unit 22 is used to determine the physical coordinates of the current module according to the direct preceding drive port, the direct following drive port or the preceding drive module of the current module;

[0063] The port final coordinate determination unit 23 is used to determine whether there is a rear-drive module or a front-drive module for the current port to be arranged after the physical coordinates of all modules are determined. If so, the best rear-drive module or the best front-drive module for the current port to be arranged is determined according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be arranged. The final physical coordinates of the current port to be arranged are determined according to the physical coordinates of the best rear-drive module or the best front-drive module, so as to determine the final physical coordinates of all ports to be arranged.

[0064] For other details about how the above technical solutions are implemented by each unit in the above integrated circuit schematic physical layout device 20, reference may be made to the description of the integrated circuit schematic physical layout method provided in the above invention embodiment, which will not be repeated here.

[0065] Based on the above integrated circuit schematic physical layout method, the embodiment of the present invention further provides an integrated circuit schematic physical layout device, the structural diagram of which is as follows: Figure 3 As shown, the device 30 includes a processor 31 and a memory 32 coupled to the processor 31. The memory 32 stores a computer program, and when the computer program is executed by the processor 31, the processor 31 executes the steps of the integrated circuit schematic physical layout method in the above embodiment.

[0066] For other details about how the processor 31 in the integrated circuit schematic physical layout device implements the above technical solution, please refer to the description of the integrated circuit schematic physical layout method provided in the above invention embodiment, which will not be repeated here.

[0067] Among them, the processor 31 can also be called a CPU (Central Processing Unit), and the processor 31 may be an integrated circuit chip with signal processing capabilities; the processor 31 can also be a general-purpose processor, DSP (Digital Signal Process), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, among which the general-purpose processor can be a microprocessor or the processor 31 can also be any conventional processor, etc.

[0068] The embodiment of the present invention further provides a computer-readable storage medium, a schematic diagram of which is shown in FIG. Figure 4 As shown, a readable computer program 41 is stored on the storage medium 40; wherein, the computer program 41 can be stored in the above storage medium 40 in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium 40 includes: U disk, mobile hard disk, magnetic disk or optical disk, ROM (Read-Only Memory), RAM (Random Access Memory) and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, and tablets.

[0069] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0070] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0071] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0072] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0073] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

[0074] The technical solution provided by the present application is introduced in detail above. The principles and implementation methods of the present application are explained by using specific examples in the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0075] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0076] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0079] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A physical layout method for an integrated circuit schematic, characterized in that: include: Acquire all ports to be arranged, and determine the initial physical coordinates of the ports to be arranged; Determine the physical coordinates of the current module according to a direct front-end drive port, a direct rear-end drive port or a front-end drive module of the current module; After the physical coordinates of all modules are determined, determine whether there is a rear-drive module or a front-drive module for the current port to be laid out. If so, determine the best rear-drive module or the best front-drive module for the current port to be laid out according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be laid out. Determine the final physical coordinates of the current port to be laid out according to the physical coordinates of the best rear-drive module or the best front-drive module, so as to determine the final physical coordinates of all ports to be laid out.

2. The integrated circuit schematic physical layout method according to claim 1, characterized in that: The acquiring of all ports to be arranged and determining initial physical coordinates of the ports to be arranged include: Get all ports to be laid out, use the vertical coordinate corresponding to the leftmost column of the layout area as the vertical coordinate of the input port among all the ports to be laid out, use the vertical coordinate corresponding to the rightmost column of the layout area as the vertical coordinate of the output port among all the ports to be laid out, and determine the horizontal coordinate of the input port and the horizontal coordinate of the output port according to the preset front-to-back order of all the ports to be laid out.

3. The integrated circuit schematic physical layout method according to claim 1, characterized in that: The determining the physical coordinates of the current module according to the direct preceding drive port, the direct following drive port or the preceding drive module of the current module includes: Determine whether there is a direct predecessor port of the current module among all the ports to be laid out. If so, determine the physical coordinates of the current module based on the direct predecessor port. If not, determine whether there is a direct successor port of the current module among all the ports to be laid out. If so, determine the physical coordinates of the current module based on the direct successor port. If not, determine whether there is a predecessor module for the current module. If so, determine the physical coordinates of the current module based on the predecessor module.

4. The integrated circuit schematic physical layout method according to claim 3, characterized in that: The integrated circuit schematic physical layout method further includes: If the current module does not have a predecessor module, after all modules having direct predecessor ports, direct successor ports or predecessor modules have determined their physical coordinates, the physical coordinates of the current module are determined according to all modules having determined physical coordinates.

5. The integrated circuit schematic physical layout method according to claim 1, characterized in that: After the physical coordinates of all modules are determined, it also includes: According to the physical coordinates corresponding to each module, the corresponding modules are sorted. After all the modules are sorted, the physical coordinates of the modules are adjusted according to the relative order between the modules and the space occupied by the modules.

6. The integrated circuit schematic physical layout method according to claim 1, characterized in that: The determining whether there is a rear-drive module or a front-drive module for the current port to be arranged, and if so, determining the best rear-drive module or the best front-drive module for the current port to be arranged according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be arranged, includes: If the current port to be arranged is an input port, then judging whether there is a rear-drive module for the current port to be arranged according to the connection relationship between the current port to be arranged and the module, and if so, determining the best rear-drive module for the current port to be arranged according to the distance between the physical coordinates of the rear-drive module and the initial physical coordinates of the current port to be arranged; If the current port to be arranged is an output port, then based on the connection relationship between the current port to be arranged and the module, it is determined whether there is a predecessor module for the current port to be arranged; if so, the best predecessor module for the current port to be arranged is determined based on the distance between the physical coordinates of the predecessor module and the initial physical coordinates of the current port to be arranged.

7. The integrated circuit schematic physical layout method according to claim 1, characterized in that: The integrated circuit schematic physical layout method further includes: If the current port to be arranged does not have the subsequent drive module and the preceding drive module, the final physical coordinates of the current port to be arranged are determined according to the final physical coordinates of the previous port to be arranged of the same type.

8. An integrated circuit schematic physical layout device, characterized in that: It includes a port initial coordinate determination unit, a module coordinate unit, and a port final coordinate determination unit; The port initial coordinate determining unit is used to obtain all ports to be arranged and determine the initial physical coordinates of the ports to be arranged; The module coordinate unit is used to determine the physical coordinates of the current module according to the direct predecessor port, the direct successor port or the predecessor module of the current module; The port final coordinate determination unit is used to determine whether there is a rear-drive module or a front-drive module for the current port to be arranged after the physical coordinates of all modules are determined. If so, the best rear-drive module or the best front-drive module for the current port to be arranged is determined according to the physical coordinates of the rear-drive module or the front-drive module and the initial physical coordinates of the current port to be arranged, and the final physical coordinates of the current port to be arranged are determined according to the physical coordinates of the best rear-drive module or the best front-drive module, so as to determine the final physical coordinates of all ports to be arranged.

9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, wherein: When the processor executes the computer program, the integrated circuit schematic physical layout method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the integrated circuit schematic physical layout method according to any one of claims 1 to 7 is implemented.