Automatic layout and wiring control method based on circuit information file

By extracting module names from circuit information files and generating target netlists, automatic layout and routing of integrated circuits is realized, which solves the time-consuming and complex problems of manual layout and routing, and improves design efficiency and cost-effectiveness.

CN118734778APending Publication Date: 2024-10-01AMICRO SEMICONDUCTOR CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310332226.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In integrated circuit chip design, the manual layout and routing process is complex and time-consuming, resulting in extended design cycles and increased costs. Especially in large-scale systems with a large number of modules, existing technology cannot achieve automated layout and routing, resulting in engineers having to spend A lot of time doing manual work.

Method used

By extracting the module name from the circuit information file, generate the target netlist, and import it into the automatic placement and routing tool, automatic layout and routing of multiple modules is realized, GDS files are generated, the placement and routing process is simplified, and manual intervention is reduced.

Benefits of technology

This method can automate the layout and routing process of integrated circuits, shorten the design cycle, improve design efficiency, reduce the workload of back-end layout personnel, reduce R&D costs, and improve project success rate and market launch speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734778A_ABST
    Figure CN118734778A_ABST
Patent Text Reader

Abstract

The invention provides an automatic layout and wiring control method based on a circuit information file. The automatic layout and wiring control method comprises the steps that S1, the name of each module is extracted from the circuit information file; the circuit information file is converted from a pre-designed circuit schematic diagram in an electronic design automation tool; s2, based on the names of the modules, port information of the modules is obtained, and then a target netlist is generated based on the port information; s3, controlling the target netlist to be imported into an automatic layout and wiring tool, performing automatic layout and wiring on each module, and generating a GDS file; the electronic design automation tool comprises an automatic layout and wiring tool; the automatic layout and wiring tool cannot identify the schematic circuit diagram, so that the electronic design automation tool does not support automatic layout and wiring of the schematic circuit diagram; the target netlist is allowed to be identified by an automatic layout routing tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of integrated circuit layout automation design, and specifically to an automatic layout and routing control method based on circuit information files. Background Art

[0002] Integrated circuit chip design is a long process. From the front-end circuit design to the back-end layout design, each link is closely related to each other, and each link will affect the final chip implementation results. In the process of layout design, if engineers directly use digital standard cells to build an analog module (equivalent to an analog device module composed of multiple digital logic gate circuits), this analog module cannot be automatically laid out and wired. In order to achieve physical implementation, engineers generally manually lay out and wire each analog module based on the circuit schematic. For example, they will manually position the relevant logic units (which will involve the logic units and their ports need to be placed in specified locations, etc.) and wire (which will involve the interconnection relationship between specified ports). As the scale of integrated circuits becomes larger and larger, the design of digital systems becomes more and more complex. The number of modules at various levels in the system and the preset wiring resources between modules are increasing. Physical implementation through manual layout and wiring will greatly extend the design cycle and cost a lot of manpower costs. Summary of the invention

[0003] In view of the existing technical situation, this application discloses an automatic layout and routing control method based on a circuit information file. The specific technical solution is as follows: An automatic layout and routing control method based on a circuit information file, the automatic layout and routing control method comprising: step S1, extracting the name of each module from the circuit information file; the circuit information file is converted from a pre-designed circuit schematic in an electronic design automation tool; step S2, based on the name of the module, obtaining the port information of the module, and then generating a target netlist based on the port information; step S3, controlling the target netlist to be imported into the automatic layout and routing tool, automatically layout and routing each module, and generating a GDS file; wherein the electronic design automation tool comprises an automatic layout and routing tool; the automatic layout and routing tool cannot recognize the circuit schematic, so that the electronic design automation tool does not support automatic layout and routing of the circuit schematic; the target netlist is allowed to be recognized by the automatic layout and routing tool.

[0004] From steps S1 to S3, it can be seen that the automatic layout and routing control method designed in the present application can automatically convert a pre-designed circuit schematic circuit file into a netlist file that can be recognized by an automatic layout and routing tool, and can automatically identify, automatically layout and automatically route multiple modules in batches, thereby speeding up the layout and routing process, helping to reduce the workload of back-end layout personnel, and also facilitating back-end layout personnel to perform structural analysis; therefore, compared with existing manual layout design methods, the automatic layout and routing control method can improve design efficiency and shorten the design cycle.

[0005] Furthermore, the circuit information file is used to describe a top-level module and at least one sub-module; the top-level module and / or sub-module described in the circuit information file is a circuit function module built up by digital logic units; the sub-module is a module configured to allow the top-level module to call; step S1 is to distinguish the name of the top-level module and the name of the sub-module from the circuit information file to achieve the purpose of extracting the names of each module.

[0006] Furthermore, the top-level module reserves an identifier for calling the corresponding sub-module, and one of the sub-modules also reserves an identifier for calling other sub-modules. The top-level module is not allowed to be called by other modules in the circuit information file; a top-level module is allowed to be divided into one or more sub-modules; the top-level module and each sub-module are configured with corresponding circuit levels in the circuit information file. In this way, the device information of the most basic logic unit is extracted, and there is no need to search from the standard logic unit library, which speeds up the subsequent wiring from the device level.

