Wiring method, device, computer equipment and storage medium
By using horizontal and vertical straight lines to connect circuit devices, combined with routing constraints and attribute information, the problem of interlaced auxiliary lines when the layout design is complex is solved, and the auxiliary effect of routing is improved.
Patent Information
- Application Number
- CN202410706059.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2044-06-03
AI Technical Summary
When the layout design is complex, the diagonal direct connection method causes the auxiliary lines to crisscross each other, making it difficult for users to see and providing little assistance with actual wiring.
Horizontal and/or vertical straight lines are used to connect devices in the circuit. The direction and properties of the connection lines are determined by combining routing constraint information and connection line attribute information, including color and width.
It avoids the interlacing of auxiliary lines, makes it easier for users to view, and improves the degree of assistance to actual wiring, meeting the subsequent wiring constraints.
Smart Images

Figure CN118551720B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic design automation, and in particular to a wiring method, apparatus, computer equipment, and storage medium. Background Art
[0002] Automatic placement and routing tools are an important part of the electronic design field, helping users quickly and easily perform routing. Related technologies typically use diagonal lines to illustrate the connection relationships between ports on different devices, aiding users in routing.
[0003] However, when the layout design is more complex, the diagonal direct connection method will cause the auxiliary lines to crisscross each other, which is more messy and difficult for users to see. In addition, the diagonal direct connection is different from the actual wiring method, and the actual wiring still needs to be planned afterwards, and the degree of assistance to the actual wiring is low. Summary of the Invention
[0004] To overcome the problems existing in the related art, the present disclosure provides a wiring method, apparatus, computer equipment and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a wiring method is provided, the method comprising:
[0006] Acquire wiring constraint information associated with a circuit, wherein the circuit includes a plurality of devices, the wiring constraint information including geometric constraints and electrical constraints of the plurality of devices;
[0007] Based on the routing constraint information and the attribute information of the connection line, the multiple devices are connected using the connection line, which is an auxiliary line indicating the direction of the physical connection between the multiple devices, and the connection line is a horizontal and / or vertical straight line.
[0008] In some embodiments, the attribute information includes a first attribute, the first attribute being used to indicate a preset connection line, the preset connection line being used to connect ports having the same preset signal in different devices, and different preset connection lines corresponding to different preset signals;
[0009] The connecting line is used to connect the plurality of devices based on the wiring constraint information and the attribute information of the connecting line, comprising:
[0010] Determining, based on the wiring constraint information and the first attribute, a preset connection line indicated by the first attribute;
[0011] The preset connection line is used to connect ports with the same preset signal in the multiple devices.
[0012] In some embodiments, the attribute information further includes a second attribute, where the second attribute is used to indicate that different preset connection lines have different colors; and using the preset connection lines to connect ports having the same preset signal in the plurality of devices includes:
[0013] Based on the second attribute, determining a target color corresponding to the preset connecting line;
[0014] The ports of the plurality of devices having the same preset signal are connected using the preset connection line of the target color.
[0015] In some embodiments, the preset signal is a PIN signal.
[0016] In some embodiments, the attribute information includes a third attribute, and the third attribute is used to indicate a width of the preset connection line; and using the preset connection line to connect ports having the same preset signal in the plurality of devices includes:
[0017] Determining a target width of the preset connecting line based on the third attribute;
[0018] The ports having the same preset signal in the plurality of devices are connected using a preset connection line of the target width.
[0019] In some embodiments, obtaining wiring constraint information associated with the circuit includes:
[0020] The wiring constraint information is extracted from a circuit diagram and a constraint file of the circuit.
[0021] In some embodiments, the geometric constraints include design rule information, design parameters, topology, routing shielding, routing areas, and routing order of the plurality of devices;
[0022] The electrical constraints include differential signals, voltage signals, current signals, power signals and digital signals.
[0023] According to a second aspect of an embodiment of the present disclosure, there is provided a wiring device, the device comprising:
[0024] a constraint information acquisition module configured to acquire routing constraint information associated with a circuit, wherein the circuit includes a plurality of devices, the routing constraint information including geometric constraints and electrical constraints of the plurality of devices;
[0025] The wiring module is configured to connect the multiple devices using the connecting lines based on the wiring constraint information and the attribute information of the connecting lines. The connecting lines are auxiliary lines indicating the direction of the physical connection between the multiple devices, and the connecting lines are horizontal and / or vertical straight lines.
[0026] In some embodiments, the attribute information includes a first attribute, the first attribute being used to indicate a preset connection line, the preset connection line being used to connect ports having the same preset signal in different devices, and different preset connection lines corresponding to different preset signals;
[0027] The wiring module is configured to:
[0028] Determining, based on the wiring constraint information and the first attribute, a preset connection line indicated by the first attribute;
[0029] The preset connection line is used to connect ports with the same preset signal in the multiple devices.
[0030] In some embodiments, the attribute information further includes a second attribute, where the second attribute is used to indicate that different preset connection lines have different colors; and the wiring module is configured to:
[0031] Based on the second attribute, determining a target color corresponding to the preset connecting line;
[0032] The ports of the plurality of devices having the same preset signal are connected using the preset connection line of the target color.
[0033] In some embodiments, the preset signal is a PIN signal.
[0034] In some embodiments, the attribute information includes a third attribute, and the third attribute is used to indicate the width of the preset connection line; the wiring module is configured to:
[0035] Determining a target width of the preset connecting line based on the third attribute;
[0036] The ports having the same preset signal in the plurality of devices are connected using a preset connection line of the target width.
[0037] In some embodiments, the constraint information acquisition module is configured to extract the wiring constraint information from a circuit diagram and a constraint file of the circuit.
[0038] In some embodiments, the geometric constraints include design rule information, design parameters, topology, routing shielding, routing areas, and routing order of the plurality of devices;
[0039] The electrical constraints include differential signals, voltage signals, current signals, power signals and digital signals.
[0040] According to a third aspect of an embodiment of the present disclosure, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.
[0041] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0042] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0043] The method provided by the embodiment of the present disclosure first obtains wiring constraint information associated with the circuit, and then uses connecting lines to connect multiple devices in the circuit based on the wiring constraint information and the attribute information of the connecting lines, and the connecting lines are horizontal and / or vertical straight lines. This connection method, on the one hand, is not a direct diagonal connection, which avoids the interweaving of auxiliary lines and is convenient for users to view. On the other hand, the wiring constraint information and the attribute information of the connecting lines are taken into account when connecting the lines, so that the connecting lines meet the wiring constraints during subsequent actual wiring, thereby improving the degree of assistance to subsequent actual wiring.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0046] Figure 1 is a flow chart showing a wiring method according to an exemplary embodiment;
[0047] Figure 2 is a flow chart showing a wiring method according to an exemplary embodiment;
[0048] Figure 3 is a schematic diagram showing a wiring according to an exemplary embodiment;
[0049] Figure 4 is a schematic diagram showing a wiring according to an exemplary embodiment;
[0050] Figure 5 is a schematic diagram showing a wiring according to an exemplary embodiment;
[0051] Figure 6 is a block diagram of a wiring device according to an exemplary embodiment;
[0052] Figure 7 It is a block diagram of a computer device according to an exemplary embodiment. DETAILED DESCRIPTION
[0053] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0054] The method provided in the embodiment of the present disclosure is executed by a computer device, which may be a mobile phone, tablet computer, laptop computer, desktop computer, wearable device, or other device with chip design capabilities.
[0055] Figure 1 is a flowchart of a wiring method according to an exemplary embodiment, which is executed by a computer device. Figure 1 , the method comprises the following steps:
[0056] Step S101 : obtaining wiring constraint information associated with a circuit, wherein the circuit includes a plurality of components, and the wiring constraint information includes geometric constraints and electrical constraints of the plurality of components.
[0057] A circuit is any circuit that requires routing. Geometric constraints include design rule information, design parameters, topology, routing shielding, routing areas, and routing sequences for the multiple devices; electrical constraints include differential signals, voltage signals, current signals, power signals, and digital signals. Of course, geometric and electrical constraints may also include other constraint information, which is not limited in the present disclosure.
[0058] Step S102 : Based on the routing constraint information and the attribute information of the connection line, multiple devices are connected using connection lines. The connection lines are auxiliary lines indicating the physical connection directions between the multiple devices, and the connection lines are horizontal and / or vertical straight lines.
[0059] Among them, the connection line is an auxiliary line that indicates the direction of the physical connection between multiple devices, that is, the connection line is a flying line. The connection line is used to indicate the direction of the physical connection between multiple devices, but does not directly connect multiple devices. In addition, the connection line is a horizontal and / or vertical straight line, for example, the connection line is a horizontal line, a vertical line, or a broken line. For example, the connection line is a rectilinear fly line, which is a simplified version of the net routing and can be calculated by the router engine.
[0060] The attribute information of the connection line is used to indicate the position and display form of the connection line in the layout, and the layout is used to implement the above-mentioned circuit. The attribute information includes at least one of a first attribute, a second attribute, and a third attribute. The first attribute is used to indicate a preset connection line. The preset connection line is used to connect ports with the same preset signal in different devices. Different preset connection lines correspond to different preset signals. The preset signal can be a pin signal. Optionally, the first attribute can be called a netname attribute. The second attribute is a layer attribute. The layer attribute is used to indicate that different preset signals correspond to different colors. Since each preset connection line corresponds to the same preset signal, the second attribute is used to indicate that different preset connection lines have different colors. That is, each preset connection line displayed in the layout has its own color. For example, when two preset connection lines are displayed, the color of one preset connection line is red and the color of the other preset connection line is yellow. The third attribute is used to indicate the width of the preset connection line. Optionally, the third attribute can be called a width attribute.
[0061] The method provided by the embodiment of the present disclosure, on the one hand, does not directly connect with diagonal lines, avoids the interweaving of auxiliary lines, and is convenient for users to view; on the other hand, it takes into account the wiring constraint information and the attribute information of the connection line when connecting the lines, so that the connection line conforms to the wiring constraints during subsequent actual wiring, thereby improving the degree of assistance to subsequent actual wiring.
[0062] Figure 2 is a flowchart of a wiring method according to an exemplary embodiment, which is executed by a computer device. Figure 2 , the method comprises the following steps:
[0063] Step S201 : extracting wiring constraint information from a circuit diagram and a constraint file.
[0064] In some embodiments, routing constraint information is extracted from the circuit diagram and constraint file through the Router module.
[0065] It should be noted that, in the embodiments of the present disclosure, there is no limitation on the specific implementation method used when extracting wiring constraint information.
[0066] Step S202 : determining a preset connection line indicated by the first attribute based on the wiring constraint information and the first attribute.
[0067] When the attribute information includes a first attribute, since the first attribute indicates that ports with the same preset signal in different devices are to be connected, a preset connection line can be determined. This preset connection line is the connection line required to connect multiple devices in the layout. When determining the preset connection line, considering the routing constraint information can make the determined preset connection line closer to the actual routing, facilitating subsequent assistance in actual routing.
[0068] Step S203: Determine the target color corresponding to the preset connecting line based on the second attribute.
[0069] In the case where the attribute information further includes the second attribute, since the second attribute indicates that different preset connection lines have different colors, the target color corresponding to each preset connection line can be determined.
[0070] Optionally, the color corresponding to each preset signal can be pre-set, and then the target color corresponding to the preset connection line can be determined based on the preset signal corresponding to the preset connection line; or, the target color corresponding to each preset connection line can be randomly set, as long as the target colors corresponding to multiple preset connection lines are different in the end.
[0071] Step S204: determining a target width of the preset connecting line based on the third attribute.
[0072] In the case where the attribute information includes the third attribute, since the third attribute indicates the width of the preset connection line, the target width of each preset connection line can be determined.
[0073] It should be noted that the embodiment of the present disclosure only takes the example of executing step S203 first and then executing step S204. In another embodiment, step S204 can be executed first and then step S203, or steps S203 and S204 can be executed at the same time. The embodiment of the present disclosure does not limit the order of executing steps S203 and S204.
[0074] Step S205 , using a preset connection line of target width and target color to connect ports with the same preset signal in multiple devices.
[0075] In one example, see Figure 3 The schematic diagram of the wiring is shown. Figure 3 Four devices OBJ A, OBJ B, OBJ C and OBJ D are shown in FIG. OBJ A is connected to OBJ B, OBJ A is connected to OBJ C, and OBJ B is connected to OBJ D. Figure 3 It can be seen that when connecting, the preset connection line is a broken line, there is no diagonal line, and different preset connection lines have different colors ( Figure 3 The solid line, dotted line and dashed line in the figure represent different colors respectively). It should be noted that Figure 3 The solid line, dashed line, and dot-dash line are used as examples. In actual applications, the preset connection lines can all be solid lines, and different preset connection lines can have different colors.
[0076] In one example, see Figure 4 The schematic diagram of the wiring is shown. Figure 4 Seven devices G1, G2, G3, G4, G5, G6 and G7 are shown in FIG, wherein the six ports in G1 are connected to G2, G3, G4, G5, G6 and G7 respectively. Figure 4 It can be seen that when connecting, the preset connection line is a broken line, there is no diagonal line, and different preset connection lines have different colors ( Figure 4 The solid lines and various dotted lines in the figure represent different colors. It should be noted that Figure 4 The figure only takes solid lines and various dotted lines as examples. In actual applications, the preset connecting lines can all be solid lines, and different preset connecting lines can have different colors.
[0077] In one example, Figure 5 The schematic diagram of the wiring is shown. Figure 5 The preset connection lines C, D and E in the figure are a partial schematic diagram of the entire layout. Figure 5 It can be seen that each preset connection line is a hollow line, and each preset connection line has a certain width.
[0078] It should be noted that steps S203 and S204 are optional steps. In some embodiments, the second attribute may be considered but the third attribute is not considered, that is, step S203 is executed but step S204 is not executed. In this case, step S205 is replaced by executing the step of connecting the ports of multiple devices with the same preset signal using a preset connection line of the target color; alternatively, the third attribute may be considered but the second attribute is not considered, that is, step S204 is executed but step S203 is not executed. In this case, step S205 is replaced by executing the step of connecting the ports of multiple devices with the same preset signal using a preset connection line of the target width; alternatively, the second and third attributes are not considered, that is, steps S203 and S204 are not executed. In this case, step S205 is replaced by executing the step of connecting the ports of multiple devices with the same preset signal using a preset connection line.
[0079] The method provided by the embodiments of the present disclosure uses horizontal and / or vertical lines for wiring assistance, rather than direct diagonal connections, to avoid interlacing auxiliary lines. This is more in line with the user's actual wiring scenarios. Furthermore, since connecting lines have various properties, they provide guidance for planning the routing of connecting lines, helping to better assist users in wiring planning. Furthermore, when connecting lines, routing constraints and connecting line attributes are taken into account, ensuring that the connecting lines conform to the routing constraints of subsequent actual wiring, thereby improving the level of assistance for subsequent actual wiring.
[0080] Furthermore, due to the second attribute of the connecting lines, different connecting lines are colored differently. Different connecting lines can be clearly distinguished by color, which is more intuitive and helps users distinguish different connecting lines from a large number of connecting lines.
[0081] Figure 6 is a block diagram of a wiring device according to an exemplary embodiment, which is configured in a computer device. Figure 6 , the device comprises:
[0082] The constraint information acquisition module 601 is configured to acquire routing constraint information associated with a circuit, wherein the circuit includes a plurality of devices, and the routing constraint information includes geometric constraints and electrical constraints of the plurality of devices;
[0083] The routing module 602 is configured to connect multiple devices using connecting lines based on routing constraint information and connecting line attribute information. The connecting lines are auxiliary lines indicating the physical connection directions between multiple devices, and the connecting lines are horizontal and / or vertical straight lines.
[0084] In some embodiments, the attribute information includes a first attribute, the first attribute is used to indicate a preset connection line, the preset connection line is used to connect ports having the same preset signal in different devices, and different preset connection lines correspond to different preset signals;
[0085] The wiring module 602 is configured to:
[0086] Determining, based on the wiring constraint information and the first attribute, a preset connection line indicated by the first attribute;
[0087] Use preset connection cables to connect ports with the same preset signals in multiple devices.
[0088] In some embodiments, the attribute information further includes a second attribute, and the second attribute is used to indicate that different preset connection lines have different colors; the wiring module 602 is configured to:
[0089] Based on the second attribute, determining a target color corresponding to the preset connecting line;
[0090] Use preset cables of target colors to connect ports with the same preset signals in multiple devices.
[0091] In some embodiments, the preset signal is a pin signal.
[0092] In some embodiments, the attribute information includes a third attribute, and the third attribute is used to indicate the width of the preset connection line; the wiring module 602 is configured to:
[0093] Based on the third attribute, determining a target width of the preset connecting line;
[0094] Use preset connection lines of target width to connect ports with the same preset signal in multiple devices.
[0095] In some embodiments, the constraint information acquisition module 601 is configured to extract wiring constraint information from a circuit diagram and a constraint file of the circuit.
[0096] In some embodiments, the geometric constraints include design rule information, design parameters, topology, routing shielding, routing areas, and routing order for the plurality of devices;
[0097] Electrical constraints include differential signals, voltage signals, current signals, power signals, and digital signals.
[0098] Each module in the wiring device described above can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.
[0099] In an exemplary embodiment, a computer device is provided, including a processor and a memory, wherein the memory stores a computer program, and the processor implements the steps of any of the above wiring methods when executing the computer program.
[0100] In one exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-described wiring methods are implemented. The computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0101] In an exemplary embodiment, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above wiring methods are implemented.
[0102] refer to Figure 7, a block diagram of a computer device that can be used as the present disclosure will now be described. The computer device includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. Various programs and data required for the operation of the computer device 700 can also be stored in the RAM 703. The computing unit 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0103] Multiple components within computer device 700 are connected to I / O interface 705, including an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. Input unit 706 can be any type of device capable of inputting information into computer device 700. Input unit 706 can receive input numeric or character information and generate key signal input related to user settings and / or function control of computer device 700, and may include, but is not limited to, a mouse, keyboard, touch screen, trackpad, trackball, joystick, microphone, and / or remote control. Output unit 707 can be any type of device capable of presenting information, and may include, but is not limited to, a display, speakers, video / audio output terminals, vibrators, and / or printers. Storage unit 708 may include, but is not limited to, magnetic disks and optical disks. Communication unit 709 allows computer device 700 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver and / or chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0104] The computing unit 701 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as the wiring method. For example, in some embodiments, the wiring method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on the computer device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the wiring method described above can be performed. Alternatively, in other embodiments, the computing unit 701 can be configured to perform the wiring method in any other appropriate manner (e.g., by means of firmware).
[0105] The computer device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned wiring method.
[0106] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0107] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A wiring method, characterized in that: The method comprises: Acquire wiring constraint information associated with a circuit, wherein the circuit includes a plurality of devices, the wiring constraint information including geometric constraints and electrical constraints of the plurality of devices; Based on the routing constraint information and the attribute information of the connection line, the plurality of devices are connected using the connection line, where the connection line is an auxiliary line indicating a physical connection direction between the plurality of devices, and the connection line is a horizontal and / or vertical straight line; The attribute information further includes a second attribute, where the second attribute is used to indicate that different preset connection lines have different colors; and using the preset connection lines to connect ports having the same preset signal in the plurality of devices includes: Based on the second attribute, determining a target color corresponding to the preset connecting line; Using a preset connection line of the target color to connect ports having the same preset signal in the plurality of devices; The attribute information includes a third attribute, and the third attribute is used to indicate a width of the connection line; and the using the preset connection line to connect ports having the same preset signal in the plurality of devices includes: Determining a target width of the preset connecting line based on the third attribute; The ports having the same preset signal in the plurality of devices are connected using a preset connection line of the target width.
2. The method according to claim 1, characterized in that The attribute information includes a first attribute, where the first attribute is used to indicate a preset connection line, where the preset connection line is used to connect ports having the same preset signal in different devices, and different preset connection lines correspond to different preset signals; The connecting line is used to connect the plurality of devices based on the wiring constraint information and the attribute information of the connecting line, comprising: Determining, based on the wiring constraint information and the first attribute, a preset connection line indicated by the first attribute; The preset connection line is used to connect ports with the same preset signal in the multiple devices.
3. The method according to claim 2, characterized in that The preset signal is a PIN signal.
4. The method according to claim 1, wherein The obtaining of wiring constraint information associated with the circuit includes: The wiring constraint information is extracted from a circuit diagram and a constraint file of the circuit.
5. The method according to claim 1, wherein The geometric constraints include design rule information, design parameters, topology, routing shielding, routing area, and routing order of the plurality of devices; The electrical constraints include differential signals, voltage signals, current signals, power signals and digital signals.
6. A wiring device, characterized in that: The device comprises: a constraint information acquisition module configured to acquire routing constraint information associated with a circuit, wherein the circuit includes a plurality of devices, the routing constraint information including geometric constraints and electrical constraints of the plurality of devices; a routing module configured to connect the plurality of devices using the connecting lines based on the routing constraint information and attribute information of the connecting lines, wherein the connecting lines are auxiliary lines indicating directions of physical connections between the plurality of devices, and the connecting lines are horizontal and / or vertical straight lines; The attribute information further includes a second attribute, where the second attribute is used to indicate that different preset connection lines have different colors; and using the preset connection lines to connect ports having the same preset signal in the plurality of devices includes: Based on the second attribute, determining a target color corresponding to the preset connecting line; Using a preset connection line of the target color to connect ports having the same preset signal in the plurality of devices; The attribute information includes a third attribute, and the third attribute is used to indicate a width of the connection line; and the using the preset connection line to connect ports having the same preset signal in the plurality of devices includes: Determining a target width of the preset connecting line based on the third attribute; The ports having the same preset signal in the plurality of devices are connected using a preset connection line of the target width.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Printed circuit board design method and device
CN117252144A
Electrically aware routing for integrated circuits
US20220335200A1