Circuit simulation method and device, server and storage medium
By obtaining the port information and spacing constraint values in the circuit netlist, determining the forbidden area and using Dijkstra's algorithm for wiring design, the problem of metal spacing on the same layer is solved, high-quality wiring design is achieved, and design rules are avoided. violation.
Patent Information
- Application Number
- CN202211099907.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-07
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-09-07
AI Technical Summary
Existing routers cannot effectively ensure the minimum spacing between metals on the same layer, affecting chip manufacturing quality.
By obtaining the port information and spacing constraint values in the circuit netlist, the prohibited area is determined, and the Dijkstra algorithm is used for wiring design to ensure that the spacing complies with the design rules, and if necessary, wiring post-processing is performed to correct wiring that violates the rules.
It effectively avoids violating design rules, improves wiring quality, and ensures the minimum spacing requirements between metals on the same layer. It has a wide range of applications, covers many scenarios, and has a high success rate.
Smart Images

Figure CN116167322B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuit simulation, and in particular to a circuit simulation method and device, a server and a storage medium. Background Art
[0002] With the rapid development of very large-scale integrated circuits and their wide application, chip design and process requirements have become increasingly complex. Electronic design automation (EDA) tools have become an indispensable auxiliary design tool in the field of chip design.
[0003] In the chip wiring stage, the corresponding design rules are read according to the process requirements. Under the premise of meeting these design rules, the EDA tool connects each module or pin according to the connection relationship given in the netlist. In the entire chip design process, the design rules directly affect the final chip manufacturing. In order to ensure the normal manufacturing of the chip, certain design rules need to be considered during the wiring process.
[0004] In the prior art, there are requirements for the spacing between metals on the same layer. Metals on the same layer cannot be too close and need to maintain a minimum spacing, otherwise it will affect chip manufacturing. However, the existing routers cannot guarantee the spacing between metals on the same layer.
[0005] Therefore, it is hoped that there will be a new circuit simulation method and device, server and storage medium that can solve the above problems. Summary of the invention
[0006] In view of the above problems, an object of the present invention is to provide a circuit simulation method and device, a server and a storage medium, so as to avoid violating design rules and improve wiring quality.
[0007] According to one aspect of the present invention, there is provided a circuit simulation method, comprising obtaining a circuit netlist, wherein the circuit netlist comprises at least two wire mesh layers; obtaining port information in the circuit netlist and spacing constraint values corresponding to different wire mesh layers, wherein the port information comprises a port graphic; obtaining a first prohibited area according to the port graphic on the original layout and the spacing constraint value corresponding to the wire mesh layer to which the port graphic belongs; performing wiring design according to the port information and the first prohibited area, wherein wiring is prohibited in the first prohibited area.
[0008] Optionally, the port information further includes at least one of a network layer to which the port belongs and a port type.
[0009] Optionally, obtaining the first prohibited area according to the port graphic on the original layout and the spacing constraint value corresponding to the wire mesh layer to which the port graphic belongs includes setting an area whose spacing with the port graphic does not satisfy the spacing constraint value as the first prohibited area, and recording the position of the first prohibited area on a map.
[0010] Optionally, the circuit simulation method also includes obtaining existing wiring and the mesh layer to which the existing wiring belongs; setting an area where the spacing with the existing wiring does not satisfy the spacing constraint value corresponding to the mesh layer to which the existing wiring belongs as a second prohibited area, wherein the second prohibited area prohibits the addition of new wiring.
[0011] Optionally, the circuit simulation method further comprises taking the ports to be connected in the circuit netlist as source points, expanding in at least one direction according to the Dijkstra algorithm, and recording the expanded direction of the source points.
[0012] Optionally, during the expansion process, when the current expansion direction is different from the expanded direction, the expansion process is traced back to the previous turning point, and a third prohibited area is obtained according to the current expansion direction, the previous turning point and the spacing constraint value, wherein wiring is prohibited in the third prohibited area.
[0013] Optionally, the circuit simulation method further includes searching according to the Dijkstra algorithm until the points extending from the source point are connected; after the Dijkstra algorithm search is completed, backtracking along the source point to obtain a routing point chain; and routing along the routing point chain.
[0014] Optionally, the circuit simulation method further includes traversing the routing point chain to determine whether there is a violation of the spacing constraint value; when it is determined that there is a violation of the spacing constraint value, post-processing the routing, wherein the post-processing of the routing includes routing widening and / or routing movement to obtain a corrected routing.
[0015] Optionally, the post-processing of the wiring includes widening the wiring according to a smaller width value in graphics at both ends of the wiring; when both ends of the wiring are pins, the post-processing of the wiring includes moving the wiring.
[0016] Optionally, when the minimum spacing between corresponding graphics of two ports in the same network layer is less than or equal to zero, the two ports together form a port graphic.
[0017] According to another aspect of the present invention, a circuit simulation device is provided, comprising an acquisition unit for acquiring a circuit netlist, the circuit netlist comprising at least two wire mesh layers, the acquisition unit further for acquiring port information in the circuit netlist and spacing constraint values corresponding to different wire mesh layers, wherein the port information comprises a port graphic; a constraint unit for obtaining a first prohibited area according to the port graphic on the original layout and the spacing constraint value corresponding to the wire mesh layer to which the port graphic belongs; and a routing unit for performing routing design according to the port information and the first prohibited area, wherein routing is prohibited in the first prohibited area.
[0018] According to another aspect of the present invention, there is provided a server, comprising a processor; and a memory for storing one or more programs; wherein when the one or more programs are executed by the processor, the processor implements the circuit simulation method as described above.
[0019] According to another aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program implements the circuit simulation method as described above when executed by a processor.
[0020] According to the circuit simulation method and device, server and storage medium of the embodiments of the present invention, the first prohibited area is determined according to the spacing constraint values of different wire mesh layers to implement wiring design, support the minimum spacing requirements of the same wire mesh layer, avoid violating design rules, and improve wiring quality.
[0021] Furthermore, methods such as marking and backtracking are used for wiring to cope with different situations, which has a wide range of applications, covers many scenarios and has a high success rate.
[0022] Further, after obtaining the initial wiring, post-processing is performed to cover more scenarios with a high success rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0024] Figure 1 A method flow chart of a circuit simulation method according to Embodiment 1 of the present invention is shown.
[0025] Figure 2 A method flow chart of a circuit simulation method according to the second embodiment of the present invention is shown.
[0026] Figure 3 A schematic diagram of the minimum spacing according to the second embodiment of the present invention is shown.
[0027] Figure 4 A marking schematic diagram according to the second embodiment of the present invention is shown.
[0028] Figure 5 A schematic diagram of illegal wiring according to the second embodiment of the present invention is shown.
[0029] Figure 6 A schematic diagram of legal wiring according to the second embodiment of the present invention is shown.
[0030] Figure 7 A schematic diagram of backtracking according to the second embodiment of the present invention is shown.
[0031] Figure 8 A wiring diagram according to the second embodiment of the present invention is shown.
[0032] Fig. 9 A schematic diagram of wiring widening according to the second embodiment of the present invention is shown.
[0033] Fig.10 A schematic diagram of wiring movement according to the second embodiment of the present invention is shown.
[0034] Fig.11 A schematic diagram of wiring widening according to the second embodiment of the present invention is shown.
[0035] Fig.12 A method flow chart of a circuit simulation method according to Embodiment 3 of the present invention is shown.
[0036] Fig.13 A schematic diagram of an operation interface according to Embodiment 3 of the present invention is shown.
[0037] Fig.14 A schematic diagram of wiring results according to the third embodiment of the present invention is shown.
[0038] Fig.15 A schematic structural diagram of a circuit simulation device according to an embodiment of the present invention is shown.
[0039] Fig.16 A schematic diagram of the structure of a server according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0040] Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, identical elements are represented by identical or similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale. In addition, some well-known parts may not be shown in the drawings.
[0041] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. Many specific details of the present invention, such as the structure, materials, dimensions, processing technology and techniques of the components are described below to provide a clearer understanding of the present invention. However, as those skilled in the art will appreciate, the present invention may be implemented without following these specific details.
[0042] It should be understood that when describing the structure of a component, when a layer or a region is referred to as being "on" or "over" another layer or another region, it may mean that it is directly on the other layer or another region, or that other layers or regions are included between it and the other layer or another region. Moreover, if the component is turned over, the layer or a region will be "below" or "beneath" another layer or another region.
[0043] A method for generating through-holes that meet the minimum spacing / spacing constraint value (Min Notch) constraint in integrated circuit layout wiring is a method for selecting the optimal routing path based on the Min Notch constraint in the wiring process of EDA tools. The constraint is the minimum spacing constraint (same net spacing) of the same net (line network layer). The same net refers to the pins, metals and through-holes on the same line network. They need to be connected together to meet the circuit connection relationship. The application relates to the field of EDA design technology, and in particular to a wiring method for an integrated circuit layout that meets Min Notch. Under the premise of satisfying the design rule checking (DRC), the total wiring path length is minimized.
[0044] Figure 1 FIG. 4 shows a flow chart of a circuit simulation method according to Embodiment 1 of the present invention. Figure 1 As shown, the circuit simulation method according to the first embodiment of the present invention includes the following steps:
[0045] In step S101, a circuit netlist is obtained;
[0046] A circuit netlist is obtained, wherein the circuit netlist includes at least two wire net layers, each wire net layer includes at least one of pins, metals, and through holes, etc., which are connected together to satisfy a circuit connection relationship.
[0047] In step S102, the port information in the netlist and the spacing constraint values corresponding to different wire net layers are obtained;
[0048] Obtain port information in the circuit netlist and spacing constraint values corresponding to different wire mesh layers, wherein the port information includes a port graph. Optionally, the port information also includes at least one of a wire mesh layer to which the port belongs, a port type, etc. Optionally, the circuit netlist includes a first wire mesh layer and a second wire mesh layer. The first wire mesh layer corresponds to a first spacing constraint value, and the second wire mesh layer corresponds to a second spacing constraint value. The first spacing constraint value and the second spacing constraint value may be the same or different.
[0049] In step S103, a first forbidden area is obtained according to the port pattern on the original layout and the constraint value corresponding to the network layer to which the port pattern belongs;
[0050] According to the port graphic on the original layout and the constraint value corresponding to the wire net layer to which the port graphic belongs, a first forbidden area (corresponding to the wire net layer) is obtained.
[0051] In step S104, wiring design is performed according to the port information and the first forbidden area.
[0052] (Circuit simulation) wiring design is performed according to the port information and the first prohibited area, wherein wiring is prohibited in the first prohibited area.
[0053] In an optional embodiment of the present invention, the circuit simulation method further includes: obtaining an existing wiring and a wire mesh layer to which the existing wiring belongs; setting an area whose spacing with the existing wiring does not satisfy a spacing constraint value corresponding to the wire mesh layer to which the existing wiring belongs as a second prohibited area, wherein the second prohibited area prohibits adding new wiring. Optionally, during the wiring process, an area whose spacing with the existing wiring does not satisfy the spacing constraint value is set as the second prohibited area, and after the new wiring is completed, the new wiring is treated as the existing wiring.
[0054] Figure 2 FIG. 2 shows a flow chart of a circuit simulation method according to Embodiment 2 of the present invention. Figure 2 As shown, the circuit simulation method according to the second embodiment of the present invention includes the following steps:
[0055] In step S201, circuit netlist information is obtained;
[0056] Get the circuit netlist information, read the port graphics of all the nets in the wiring input file, including the size and hierarchy of the port graphics, the spacing rules of each (net) layer, and the minimum spacing constraint information (including the net layer where the constraint is located and the corresponding spacing constraint value). Figure 3 As shown, the distance between the port graphics needs to be greater than the spacing constraint value (minnotch spacing).
[0057] In step S202, a first forbidden area is established;
[0058] A first prohibited area is established, wherein routing is prohibited in the first prohibited area. Optionally, the area where the spacing with the port graphic does not meet the spacing constraint value is set as the first prohibited area, and the position of the first prohibited area is recorded on the map. Optionally, the graphics on the original layout are marked (to establish the first prohibited area), and the position of the graphics after expansion (graphic expansion means marking the area where the same net spacing violation will occur in the same net graphic routing, i.e., the first prohibited area) is recorded on the map. Combined with Figure 4 As shown, the marked range is a hollowed-out rectangle, which is obtained by expanding the marked graphic. Optionally, the mark is used to solve the notch caused by multiple searches of the same net. The mark is the ring area of the metal graphic after expanding the MinNotch spacing and then subtracting the metal graphic itself.
[0059] In an optional embodiment of the present invention, when the minimum spacing between the corresponding graphics of two ports in the same wire mesh layer is less than or equal to zero, the two ports together form a port graphic. Specifically, if the spacing between the metal graphics of two wire mesh layers is less than the Min Notch Spacing, it will violate the design rules, but if the spacing between the metal graphics of two wire mesh layers is less than or equal to 0, that is, the two are in contact, then the two should be regarded as one graphic, and the design rules are not violated.
[0060] In step S203, initial wiring is planned;
[0061] The initial routing is obtained by planning. Optionally, the ports to be connected in the circuit netlist are taken as source points, and are expanded in at least one direction according to the Dijkstra algorithm, and the expanded direction (of the source point) is recorded. Furthermore, during the expansion process, when the current expansion direction is different from the expanded direction, backtrack to the previous turning point of the expansion process, and obtain a third prohibited area according to the current expansion direction, the previous turning point and the spacing constraint value, wherein the third prohibited area prohibits routing. Optionally, search according to the Dijkstra algorithm until the points extended from the source point are connected; after the Dijkstra algorithm search is completed, backtrack along the source point to obtain a routing point chain; perform routing along the routing point chain to obtain the initial routing.
[0062] In a specific embodiment, the points on the pins (ports) to be connected are taken as source points, and the Dijkstra algorithm is used to expand in all directions, while the direction in which each point (source point / expansion point) is expanded is recorded.
[0063] During expansion, the marking map is searched. If the spacing between the metal pattern of the same net layer is less than the spacing constraint value (Min Notch), the cost is increased (the third forbidden area is obtained) to avoid routing here. In other words, during the expansion process, if the current node is marked in the same net spacing map, it means that if the line is routed to the current node, a same net spacing violation will occur, and it is necessary to give it a larger routing cost to avoid the forbidden area. Figure 5 As shown in , if the current point is in the marked area, it will violate the constraint and need to add a cost; if it is not in the marked area, it is legal and no cost is added. Figure 6 As shown, there are two legal possibilities: one is that the current point is far away from the marked figure, and the other is that the current point is in contact with the marked figure.
[0064] When expanding, if the current expansion direction is different from the direction of the expansion point, it means that a turn is needed. At this time, backtrack to the previous turning point and calculate the distance between the two turning points. If it is less than the distance constraint value, increase the cost (the increased cost is the length required to increase after changing the route). Figure 7 As shown, in the backtracking process, each point is backtracked in the opposite direction of the expansion until the previous turning point is found. In this application, marking and backtracking are used to solve different situations. Backtracking solves the Notch caused by the same search; for the Notch caused by multiple searches, combined Figure 8 As shown, it needs to be solved by marking.
[0065] Optionally, during the expansion process, nodes with high costs will be pushed to the end of the queue, and the maze algorithm itself will pop out nodes with lower costs for expansion, that is, routing paths without same net violations will be prioritized.
[0066] Continue searching until the points extending from the source point are connected. When the Dijkstra algorithm search is finished, trace back along the source point to obtain a point chain. Routing along this point chain obtains the initial wiring (that is, the metal wire obtained for the first time).
[0067] In step S204, it is checked whether the initial routing violates the constraints, and the final routing is obtained.
[0068] Check whether the initial routing violates the spacing constraint value and obtain the final routing. For example, traverse the point chain. If a violation of the spacing constraint value occurs, post-processing is required. The post-processing method may be to widen the metal wire. Optionally, traverse the point chain of the routing to determine whether there is a violation of the spacing constraint value; when it is determined that there is a violation of the spacing constraint value, post-process the (initial) routing. Post-processing the initial routing includes widening the routing and / or moving the routing to obtain a corrected routing. Optionally, widen the routing according to the smaller width value in the graphics at both ends of the routing; when the two ends of the routing are pins, post-processing the routing includes moving the (initial) routing.
[0069] In a specific embodiment of the present invention, the ends (ports) of the wiring (metal wire) include at least three situations: bends, pins, and through-holes. Post-processing is used to process the situation where there are no bends at both ends but pins. The processing method is to widen the metal wire, and the widened width is the smaller value of the width of the graphics at both ends. The situation where one end is a bend is solved by backtracking in the search, and then the situations that require post-processing include the following three situations: both ends are pins; one end is a pin and the other end is a through-hole; both ends are through-holes.
[0070] When widening the metal line, select the smaller value of the width of the two ends. In the case of pins at both ends, since the metal line does not necessarily extend from the center of the pin, it may still violate DRC even if it is widened, such as Fig. 9 As shown. At this time, the metal wire needs to be moved, such as Fig.10 shown.
[0071] When the projection of the large-width pin cannot cover the projection of the small-width pin, the width of the metal line expansion is not the pin width, but the spacing between the two pins closer together, such as Fig.11 shown.
[0072] Fig.12 FIG. 4 shows a flow chart of a circuit simulation method according to Embodiment 3 of the present invention. Fig.12 As shown, the specific wiring method of the circuit simulation method according to the third embodiment of the present invention includes the following steps:
[0073] In step S301, layout data and process constraints are initialized;
[0074] Initialize layout data and process constraints. Optionally, Fig.13 As shown, open the router and click to start routing. Read the graphics and Min Notch constraints on the layout.
[0075] In step S302, the layout graphic is marked;
[0076] Mark the layout graphics, such as reference Figure 4When drilling holes or routing traces in the marked area, there is an added penalty (i.e. avoiding the marked area).
[0077] In step S303, searching is performed starting from the source point;
[0078] Start the search from the source point and use Dijkstra's algorithm to search for paths. Look for the marked map during the search. If the Min Notch DRC is violated, add a cost.
[0079] In step S304, a point chain is obtained and post-processed.
[0080] After obtaining the point chain, generate the wiring (metal wire) and perform post-processing on the metal wire. Fig.14 .
[0081] According to another aspect of the present invention, a circuit simulation device is provided, and the circuit simulation device is used to implement the above-mentioned circuit simulation method. Fig.15 As shown, in a specific embodiment of the present invention, the circuit simulation device includes an acquisition unit 310 , a constraint unit 320 and a routing unit 330 .
[0082] Specifically, the acquisition unit 310 is used to acquire a circuit netlist, which includes at least two wire net layers. The acquisition unit 310 is also used to acquire port information in the circuit netlist and spacing constraint values corresponding to different wire net layers, wherein the port information includes a port graph.
[0083] The constraint unit 320 is used to obtain a first forbidden area according to the port pattern on the original layout and the spacing constraint value corresponding to the network layer to which the port pattern belongs.
[0084] The wiring unit 330 is used to perform wiring design according to the port information and the first forbidden area, wherein wiring is prohibited in the first forbidden area.
[0085] Fig.16 FIG. 2 shows a schematic diagram of the structure of a server according to an embodiment of the present invention. Fig.16 The present disclosure also proposes a block diagram of an exemplary server suitable for implementing the embodiments of the present disclosure. It should be understood that Fig.16 The server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0086] like Fig.16 As shown, the server 200 is in the form of a general-purpose computing device. The components of the server 200 may include, but are not limited to: one or more processors or processing units 210, a memory 220, and a bus 201 connecting different system components (including the memory 220 and the processing unit 210).
[0087] Bus 201 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0088] The server 200 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the server 200, including volatile and non-volatile media, removable and non-removable media.
[0089] System memory 220 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 221 and / or cache memory 222. Server 200 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 223 may be used to read and write non-removable, non-volatile magnetic media ( Fig.16 not shown, usually called a "hard drive"). Although Fig.16 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 201 via one or more data medium interfaces. Memory 220 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of each embodiment of the present disclosure.
[0090] A program / utility 224 having a set (at least one) of program modules 2241 may be stored, for example, in the memory 220, such program modules 2241 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include an implementation of a network environment. The program modules 2241 generally perform the functions and / or methods of the embodiments described in the embodiments of the present disclosure.
[0091] Further, the server 200 may also be connected to a display 300 for displaying the results of the screening and sorting. The display 300 may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display 300 may also be a touch screen.
[0092] Further, the server 200 can also communicate with one or more devices that enable users to interact with the server 200, and / or communicate with any device (such as a network card, a modem, etc.) that enables the server 200 to communicate with one or more other computing devices. Such communication can be performed through an input / output (I / O) interface 230. In addition, the server 200 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 240. As shown in the figure, the network adapter 240 communicates with other modules of the server 200 through a bus 201. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the server 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0093] The processing unit 210 executes various functional applications and data processing by running the programs stored in the system memory 220, such as implementing the circuit simulation method for the device modeling tool provided in the embodiment of the present disclosure.
[0094] An embodiment of the present invention also provides a computer-readable storage medium having a computer program (or computer executable instructions) stored thereon. When the program is executed by a processor, it is used to execute the circuit simulation method provided by the embodiment of the present disclosure, the method comprising: obtaining a circuit netlist, wherein the circuit netlist comprises at least two wire mesh layers; obtaining port information in the circuit netlist and spacing constraint values corresponding to different wire mesh layers, wherein the port information comprises a port graphic; obtaining a first prohibited area according to the port graphic on the original layout and the spacing constraint value corresponding to the wire mesh layer to which the port graphic belongs; performing wiring design according to the port information and the first prohibited area, wherein wiring is prohibited in the first prohibited area.
[0095] The computer storage medium of the embodiment of the present disclosure may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it.
[0096] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0097] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0098] Computer program code for performing the operation of the disclosed embodiments may be written in one or more programming languages or a combination thereof, including object-oriented programming languages (such as Java, Smalltalk, C++), and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0099] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0100] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A circuit simulation method, comprising: Acquire a circuit netlist, wherein the circuit netlist includes at least two wire net layers; Acquire port information in the circuit netlist and spacing constraint values corresponding to different wire net layers, wherein the port information includes a port graph; Obtaining a first forbidden area according to the port pattern on the original layout and the spacing constraint value corresponding to the line network layer to which the port pattern belongs; The wiring design is performed according to the port information and the first forbidden area, wherein the wiring is prohibited in the first forbidden area. Wherein, obtaining the first forbidden area according to the port graphic on the original layout and the spacing constraint value corresponding to the line network layer to which the port graphic belongs includes: Setting an area whose distance from the port graphic does not satisfy the distance constraint value as the first prohibited area, and recording the position of the first prohibited area on a map; The circuit simulation method further includes: Acquire existing wiring and the network layer to which the existing wiring belongs; Setting an area where the spacing with the existing wiring does not satisfy the spacing constraint value corresponding to the network layer to which the existing wiring belongs as a second prohibited area, wherein the second prohibited area prohibits adding new wiring; The circuit simulation method further includes: The ports to be connected in the circuit netlist are taken as source points, and are expanded in at least one direction according to the Dijkstra algorithm, and the expanded direction of the source point is recorded; during the expansion process, when the current expansion direction is different from the expanded direction, the expansion process is traced back to the previous turning point, and a third prohibited area is obtained according to the current expansion direction, the previous turning point and the spacing constraint value, wherein wiring is prohibited in the third prohibited area.
2. The circuit simulation method according to claim 1, wherein: The port information also includes at least one of the network layer to which the port belongs and the port type.
3. The circuit simulation method according to claim 1, wherein: The circuit simulation method further includes: Searching according to the Dijkstra algorithm until the points extending from the source point are connected; After the Dijkstra algorithm search is completed, backtracking along the source point to obtain a wiring point chain; Routing is performed along the routing point chain.
4. The circuit simulation method according to claim 3, wherein: The circuit simulation method further includes: Traversing the routing point chain to determine whether there is a violation of the spacing constraint value; When it is determined that there is a violation of the spacing constraint value, post-processing the wiring, The post-processing of the wiring includes wiring widening and / or wiring movement to obtain a corrected wiring.
5. The circuit simulation method according to claim 4, wherein: The post-processing of the wiring comprises: Widening the wiring according to the smaller value of the width of the graphics at both ends of the wiring; When both ends of the wiring are pins, the post-processing of the wiring includes moving the wiring.
6. The circuit simulation method according to claim 1, wherein: When the minimum spacing between corresponding graphics of two ports in the same network layer is less than or equal to zero, the two ports together form a port graphic.
7. A circuit simulation device, comprising: An acquisition unit, used to acquire a circuit netlist, the circuit netlist includes at least two wire net layers, and the acquisition unit is further used to acquire port information in the circuit netlist and spacing constraint values corresponding to different wire net layers, wherein the port information includes a port graph; A constraint unit, used for obtaining a first forbidden area according to a port pattern on an original layout and a spacing constraint value corresponding to a network layer to which the port pattern belongs; a wiring unit, configured to perform wiring design according to the port information and the first forbidden area, wherein wiring is prohibited in the first forbidden area, Wherein, obtaining the first forbidden area according to the port graphic on the original layout and the spacing constraint value corresponding to the line network layer to which the port graphic belongs includes: Setting an area whose distance from the port graphic does not satisfy the distance constraint value as the first prohibited area, and recording the position of the first prohibited area on a map; The circuit simulation device is also used for: Acquire existing wiring and the network layer to which the existing wiring belongs; Setting an area where the spacing with the existing wiring does not satisfy the spacing constraint value corresponding to the network layer to which the existing wiring belongs as a second prohibited area, wherein the second prohibited area prohibits adding new wiring; The circuit simulation device is also used for: The ports to be connected in the circuit netlist are taken as source points, and are expanded in at least one direction according to the Dijkstra algorithm, and the expanded direction of the source point is recorded; during the expansion process, when the current expansion direction is different from the expanded direction, the expansion process is traced back to the previous turning point, and a third prohibited area is obtained according to the current expansion direction, the previous turning point and the spacing constraint value, wherein wiring is prohibited in the third prohibited area.
8. A server, comprising: processor; A memory for storing one or more programs; When the one or more programs are executed by the processor, the processor implements the circuit simulation method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the circuit simulation method according to any one of claims 1 to 6 is implemented.