[0007] Furthermore, step S2 includes: based on the name of the top-level module and the name of the sub-module, obtaining the top-level module port information and the sub-module port information, and then generating the instantiable netlist of the top-level module and the instantiable netlist of the sub-module based on the respective port information; and then controlling the instantiable netlist of the top-level module and the instantiable netlist of the sub-module to be merged into the target netlist. Thus, the netlist is quickly established and merged through the port information outside the module, and the netlist of the top-level module and each sub-module is batch processed. It also overcomes the problem of splitting into multiple sub-files due to the distinction between multiple instantiable netlists under the name of the same module, and reduces the subsequent inspection errors that may be generated in the automatic layout and routing tool.

[0008] Furthermore, the method of obtaining the top-level module port information and the sub-module port information based on the name of the top-level module and the name of the sub-module, and then generating the instantiable netlist of the top-level module and the instantiable netlist of the sub-module based on the respective port information comprises: searching for the port corresponding to the name of the top-level module from the circuit information file to obtain the top-level module port information; searching for the port corresponding to the name of the sub-module from the circuit information file to obtain the sub-module port information; judging, based on the top-level module port information and the sub-module port information, whether the connection relationship between the respective ports searched in the circuit information file is the connection relationship between the top-level module port and the sub-module port, or the connection relationship between the sub-module ports of different sub-modules; if it is judged that the connection relationship between the different ports currently searched is If it is the connection relationship between the top-level module port and the sub-module port, then the instantiable netlist of the top-level module is obtained according to the connection relationship between the top-level module port and the sub-module port, wherein the name of the top-level module corresponds to multiple instantiable netlists, so that one top-level module corresponds to multiple instantiable netlists; if it is determined that the connection relationship between the different ports currently searched out is the sub-module port connection relationship between different sub-modules, then the instantiable netlists of each sub-module are obtained according to the sub-module port connection relationship between different sub-modules, wherein the name of the sub-module corresponds to multiple instantiable netlists, so that one sub-module corresponds to multiple instantiable netlists; each instantiable netlist corresponds to an instantiation name, so that the name of a top-level module corresponds to multiple instantiation names, and the name of a sub-module also corresponds to multiple instantiation names. Avoid excessive tool verification errors caused by the instantiable netlists of each module being split into multiple netlist files.

[0009] Furthermore, the method for identifying the connection relationship between different ports searched in the circuit information file includes: when the ports of different modules are configured with the same connection name, the ports with the same connection name between the different modules are configured to be connected to form the port connection rule of the module. Thus, the port connection rule of the module is established through the connection name of each port.

[0010] Furthermore, the name of the top-level module and the connection name of its corresponding port are set in the circuit information file in a corresponding grammatical form, the name of the sub-module and the connection name of its corresponding port are set in the circuit information file in a corresponding grammatical form, and the name of the top-level module and the name of the sub-module are configured as a calling and called relationship in the circuit information file. This technical solution performs grammatical processing on the name of the top-level module and the name of the sub-module to be called, so as to facilitate identification from the circuit information file or the instantiable netlist converted therefrom.

[0011] Further, the method for controlling the instantiable netlist of the top-level module and the instantiable netlist of the sub-module to be merged into the target netlist includes: arranging each instantiable netlist under the top-level module in a to-be-processed netlist file in order according to multiple instantiation names corresponding to the name of a top-level module; selecting the sub-module that has a connection relationship with the top-level module according to the connection relationship between the top-level module port and the sub-module port, and then arranging each instantiable netlist under the sub-module in the same to-be-processed netlist file in order according to the multiple instantiation names corresponding to the name of the selected sub-module; and then obtaining the target netlist from the same to-be-processed netlist file. The target netlist is generated based on the information of each port. The tool check error problem that is easily generated because multiple instantiable netlists under the name of the same module are split into multiple netlist files and the instantiable netlists of each sub-module are split into different netlist files is also overcome, that is, the check errors (such as DRC verification errors) that may be generated in the subsequent automatic layout and routing tools are reduced, the automatic layout and routing process is accelerated, the R&D cost is reduced, the project success rate is improved, and the time to market is shortened.

[0012] Furthermore, the method for merging the instantiable netlist of the control top-level module and the instantiable netlist of the submodule into the target netlist also includes: selecting other submodules that have a connection relationship with the submodule corresponding to the merged instantiable netlist according to the submodule port connection relationship between different submodules; and arranging each instantiable netlist under the submodule in the netlist file to be processed in order according to the multiple instantiation names corresponding to the name of the currently selected submodule. Provide more netlist information for the target netlist based on the multiple interconnected submodule port information.

[0013] In summary, this embodiment determines to orderly integrate the connection relationship between the top-level module port and the sub-module port, and the sub-module port connection relationship between each sub-module. Among them, the target netlist supports being called for automatic layout and routing. However, this embodiment constrains each port to be integrated together through step S2 to perform automatic layout and routing in step S3.

[0014] Furthermore, the step S3 includes: controlling the target netlist to be imported into the automatic layout and routing tool, automatically layout and routing the top-level module and submodule, and also automatically layout and routing each submodule; after the automatic layout and routing tool completes the automatic layout and routing, a GDS file is generated to realize the conversion from the circuit information file to the GDS file, so as to generate GDSII data for integrated circuit manufacturing. The format file that meets the industrial standard is realized for the transmission of semiconductor physical board data between electronic design automation tools, computers and mask manufacturers.

[0015] Furthermore, in step S3, after the target netlist is imported into the automatic placement and routing tool, during the process of automatic placement and routing performed by the automatic placement and routing tool, when the program required for automatic placement and routing traverses to the connection name of a port at a coordinate position, the connection relationship between two adjacent modules is determined and routing is performed according to the port connection rule of the module. The program required for automatic placement and routing reduces attention to the circuit structure information inside the module on the basis of identifying the aforementioned connection relationship, thereby speeding up the automatic placement and routing between two adjacent modules. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic flowchart of an automatic layout and routing control method based on a circuit information file is disclosed in an embodiment of the present application. Implementation

[0017] The technical solutions in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention. It should be understood that the specific embodiments described below are only used to explain the present invention and are not used to limit the present invention.

[0018] In the existing layout design scenario, analog design engineers build analog circuit schematics in electronic design automation tools to obtain analog circuit schematics for describing multiple analog modules that need to be laid out and wired. The analog modules may include digital logic units, but the analog circuit schematics do not support the standard automatic layout and wiring process in the electronic design automation tool. Therefore, the analog layout design engineer needs to manually process the analog circuit schematics, and manually operate the keyboard and mouse to position and wire each analog module port by module port, thereby manually obtaining the analog circuit layout required by the analog design engineer, so as to facilitate the subsequent GDSII data to be sent for integrated circuit manufacturing. In the process of analog layout design engineers handling the layout and wiring operations of a large number (e.g., hundreds of) analog modules, it will take a lot of time (e.g., it takes three or four days to draw the corresponding analog modules), which is not conducive to speeding up manufacturing and quickly seizing the market.

[0019] In response to the above technical problems, the present application discloses an automatic layout and routing control method based on a netlist file. The executor of the automatic layout and routing control method is an electronic design automation tool or a command line tool under a specific operating system platform. The automatic layout and routing control method runs in the form of a script file in the electronic design automation tool or the command line tool of the associated operating system (terminal software that can externally guide the electronic design automation tool to perform layout and routing on circuit modules). The electronic design automation tool includes but is not limited to the Synopsys series of IC design tools and the Cadence series of IC design tools. The associated operating system can be a Linux system.

[0020] See also Figure 1 It can be seen that the automatic layout and routing control method includes: Step S1, extract the name of each module from the circuit information file; then execute step S2. The circuit information file is obtained by importing the pre-designed circuit schematic into the electronic design automation tool, specifically a format file with a .cdl suffix, which is a netlist file of a format used to describe the circuit structure information in the pre-designed circuit schematic. The circuit information file records the name of each module in a specific syntax form; it is worth noting that the electronic design automation tool does not support automatic layout and routing of the circuit schematic.

[0021] In this embodiment, the circuit information file preferably describes multiple analog modules that need to be laid out and wired. The analog modules may include digital logic units. The circuit schematic includes analog circuit modules, referred to as analog modules, which can be divided into a top-level module and its lower-level sub-modules. The top-level module includes but is not limited to a single chip resource; the sub-module may be a sub-module of the chip, such as a memory or a digital signal processing core.

[0022] Step S2, based on the name of the module, obtain the port information of the module, then generate the target netlist based on the information of each port, and then execute step S3; the target netlist includes at least one instantiable netlist of a module, or a combination of multiple instantiable netlists, and the target netlist can be included in the same netlist file; both the instantiable netlist and the target netlist can be recognized by the automatic layout and routing tool, and the netlist file containing the instantiable netlist or the target netlist can be recognized by the automatic layout and routing tool. The target netlist describes the top-level module, the sub-modules (logic units) in the top-level module and their connections from the perspective of the port connection information, and provides guidance for the automatic layout and routing of the electronic design automation tool. The port information of the module may include the name of the port, the placement position of the port, and the connection information of the port. The port of the module is preferably the power port, ground port, input port, and output port of the logic unit.

[0023] Step S3, control the target netlist to be imported into the automatic layout and routing tool, automatically layout and route each module, and generate a GDS file; the electronic design automation tool controls the automatic layout and routing tool to automatically layout and route each module in step S3, and the automatic layout and routing tool generally performs routing after the circuit module layout meets the requirements. After the automatic layout and routing tool completes the layout and routing of the corresponding module, it can output a GDS file to realize the conversion from the circuit information file to the GDS file.

[0024] In this embodiment, the electronic design automation tool includes an automatic placement and routing tool; the automatic placement and routing tool cannot recognize the circuit schematic diagram, so that the electronic design automation tool does not support automatic placement and routing of the circuit schematic diagram.

[0025] In this embodiment, obtaining a GDS file means that the automatic layout and routing is completed, and it is also a sign that the automatic layout and automatic routing of the automatic layout and routing tool have ended. The GDS file belongs to the GDSII file format, which is a graphic data language file format for describing the layout design of integrated circuits. Specifically, the GDS file is a format file that complies with industrial standards for transmitting semiconductor physical board data between design tools, computers and mask manufacturers.

[0026] From steps S1 to S3, it can be seen that the automatic layout and routing control method designed in the present application can automatically convert the pre-designed circuit schematic circuit file into a netlist file that can be recognized by the automatic layout and routing tool used for layout back-end design, and can automatically identify, automatically layout and automatically route multiple modules in batches, speeding up the layout and routing process, helping to reduce the workload of back-end layout personnel, and also facilitating back-end layout personnel to perform structural analysis; therefore, compared with the existing manual layout design method, the automatic layout and routing control method can improve design efficiency, shorten the design cycle, facilitate rapid chip launch and market capture, and has a high industrial utilization value.

[0027] Specifically, the circuit information file is used to describe a top-level module and at least one sub-module, and describes the circuit structure information of a top-level module and multiple sub-modules and the hierarchy between them in a specific grammatical form. The top-level modules and / or sub-modules described in the circuit information file are circuit function modules built by digital logic units. This application does not impose any restrictions on circuit function modules. In actual integrated circuits, a large number of modules will be formed according to the functions of the circuits. The sub-module is a module configured to allow the top-level module to call. In the circuit information file, some key statements are used to describe its calling and being called relationship. In some embodiments, a top-level module includes one or more sub-modules, and all sub-modules are described as device levels in the circuit information file. Therefore, this embodiment extracts the information of the units to be laid out and wired from the two levels of the top-level module and the corresponding sub-module, respectively, to provide more comprehensive circuit module information for generating a netlist file for automatic layout and wiring tools to identify.

[0028] Therefore, step S1 is to distinguish the name of the top-level module and the name of the sub-module from the circuit information file to achieve the purpose of extracting the names of each module, that is, step S1 is to extract the name of the top-level module and the corresponding sub-module from the circuit information file; specifically, when executing step S1, after the electronic design automation tool inputs the circuit information file, it can first determine whether the module name in the circuit information file is the name of the top-level module or the name of the sub-module, so as to further determine or redefine the name of the port of each module (including the top-level module and the sub-module). As for the difference between the name of the top-level module and the name of the sub-module, it is determined based on the called and called relationship between the sub-module and the top-level module, and the name of the top-level module will be configured to be bound to the name of the sub-module.

[0029] Preferably, the top-level module is reserved with an identifier for calling the corresponding submodule. Whenever the identifier inside the top-level module is searched, the circuit level of the submodule matched by the identifier is entered, and the new module is confirmed to be recognized. In addition, one of the submodules is also reserved with an identifier for calling other submodules. The identifier for calling other submodules specifically indexes to a submodule at a lower level or a submodule at the same level. Whenever the identifier reserved for calling other submodules in a submodule is searched, the submodule at a lower level matched by the identifier is preferentially selected to continue searching for the name and port information, so that a top-level module and each submodule are configured with the corresponding circuit level in the circuit information file. The identifier reserved in the top-level module can also have a specific association / binding relationship with the name of the top-level module and the name of the called submodule. The identifier reserved in the submodule can also have a specific association / binding relationship with the name of the submodule and the name of other called submodules.

[0030] It should be noted that a top-level module is allowed to be divided into one or more sub-modules. The top-level module is the netlist at the top level (the netlist at the top level of the circuit level) in the circuit information file. There is no module (specifically, the circuit module) that calls the top-level module in the circuit information file. Preferably, there is only one top-level module in the circuit information file, but there are multiple sub-modules. In particular, when a top-level module is divided into one or more sub-modules, there are sub-modules described as device level in the circuit information file, and the circuit information file is the result of the conversion of the circuit schematic described in step S1, so as to extract the device information of the most basic logic unit, without the need to search from the standard logic unit library, and speed up the subsequent wiring from the device level.

[0031] As an embodiment of step S2, step S2 includes: obtaining top-level module port information and sub-module port information based on the name of the top-level module and the name of the sub-module; the top-level module port information includes the name of the top-level module port, the coordinate position of the top-level module port and the connection information of the top-level module port, and the sub-module port information includes the name of the sub-module port, the coordinate position of the sub-module port and the connection information of the sub-module port, wherein the name of the sub-module port corresponds to the name of the sub-module in which it is located, and the name of the sub-module port can be defined after obtaining the name of the sub-module; the name of the top-level module port corresponds to the name of the top-level module in which it is located, and the name of the top-level module port can be defined after obtaining the name of the top-level module. Then, based on the port information, an instantiable netlist of the top-level module and an instantiable netlist of the sub-module are generated, wherein a circuit information file running in an electronic design automation tool or a command line tool of an associated operating system is used to describe a top-level module and multiple sub-modules, that is, there is a top-level module and multiple sub-modules among the modules included in the circuit information file, and each module corresponds to an instantiable netlist file, so that the instantiable netlist file is used to represent a top-level module or a sub-module; therefore, the step S2 obtains the port information of the module based on the name of the module, and then generates the instantiable netlist file of the corresponding module based on the port information. Then, the instantiable netlist of the top-level module and the instantiable netlist of the sub-module are controlled to be merged into the target netlist. The connection between the ports of each module is used to merge the instantiable netlist of a top-level module and the instantiable netlists of multiple sub-modules into the same netlist file. The merged netlist can be in the same data format as the instantiable netlist before the merger, as long as it is a pre-constrained format that can be recognized by the automatic layout and routing tool and the required information can be extracted; thus, the netlist is quickly established and merged through the port information outside the module, and the netlist of the top-level module and each sub-module is batch processed. It also overcomes the problem of splitting into multiple sub-files due to the distinction between multiple instantiable netlists under the same module name, and reduces the subsequent inspection errors that may be generated in the automatic layout and routing tool (such as DRC (Design Rule Check) verification errors, where DRC verification is used to check whether the layout design complies with the design rules; LVS (Layout Versus Schematics) verification errors, where LVS verification is used to check whether the layout and circuit match).

[0032] Specifically, the method of obtaining the top-level module port information and the sub-module port information based on the name of the top-level module and the name of the sub-module, and then generating the instantiable netlist of the top-level module and the instantiable netlist of the sub-module based on each port includes: searching for the port corresponding to the name of the top-level module from the circuit information file, obtaining the top-level module port information, and specifically obtaining the coordinate position and the connection name of the top-level module port, wherein the port corresponding to the name of the top-level module searched here is determined based on the name of the top-level module in the circuit information file. Searching for the port corresponding to the name of the sub-module from the circuit information file, obtaining the sub-module port information, and specifically obtaining the coordinate position and the connection name of each sub-module port, wherein the port corresponding to the name of the sub-module searched here is determined based on the name of the sub-module in the circuit information file. Thus, the top-level module port information and the sub-module port information are obtained based on the name of the top-level module and the name of the sub-module, and the port information of the top-level module and the port information of each sub-module are enumerated from the circuit information file, so that a database can be established, and the connection relationship between the top-level module and the sub-module can be determined.

[0033] It is worth noting that before obtaining the instantiable netlist of the top-level module and the instantiable netlist of each sub-module, the connection relationship between the ports searched out in the circuit information file will be judged based on the top-level module port information and the sub-module port information to determine whether it is a connection relationship between the top-level module port and the sub-module port, or a connection relationship between the sub-module ports of different sub-modules, thereby distinguishing the connection relationship between the top-level module and the sub-module, and the connection relationship between different sub-modules.

[0034] If it is determined that the connection relationship between the different ports currently searched out is the connection relationship between the top-level module port and the sub-module port, then the instantiable netlist of the top-level module is obtained based on the connection relationship between the top-level module port and the sub-module port, wherein the name of the top-level module corresponds to multiple instantiable netlists, so that one top-level module corresponds to multiple instantiable netlists; the instantiable netlist of the top-level module describes that a top-level module is connected to at least one sub-module, specifically, a top-level module port is connected to at least one sub-module port, that is, it describes the connection relationship between the top-level module and the sub-module; the instantiable netlist of the top-level module reflects the circuit structure properties of the top-level module, and the interconnection relationship between the top-level module and each sub-module; thereby, the connection relationship between the top-level module and the sub-module is judged through the top-level module port information and the sub-module port information, and then the instantiable netlist of the top-level module is obtained. Specifically, the instantiable netlist of the top-level module belongs to an instantiated netlist, each instantiable netlist corresponds to an instantiation name, and multiple instantiable netlists can be arranged in rows in the same netlist file; the instantiable netlist of the top-level module is obtained according to the connection relationship between the top-level module port and the sub-module port, which is equivalent to instantiating the instantiable netlist of the top-level module according to the top-level module port information and the sub-module port information; the instantiation name can be defined using the name of the sub-circuit module divided in the top-level module, and one instantiation name corresponds to one sub-circuit module, which can include the aforementioned sub-modules; the name of the same top-level module can define more than one instantiation name (sub-circuit module); if one instantiation name corresponds to an instantiable netlist, the name of the same top-level module corresponds to more than one instantiable netlist of the top-level module, which may be located in different netlist files respectively, then it is necessary to merge multiple instantiable netlists under the name of the same top-level module, especially merge them in the same grammatical format (or data format) in the same netlist file (corresponding to the target grid), so as to avoid excessive tool verification errors caused by the instantiable netlists of each module being split into multiple netlist files.

[0035] If it is determined that the connection relationship between the different ports currently searched out is the sub-module port connection relationship between different sub-modules, then the instantiable netlist of each sub-module is obtained based on the sub-module port connection relationship between different sub-modules. The instantiable netlist of the sub-module describes that one sub-module is connected to another sub-module, which is manifested as the port of one sub-module being connected to the port of another sub-module. The instantiable netlist of the sub-module reflects the circuit structure properties of the sub-module and the interconnection relationship with other sub-modules; thereby, the connection relationship between the sub-modules is judged through the port information of each sub-module, and the instantiable netlist of each sub-module is obtained. Specifically, the instantiable netlist of a submodule belongs to an instantiated netlist. Each instantiable netlist corresponds to an instantiation name. Multiple instantiable netlists can be arranged in rows in the same netlist file. The instantiable netlist of a submodule is obtained based on the connection relationship of the submodule ports, which is equivalent to instantiating the instantiable netlist of each submodule based on the port information of each submodule. The name of the subcircuit divided in the submodule can be used to define the instantiation name. An instantiation name corresponds to a subcircuit. The same submodule name can define more than one instantiation name (subcircuit). If an instantiation name corresponds to an instantiable netlist, the same submodule The name of the block corresponds to more than one instantiable netlist of the sub-module, which may be split into different netlist files respectively. In this case, it is necessary to merge the multiple instantiable netlists under the name of the same sub-module, especially merge them in the same syntax format (or data format) in the same netlist file (corresponding to the target grid); preferably, the instantiable netlist of the sub-module and the instantiable netlist of the top-level module can be merged in the same netlist file in the same syntax format (or data format) to obtain the target netlist, so as to avoid excessive tool verification errors caused by the instantiable netlists of each module being split into multiple netlist files.

[0036] As an embodiment, the method for identifying the connection relationship between different ports searched out in the circuit information file includes: when the ports of different modules are configured with the same connection name, the ports with the same connection name between the different modules are configured to be connected to form the port connection rules of the module. Among them, the connection names configured for the ports of different modules are derived from the top-level module port information and the sub-module port information; then the port connection rules of the module are specifically manifested as follows: when the connection name of a top-level module port is the same as the connection name of a sub-module port, it means that a top-level module port is connected to a sub-module port, which will be specifically implemented in the automatic layout and routing tool; when the connection name of a sub-module port of a sub-module is the same as the connection name of a sub-module port of another sub-module, it means that the two sub-module ports with the same connection name between the two sub-modules are connected, which will be specifically implemented in the automatic layout and routing tool. Thus, the port connection rules of the module are established through the connection names of each port.

[0037] In some embodiments, the connection name of a port of a module may include the name of the port of other modules that the module needs to connect to, the name of the port of a sub-module that needs to be connected divided within the module, or other signal lines that need to be connected; a connection name represents the connection relationship between two different modules in the circuit information file, then the connection names of some sub-module ports are the same as the connection names of the top-level module ports to establish a connection relationship, or the connection names of the ports of two different sub-modules are the same to establish a connection relationship, wherein multiple sub-modules can be divided within the top-level module.

[0038] In the aforementioned embodiment, the name of the top-level module and the connection name of its corresponding port are set in the circuit information file in a corresponding grammatical form (equivalent to a statement form), and the name of the sub-module and the connection name of its corresponding port are set in the circuit information file in a corresponding grammatical form (equivalent to another statement form). Preferably, the circuit information file is an executable file edited according to a certain data format and called by an electronic design automation tool. Of course, the executable file can be run in the command line tool of the operating system. The name of the top-level module and the name of the sub-module are configured as a calling and called relationship in the circuit information file. Specifically, the name of the top-level module and the name of the sub-module to be called will be grammatically processed to facilitate identification from the circuit information file or the instantiable netlist converted therefrom.

[0039] As an embodiment, in the step S2, the method for merging the instantiable netlist of the control top-level module and the instantiable netlist of the sub-module into a target netlist includes: arranging each instantiable netlist under the top-level module in sequence in a netlist file to be processed according to multiple instantiation names corresponding to the name of a top-level module; preferably, the multiple instantiation names corresponding to the name of a top-level module are represented by English names with serial numbers, and except for the difference in serial numbers, the English names defined under the same module name are the same; therefore, each instantiable netlist under the top-level module is arranged in a netlist file to be processed in order from large to small, or from small to large.

[0040] According to the connection relationship between the top-level module port and the sub-module port, the sub-module that has a connection relationship with the top-level module is selected, and then according to the multiple instantiation names corresponding to the names of the selected sub-modules, each instantiable netlist under each sub-module is arranged in the same netlist file to be processed in order; preferably, the multiple instantiation names corresponding to the name of each sub-module are represented by English names with serial numbers, and except for the difference in the serial numbers, the English names defined under the same sub-module name are the same; therefore, each instantiable netlist under the sub-module is arranged in a netlist file to be processed in order from large to small, or from small to large, and is arranged after each instantiable netlist under the top-level module, for example, in the next row. Specifically, the execution body of the automatic layout and routing control method can traverse each module row by row and column by column in each instantiable netlist, including traversing its port information to determine the connection relationship between different modules, so as to traverse all called sub-modules, so as to select the sub-module that has a connection relationship with the top-level module according to the connection relationship between the top-level module port and the sub-module port. Then, the target netlist is obtained from the same netlist file to be processed, which is used to describe the target netlist and describes the netlist of each row in an orderly manner. The target netlist is generated based on the information of each port. It also overcomes the problem of tool check errors that are easily generated because multiple instantiable netlists under the name of the same module are split into multiple netlist files, and the instantiable netlists of each sub-module are split into different netlist files, that is, it reduces the subsequent check errors (such as DRC verification errors) that may be generated in the automatic layout and routing tools, accelerates the process of automatic layout and routing, reduces R&D costs, improves project success rate, and shortens time to market.

[0041] As one of the implementation methods of step S2, the method for merging the instantiable netlist of the control top-level module and the instantiable netlist of the submodule into the target netlist also includes: selecting other submodules that have a connection relationship with the submodule corresponding to the merged instantiable netlist based on the submodule port connection relationship between different submodules; at this time, other submodules that have a connection relationship with the submodules that need to be arranged are selected, including submodules that are not directly connected to the top-level module, and the merged instantiable netlist can be arranged in the same netlist file to be processed according to the sequence number. Then, according to the multiple instantiation names corresponding to the names of the currently selected submodules, each instantiable netlist under each submodule is arranged in the netlist file to be processed in sequence. Preferably, the multiple instantiation names corresponding to the name of each submodule are represented by English names with serial numbers, and except for the difference in serial numbers, the English names defined under the same submodule name are the same; therefore, each instantiable netlist under the submodule is arranged in a netlist file to be processed in order from large to small, or from small to large, and is arranged after the instantiable netlists that have been arranged according to the serial numbers, for example, in the next line. The netlist file to be processed finally obtained is a complete netlist file to which the instantiable netlist of the top-level module and the instantiable netlists of each submodule are set, and the target netlist can be extracted accordingly, thereby realizing the provision of more netlist information for the target netlist based on the port information of multiple interconnected submodules.

[0042] In summary, this embodiment determines to orderly integrate the connection relationship between the top-level module port and the sub-module port, and the sub-module port connection relationship between each sub-module. Among them, the target netlist supports being called for automatic layout and routing. However, this embodiment constrains each port to be integrated together through step S2 to perform automatic layout and routing in step S3.

[0043] In some embodiments, based on the instantiable netlist of each module, the clock port, power port, ground port, input port, output port and other functional ports (derived from the functional registers set in the circuit) of each module (which can correspond to each logic unit) can be enumerated. In each instantiable netlist or the file where the target netlist is located, the connection name of each port is placed in the brackets after each port. Each matching port is set on the same line in a top-level module or sub-module, wherein the name of the module, the instantiation name, the name of the port and the connection name set with the port are set in sequence on the same line. The connection relationship of each port is established or not established according to actual needs, thereby establishing the connection relationship between different ports and mapping them to the instantiable netlist.

[0044] A top-level module can be simply replaced with an implementation of a different level, for example, it can be configured to be spliced ​​from sub-modules of a circuit level one level smaller than it, so that the circuit level where the top-level module is located is at the top level relative to the circuit level where the sub-module is located; wherein the unit modules required for splicing are sub-modules, and there will be spacing between different sub-modules. The instantiable netlist of the top-level module or the instantiable netlist of the sub-module includes instantiating at least one of the two interconnected modules to the transistor level. This corresponds to instantiating from the top layer of the entire chip to the next layer until the transistor-level structure inside the logic unit. Then the sub-modules are connected in sequence, and the top-level module is also connected to the sub-module to obtain a complete netlist.

[0045] As an embodiment, the step S3 includes: controlling the target netlist to be imported into the automatic layout and routing tool, automatically layout and routing the top-level module and sub-module, and also automatically layout and routing each sub-module, and extracting and layout and routing the netlist line by line; the instantiable netlists of the top-level modules and sub-modules required for layout and routing are all set in the target netlist, preferably the netlists of the top-level module and the sub-modules that have a connection relationship or a called relationship with the top-level module, and some sub-modules that do not have a connection relationship with other modules will be regarded as illegal modules and excluded from the scope of automatic layout and routing. After the automatic layout and routing tool completes the automatic layout and routing, a GDS file is generated to realize the conversion from the circuit information file to the GDS file, so as to generate GDSII data for integrated circuit manufacturing, which can characterize the coordinate range occupied by each circuit module in the overall layout, and the connection relationship established between each circuit module. It should be noted that the final output of the layout design is usually output to tape in the form of GDSII data (a proprietary binary format), which is an industry-standard format file for transmitting semiconductor physical board data between electronic design automation tools, computers and mask manufacturers.

[0046] When the GDSII data is obtained by means of automatically executing the aforementioned steps S1 to S3 by means of a script, compared with the existing automatic layout and routing methods, the target netlist converted and merged from the circuit schematic is used to adapt to the automatic layout and routing tool, which can automatically identify, extract and layout and route multiple modules in batches, reducing the cost of data format conversion; and compared with the existing manual layout design method, it improves design efficiency, shortens the design cycle, and facilitates the rapid listing of chips and seizing the market.

[0047] In step S3, after the target netlist is imported into the automatic placement and routing tool, during the process of automatic placement and routing performed by the automatic placement and routing tool, when the program required for automatic placement and routing traverses to the connection name of a port at a coordinate position, the connection relationship between two adjacent modules is determined and routing is performed according to the port connection rule of the module, wherein the connection relationship between two adjacent modules can be the connection relationship between the top-level module port and the sub-module port, or the sub-module port connection relationship between different sub-modules; in the software program run by the automatic placement and routing tool, the program required for automatic placement and routing can identify the aforementioned connection relationship. Therefore, the program required for automatic placement and routing reduces the attention to the circuit structure information inside the module on the basis of identifying the aforementioned connection relationship, and speeds up the automatic placement and routing between two adjacent modules.

[0048] The determination of the connection relationship between two adjacent modules according to the port connection rule of the module and the wiring specifically include: during the process of automatic layout and wiring by the automatic layout and wiring tool, if there are ports with the same connection name between two adjacent submodules, the ports with the same connection name between the two adjacent submodules are controlled to be connected, and in physical description, one connection line is used for connection; if there are ports with the same connection name between the top module and a submodule at one of the positions (as a connector), the ports with the same connection name between the top module and the submodule at one of the positions are controlled to be connected, and in physical description, one connection line is used for connection. If the layout is taken into consideration, a wiring space is reserved between the two adjacent submodules to minimize the interconnection length of the two submodules, and in physical description, one of the submodules is located on the left side of the other submodule; and a wiring space is reserved between the top module and the submodule at one of the positions to minimize the interconnection length between the top module and the submodule at one of the positions, and in physical description, the submodule at one of the positions is located below the top module.

[0049] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some or all of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An automatic layout and routing control method based on a circuit information file, characterized in that: Automatic placement and routing control methods include: Step S1, extracting the names of various modules from a circuit information file; the circuit information file is converted from a pre-designed circuit schematic in an electronic design automation tool; Step S2, based on the name of the module, obtain the port information of the module, and then generate a target netlist based on the information of each port; Step S3, importing the control target netlist into the automatic layout and routing tool, automatically layout and routing each module, and generating a GDS file; Among them, the electronic design automation tool includes an automatic placement and routing tool; the automatic placement and routing tool cannot recognize the circuit schematic, so that the electronic design automation tool does not support automatic placement and routing of the circuit schematic; the target netlist is allowed to be recognized by the automatic placement and routing tool.

2. The automatic layout and routing control method according to claim 1, characterized in that: The circuit information file is used to describe a top-level module and at least one sub-module; The top-level module and / or sub-module described in the circuit information file is a circuit functional module constructed by digital logic units; the sub-module is a module configured to allow the top-level module to call; Step S1 is to distinguish the name of the top-level module and the name of the sub-module from the circuit information file.

3. The automatic layout and routing control method according to claim 2, characterized in that: The top-level module is reserved with an identifier for calling the corresponding sub-module, and one of the sub-modules is also reserved with an identifier for calling other sub-modules. The top-level module is not allowed to be called by other modules in the circuit information file; A top-level module is allowed to be divided into one or more sub-modules; the top-level module and each sub-module are configured with corresponding circuit levels in the circuit information file.

4. The automatic layout and routing control method according to claim 2, characterized in that: The step S2 comprises: Based on the name of the top-level module and the name of the sub-module, the top-level module port information and the sub-module port information are obtained, and then based on the respective port information, an instantiable netlist of the top-level module and an instantiable netlist of the sub-module are generated; Then the instantiable netlist of the top-level module and the instantiable netlist of the submodule are controlled to be merged into the target netlist.

5. The automatic layout and routing control method according to claim 4, characterized in that: The method of obtaining the top-level module port information and the sub-module port information based on the name of the top-level module and the name of the sub-module, and then generating the instantiable netlist of the top-level module and the instantiable netlist of the sub-module based on the respective port information includes: Search the port corresponding to the name of the top-level module from the circuit information file to obtain the top-level module port information; search the port corresponding to the name of the sub-module from the circuit information file to obtain the sub-module port information; According to the top-level module port information and the sub-module port information, determining whether the connection relationship between the ports searched in the circuit information file is a connection relationship between the top-level module port and the sub-module port, or a connection relationship between the sub-module ports of different sub-modules; If it is determined that the connection relationship between the different ports currently searched out is the connection relationship between the top-level module port and the sub-module port, then the instantiable netlist of the top-level module is obtained according to the connection relationship between the top-level module port and the sub-module port, wherein the name of the top-level module corresponds to multiple instantiable netlists, so that one top-level module corresponds to multiple instantiable netlists; If it is determined that the connection relationship between the different ports currently searched out is a sub-module port connection relationship between different sub-modules, then the instantiable netlist of each sub-module is obtained according to the sub-module port connection relationship between the different sub-modules, wherein the name of the sub-module corresponds to multiple instantiable netlists, so that one sub-module corresponds to multiple instantiable netlists; Each instantiable netlist corresponds to an instantiation name, so that the name of a top-level module corresponds to multiple instantiation names, and the name of a submodule also corresponds to multiple instantiation names.

6. The automatic layout and routing control method according to claim 5, characterized in that: The method for identifying the connection relationship between different ports searched out in the circuit information file includes: when the ports of different modules are configured with the same connection name, the ports with the same connection name between the different modules are configured to be connected to form the port connection rule of the module.

7. The automatic layout and routing control method according to claim 6, characterized in that: The name of the top-level module and the connection name of its corresponding port are set in the circuit information file in a corresponding grammatical form, the name of the sub-module and the connection name of its corresponding port are set in the circuit information file in a corresponding grammatical form, and the name of the top-level module and the name of the sub-module are configured as a calling and being called relationship in the circuit information file.

8. The automatic layout and routing control method according to claim 6, characterized in that: The method for controlling the instantiable netlist of the top-level module and the instantiable netlist of the submodule to merge into a target netlist comprises: According to a plurality of instantiation names corresponding to a name of a top-level module, each instantiable netlist under the top-level module is arranged in sequence in a netlist file to be processed; According to the connection relationship between the top-level module port and the sub-module port, a sub-module having a connection relationship with the top-level module is selected, and then each instantiable netlist under the sub-module is arranged in the same netlist file to be processed in order according to multiple instantiation names corresponding to the name of the selected sub-module; Then the target netlist is obtained from the same netlist file to be processed.

9. The automatic layout and routing control method according to claim 8, characterized in that: The method for controlling the instantiable netlist of the top-level module and the instantiable netlist of the sub-module to be merged into a target netlist further includes: According to the sub-module port connection relationship between different sub-modules, other sub-modules that have a connection relationship with the sub-module corresponding to the merged instantiable netlist are selected; and then, according to the multiple instantiation names corresponding to the name of the currently selected sub-module, each instantiable netlist under the sub-module is arranged in the netlist file to be processed in sequence.

10. The automatic layout and routing control method according to claim 6, characterized in that: The step S3 comprises: The control target netlist is imported into the automatic placement and routing tool, and the top-level module and sub-module are automatically placed and routed, and each sub-module is also automatically placed and routed; After the automatic layout and routing tool completes the automatic layout and routing, a GDS file is generated to realize the conversion from the circuit information file to the GDS file, so as to generate GDSII data to be sent for integrated circuit manufacturing.

11. The automatic layout and routing control method according to claim 10, characterized in that: In step S3, after the target netlist is imported into the automatic placement and routing tool, during the process of automatic placement and routing by the automatic placement and routing tool, when the program required for automatic placement and routing traverses to the connection name of a port at a coordinate position, the connection relationship between two adjacent modules is determined and routing is performed according to the port connection rules of the module.

Citation Information

Cited By

  • Circuit netlist conversion method, circuit netlist conversion control method and circuit netlist conversion control device

    CN121302996A