CN113849877A - Device and wire net moving method, device, equipment and storage medium - Google Patents

Device and wire net moving method, device, equipment and storage medium Download PDF

Info

Publication number
CN113849877A
CN113849877A CN202110971656.8A CN202110971656A CN113849877A CN 113849877 A CN113849877 A CN 113849877A CN 202110971656 A CN202110971656 A CN 202110971656A CN 113849877 A CN113849877 A CN 113849877A
Authority
CN
China
Prior art keywords
port
moved
information
net
ports
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110971656.8A
Other languages
Chinese (zh)
Inventor
程家贵
叶平平
朱小安
邵宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Core Semiconductor Co ltd
Original Assignee
Shenzhen Core Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Core Semiconductor Co ltd filed Critical Shenzhen Core Semiconductor Co ltd
Priority to CN202110971656.8A priority Critical patent/CN113849877A/en
Publication of CN113849877A publication Critical patent/CN113849877A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Architecture (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of EDA (electronic design automation) design, and discloses a device, a method, a device, equipment and a storage medium for moving a wire network. The method comprises the steps of obtaining port information of a device to be moved displayed in a preset graph drawing window, then determining port central point information of the device to be moved according to the port information, then determining a wire net range according to the port information and the port central point information, then obtaining all leads connected with a port of the device to be moved in the wire net range, and moving the device to be moved and all the leads. According to the method, when the device is selected, the device and the wire network are simultaneously selected, so that the device and the wire network can be simultaneously moved, and the device and the wire network can be simultaneously moved.

Description

Device and wire net moving method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of EDA (electronic design automation) design, in particular to a device, a method, a device, equipment and a storage medium for moving a wire network.
Background
In the process of circuit analysis, devices and nets which are completely scattered need to be arranged into circuits which are convenient to identify and read, the circuits comprise the devices, each device comprises ports with different numbers, the number of the nets led out is different according to the number of the ports, when the devices need to be moved, the devices can only be moved when the devices are selected, the nets cannot be moved simultaneously, when the devices are large and dense, the devices and the nets need to be selected simultaneously by each device, and the devices and the nets are inconvenient to move and easy to generate errors.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a device, a method, a device, equipment and a storage medium for moving a wire mesh, and aims to solve the technical problem that errors are easily caused when the device is moved because only the device can be moved when the device is selected and the wire mesh cannot be moved simultaneously in the prior art.
In order to achieve the above object, the present invention provides a device and a wire net moving method, including:
acquiring port information of a to-be-moved device displayed in a preset graph drawing window;
determining port central point information of the device to be moved according to the port information;
determining a net range according to the port information and the port central point information;
and acquiring all leads connected with the ports of the devices to be moved within the range of the wire mesh, and moving the devices to be moved and all the leads.
Optionally, the step of determining, according to the port information, port center point information of the device to be moved specifically includes:
determining the port number of the device to be moved in each direction according to the port information;
when the number of the ports is one, the port information is used as the port central point information of the device to be moved;
and when the number of the ports is multiple, determining the port central point information of the device to be moved according to the port information and the number of the ports.
Optionally, when the number of the ports is multiple, the step of determining the port center point information of the device to be moved according to the port information and the number of the ports specifically includes:
when the number of the ports is multiple, judging whether the ports are uniformly distributed or not;
when the ports are uniformly distributed, acquiring the central positions of the ports, and taking the position information of the central positions as the port central point information of the device to be moved;
and when the plurality of ports are not uniformly distributed, taking the information of each port as the information of the port center point of the device to be moved.
Optionally, the step of determining a net range according to the port information and the port central point information specifically includes:
determining the length of a wire network according to the port information;
determining the radius of the net according to the number of the ports and the length of the net;
and determining the range of the net according to the port center point information and the radius of the net.
Optionally, the step of determining the length of the net according to the port information specifically includes:
acquiring lead wire sets connected with all ports of the device to be moved according to the port information;
determining a lead length set of all leads in the lead set, and selecting the longest target lead length from the lead length set;
and determining the length of the wire mesh according to the target lead length.
Optionally, the step of determining a net radius according to the number of ports and the length of the net specifically includes:
when a plurality of ports are uniformly distributed, judging whether the number of the ports is an odd number;
when the port number is an odd number, calculating the target port number through a first preset formula, wherein the first preset formula is as follows:
Figure BDA0003224028400000021
in the formula, N is the number of ports, and N is the number of target ports;
when the port number is an even number, calculating the target port number by a second preset formula, wherein the second preset formula is as follows:
Figure BDA0003224028400000031
in the formula, N is the number of ports, and N is the number of target ports;
and determining the radius of the net according to the number of the target ports and the length of the net.
Optionally, before the step of obtaining the port information of the device to be moved displayed in the preset graph drawing window, the method further includes:
taking the device in the selected state in the graph drawing window as a device to be moved;
acquiring boundary position information of the device to be moved, and determining a display frame of the device to be moved according to the boundary position information;
and taking the intersection point of the device to be moved and the display frame as a port of the device to be moved.
In addition, in order to achieve the above object, the present invention further provides a device and a wire net moving apparatus, including:
the information acquisition module is used for acquiring port information of the to-be-moved device displayed in the preset graph drawing window;
the information determining module is used for determining port central point information of the device to be moved according to the port information;
the range determining module is used for determining the range of the wire network according to the port information and the port central point information;
and the device and wire mesh moving module is used for acquiring all leads connected with the port of the device to be moved within the wire mesh range and moving the device to be moved and all the leads.
In addition, in order to achieve the above object, the present invention further provides a device and a wire mesh moving apparatus, including: a memory, a processor, and a device and net moving program stored on the memory and executable on the processor, the device and net moving program configured to implement the steps of the device and net moving method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a device and net moving program stored thereon, wherein the device and net moving program, when executed by a processor, implement the steps of the device and net moving method as described above.
The method comprises the steps of obtaining port information of a device to be moved displayed in a preset graph drawing window, then determining port central point information of the device to be moved according to the port information, then determining a wire net range according to the port information and the port central point information, then obtaining all leads connected with a port of the device to be moved in the wire net range, and moving the device to be moved and all the leads. According to the method, when the device is selected, the device and the wire network are simultaneously selected, so that the device and the wire network can be simultaneously moved, and the device and the wire network can be simultaneously moved.
Drawings
Fig. 1 is a schematic structural diagram of a device and a wire network mobile device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating a first embodiment of a device and a method for moving a net according to the present invention;
FIG. 3 is a schematic diagram of a device and a port of a device to be moved according to the present invention;
FIG. 4 is a schematic flow chart diagram illustrating a second embodiment of a device and a method for net movement according to the present invention;
FIG. 5 is a schematic flow chart diagram illustrating a third embodiment of a device and a method for net movement according to the present invention;
FIG. 6 is a schematic diagram of a net range for the device and net movement method of the present invention;
FIG. 7 is a block diagram of a first embodiment of a device and net shifting apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a device and a wire network mobile device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the device and net moving apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of devices and wire mesh mobile devices, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include an operating system, a network communication module, a user interface module, and a device and net movement program.
In the device and the wire network mobile apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the device and net moving apparatus of the present invention may be disposed in the device and net moving apparatus, and the device and net moving apparatus calls the device and net moving program stored in the memory 1005 through the processor 1001 and executes the device and net moving method provided by the embodiment of the present invention.
An embodiment of the present invention provides a device and a method for moving a net, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the device and the method for moving the net according to the present invention.
In this embodiment, the device and net moving method includes the following steps:
step S10: acquiring port information of a to-be-moved device displayed in a preset graph drawing window;
it should be noted that the execution main body of this embodiment may be the device and the network mobile device having the network communication and program running functions, or may be other devices capable of implementing the same or similar functions, which is not limited in this embodiment.
It should be understood that the preset graphic drawing window refers to a window for drawing graphics and simulating devices in Cadence Virtuoso software, and the Cadence Virtuoso drawing window is a design which must develop optimal performance at a transistor level based on Cadence Virtuoso unified customization/simulation process support, and comprises a simulation and Radio Frequency (RF) circuit, a high-performance digital module and a graphic drawing window used as a standard cell library for constructing digital Integrated Circuits (ICs).
It can be understood that the port information refers to coordinate information and direction information corresponding to all ports on the device to be moved, and the direction information refers to a direction in which the ports of the device to be moved are located relative to the device to be moved, for example: upper end, lower extreme, left end, right-hand member.
Further, in order to determine the port of the device to be moved, the step S10 may further include: taking the device in the selected state in the graph drawing window as a device to be moved; acquiring boundary position information of the device to be moved, and determining a display frame of the device to be moved according to the boundary position information;
and taking the intersection point of the device to be moved and the display frame as a port of the device to be moved.
In a specific implementation, a designer may select a device to be moved, and this embodiment uses the device as a device to be moved, and may select the device through a mouse or a keyboard, which is not specifically limited in this embodiment.
It should be understood that the boundary position information refers to positions of all pins of the device to be processed, the display frame of the device to be moved refers to a frame surrounding all the pins, the display frame can be obtained by connecting all the pins, and then an intersection point of the device to be moved and the display frame is a port of the device to be moved.
Further, referring to fig. 3, fig. 3 is a schematic diagram of a device and a port of a device to be moved according to the method for moving a net of the present invention.
As shown in fig. 3, the middle device is a device to be moved, the quadrangle is a display frame of the device to be moved, and the small quadrangle is a port of the device to be moved.
Step S20: determining port central point information of the device to be moved according to the port information;
it should be noted that the port center point information refers to coordinate information and direction information corresponding to a port center point on the device to be moved, and as long as a port exists in a certain direction, the port center point exists in the direction.
Step S30: determining a net range according to the port information and the port central point information;
it is understood that the range of the net refers to the range of the leads corresponding to all ports of the device to be moved, i.e., the range of the net includes all the leads of the device to be moved.
Step S40: and acquiring all leads connected with the ports of the devices to be moved within the range of the wire mesh, and moving the devices to be moved and all the leads.
In a specific implementation, after a wire mesh range is obtained, all leads connected with a port of a device to be moved in the wire mesh range can be obtained, and after all leads are obtained, when the device to be moved is selected, the device and the wire mesh can be moved simultaneously.
According to the method and the device, the port information of the to-be-moved device displayed in the preset graph drawing window is obtained, the port central point information of the to-be-moved device is determined according to the port information, the wire mesh range is determined according to the port information and the port central point information, all leads connected with the port of the to-be-moved device in the wire mesh range are obtained, and the to-be-moved device and all leads are moved. According to the method, when the device is selected, the device and the wire network are simultaneously selected, so that the device and the wire network can be simultaneously moved, and the device and the wire network can be simultaneously moved.
Referring to FIG. 4, FIG. 4 is a flow chart illustrating a device and a method for net shifting according to a second embodiment of the present invention.
Based on the first embodiment described above, in the present embodiment, the step S20 includes:
step S201: determining the port number of the device to be moved in each direction according to the port information;
the number of ports refers to the number of ports, for example: as can be seen from fig. 3, the number of ports on the left side of the to-be-moved device is 3, the number of ports on the upper side of the to-be-moved device is 1, the number of ports on the lower side of the to-be-moved device is 1, and the number of ports on the right side of the to-be-moved device is 1, which is also obtained for the number of ports of other to-be-processed devices.
Step S202: when the number of the ports is one, the port information is used as the port central point information of the device to be moved;
in a specific implementation, when the number of ports is one, it is described that there is only one port in the direction, for example, the upper side, the lower side, and the right side in fig. 3, and the port center point information in the direction is the port information.
Step S203: and when the number of the ports is multiple, determining the port central point information of the device to be moved according to the port information and the number of the ports.
Further, in order to accurately determine the port center point information, the step S203 includes: when the number of the ports is multiple, judging whether the ports are uniformly distributed or not; when the ports are uniformly distributed, acquiring the central positions of the ports, and taking the position information of the central positions as the port central point information of the device to be moved; and when the plurality of ports are not uniformly distributed, taking the information of each port as the information of the port center point of the device to be moved.
It can be understood that, when there are multiple ports in the device to be processed, it is first determined whether the multiple ports are uniformly distributed, and obviously, the multiple ports on the left side of the device to be moved in fig. 3 are uniformly distributed, so that the center position can be obtained, and the centers of all the ports are the center position.
In a specific implementation, if the plurality of ports are not evenly distributed, each port is required to be a port center point.
The embodiment determines the port central point information of the device to be moved by judging whether the plurality of ports are uniformly distributed, directly acquires the central points of all the ports when the distribution is uniform, and obtains the plurality of central points when the distribution is nonuniform, so that the port central point information is more accurate.
The embodiment determines the port number of the device to be moved in each direction according to the port information, takes the port information as the port center point information of the device to be moved when the port number is one, and determines the port center point information of the device to be moved according to the port information and the port number when the port number is multiple. In this embodiment, by determining whether the number of the ports is one or more, when only one port is provided, the port is used as a port center point, and when a plurality of ports are provided, the port center point information can be accurately obtained according to the distribution state of the plurality of ports through specific analysis, so that the range of the wire network can be accurately determined.
Referring to FIG. 5, FIG. 5 is a flow chart illustrating a third embodiment of a device and a method for net movement according to the present invention.
Based on the above embodiments, in the present embodiment, the step S30 includes:
step S301: determining the length of a wire network according to the port information;
further, in order to determine the net length, the step S301 includes: acquiring lead wire sets connected with all ports of the device to be moved according to the port information; determining a lead length set of all leads in the lead set, and selecting the longest target lead length from the lead length set; and determining the length of the wire mesh according to the target lead length.
It will be appreciated that each port may have leads connected thereto, and that there may be different lead lengths for each lead, so that the longest target lead length is selected in order to achieve a more comprehensive result.
In a specific implementation, the target lead length may be equal to or less than the net length, which is not limited in this embodiment.
In the embodiment, the result of the wire mesh length can be more accurate by selecting the longest target lead length and determining the wire mesh length according to the target lead length, so that the wire mesh range can be accurately determined.
Step S302: determining the radius of the net according to the number of the ports and the length of the net;
it will be appreciated that in this embodiment, the net radius is the sum of the number of ports and the net length, for example: in fig. 3, the length of the wire mesh is set to be 2, the number of ports on the upper side of the device to be processed is 1, and the radius of the wire mesh is 1+2 to 3; the number of ports on the lower side of the device to be processed is 1, and the radius of the wire mesh is 1+ 2-3; if the number of ports on the right side of the device to be processed is 1, the wire mesh radius is 1+2 to 3.
Further, in order to determine the net radius when the number of ports is multiple, the step S302 includes: when a plurality of ports are uniformly distributed, judging whether the number of the ports is an odd number; when the port number is an odd number, calculating the target port number through a first preset formula, wherein the first preset formula is as follows:
Figure BDA0003224028400000091
in the formula, N is the number of ports, and N is the number of target ports;
in a specific implementation, when the port number is odd, the target port number needs to be calculated by a first preset formula, for example: when the port number is 7, the target port number is 4.
When the port number is an even number, calculating the target port number by a second preset formula, wherein the second preset formula is as follows:
Figure BDA0003224028400000092
in the formula, N is the number of ports, and N is the number of target ports;
it can be understood that, as can be seen from fig. 3, the number of ports on the left side of the device to be processed is 6, so the number of ports is even, and therefore, the target number of ports is 3 calculated by the second preset formula.
In this embodiment, the number of the target ports is calculated by different preset formulas by judging whether the number of the ports is an odd number or an even number, so that the number of the target ports is an integer, and the range of the net can be accurately determined.
And determining the radius of the net according to the number of the target ports and the length of the net.
It should be understood that, in the present embodiment, when there are multiple ports, the net radius is also the sum of the net radius and the number of destination ports, and in fig. 3, the net length is set to be 2 and the number of destination ports is 3+2 to 5.
Step S303: and determining the range of the net according to the port center point information and the radius of the net.
It will be appreciated that the extent of the net includes all the port pins.
In a specific implementation, the net range is a circle drawn by taking the port center point as the center and the net radius as the radius, referring to fig. 6, fig. 6 is a schematic diagram of the net range of the device and the net moving method of the present invention, as shown in fig. 6, each circle represents the net range in each direction, and since the net radii on the upper side, the lower side, and the right side of the device to be processed are the same, the circle size is also the same.
In a specific implementation, after a wire mesh range is obtained, all leads connected with a port of a device to be moved in the wire mesh range can be obtained, and after all leads are obtained, when the device to be moved is selected, the device and the wire mesh can be moved simultaneously.
In this embodiment, the net length is determined according to the port information, then the net radius is determined according to the port number and the net length, and then the net range is determined according to the port center point information and the net radius. The embodiment determines the wire mesh radius according to the number of the ports and the length of the wire mesh, and can more accurately obtain the wire mesh radius when the number of the ports is multiple, so that the range of the wire mesh can be accurately determined, all the leads in the range of the wire mesh can be obtained, all the leads connected with the ports can be accurately obtained, and the device to be moved and all the leads can be moved simultaneously.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a device and a net moving program, and the device and the net moving program, when executed by a processor, implement the steps of the device and the net moving method described above.
Referring to fig. 7, fig. 7 is a block diagram of a first embodiment of a device and net shifting apparatus according to the present invention.
As shown in fig. 7, the device and net moving apparatus according to the embodiment of the present invention includes:
an information obtaining module 701, configured to obtain port information of a device to be moved shown in a preset graph drawing window;
an information determining module 702, configured to determine, according to the port information, port center point information of the device to be moved;
a range determining module 703, configured to determine a net range according to the port information and the port center point information;
a device and wire net moving module 704, configured to obtain all the leads connected to the port of the device to be moved within the wire net range, and move the device to be moved and all the leads.
According to the method and the device, the port information of the to-be-moved device displayed in the preset graph drawing window is obtained, the port central point information of the to-be-moved device is determined according to the port information, the wire mesh range is determined according to the port information and the port central point information, all leads connected with the port of the to-be-moved device in the wire mesh range are obtained, and the to-be-moved device and all leads are moved. According to the method, when the device is selected, the device and the wire network are simultaneously selected, so that the device and the wire network can be simultaneously moved, and the device and the wire network can be simultaneously moved.
Based on the first embodiment of the device and the wire net moving device of the present invention, a second embodiment of the device and the wire net moving device of the present invention is provided.
In this embodiment, the information determining module 702 is further configured to determine, according to the port information, the number of ports of the device to be moved in each direction; when the number of the ports is one, the port information is used as the port central point information of the device to be moved; and when the number of the ports is multiple, determining the port central point information of the device to be moved according to the port information and the number of the ports.
Further, the information determining module 702 is further configured to determine whether the plurality of ports are uniformly distributed when the number of the ports is multiple; when the ports are uniformly distributed, acquiring the central positions of the ports, and taking the position information of the central positions as the port central point information of the device to be moved; and when the plurality of ports are not uniformly distributed, taking the information of each port as the information of the port center point of the device to be moved.
Further, the range determining module 703 is further configured to determine a net length according to the port information; determining the radius of the net according to the number of the ports and the length of the net; and determining the range of the net according to the port center point information and the radius of the net.
Further, the range determining module 703 is further configured to obtain, according to the port information, a lead set connected to all ports of the device to be moved; determining a lead length set of all leads in the lead set, and selecting the longest target lead length from the lead length set; and determining the length of the wire mesh according to the target lead length.
Further, the range determining module 703 is further configured to determine whether the number of the ports is an odd number when the plurality of ports are uniformly distributed;
when the port number is an odd number, calculating the target port number through a first preset formula, wherein the first preset formula is as follows:
Figure BDA0003224028400000111
wherein N is the number of portsN is the number of target ports; when the port number is an even number, calculating the target port number by a second preset formula, wherein the second preset formula is as follows:
Figure BDA0003224028400000112
in the formula, N is the number of ports, and N is the number of target ports; and determining the radius of the net according to the number of the target ports and the length of the net.
Further, the device and net moving apparatus further comprises: a port obtaining module 705, where the port obtaining module 705 is configured to use a device in the selected state in the graph drawing window as a device to be moved; acquiring boundary position information of the device to be moved, and determining a display frame of the device to be moved according to the boundary position information; and taking the intersection point of the device to be moved and the display frame as a port of the device to be moved.
Other embodiments or specific implementations of the device and the wire mesh moving apparatus of the present invention can refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A device and a wire net moving method are characterized by comprising the following steps:
acquiring port information of a to-be-moved device displayed in a preset graph drawing window;
determining port central point information of the device to be moved according to the port information;
determining a net range according to the port information and the port central point information;
and acquiring all leads connected with the ports of the devices to be moved within the range of the wire mesh, and moving the devices to be moved and all the leads.
2. The device and net moving method according to claim 1, wherein the step of determining the port center point information of the device to be moved according to the port information specifically comprises:
determining the port number of the device to be moved in each direction according to the port information;
when the number of the ports is one, the port information is used as the port central point information of the device to be moved;
and when the number of the ports is multiple, determining the port central point information of the device to be moved according to the port information and the number of the ports.
3. The device and net moving method according to claim 2, wherein the step of determining the port center point information of the device to be moved according to the port information and the port number when the port number is multiple comprises:
when the number of the ports is multiple, judging whether the ports are uniformly distributed or not;
when the ports are uniformly distributed, acquiring the central positions of the ports, and taking the position information of the central positions as the port central point information of the device to be moved;
and when the plurality of ports are not uniformly distributed, taking the information of each port as the information of the port center point of the device to be moved.
4. The device and net moving method of claim 2, wherein the step of determining net range based on the port information and the port centroid information comprises:
determining the length of a wire network according to the port information;
determining the radius of the net according to the number of the ports and the length of the net;
and determining the range of the net according to the port center point information and the radius of the net.
5. The device and net moving method of claim 4, wherein the step of determining net length based on the port information comprises:
acquiring lead wire sets connected with all ports of the device to be moved according to the port information;
determining a lead length set of all leads in the lead set, and selecting the longest target lead length from the lead length set;
and determining the length of the wire mesh according to the target lead length.
6. The device and net moving method of claim 4, wherein the step of determining net radius based on the number of ports and the net length comprises:
when a plurality of ports are uniformly distributed, judging whether the number of the ports is an odd number;
when the port number is an odd number, calculating the target port number through a first preset formula, wherein the first preset formula is as follows:
Figure FDA0003224028390000021
in the formula, N is the number of ports, and N is the number of target ports;
when the port number is an even number, calculating the target port number by a second preset formula, wherein the second preset formula is as follows:
Figure FDA0003224028390000022
in the formula, N is the number of ports, and N is the number of target ports;
and determining the radius of the net according to the number of the target ports and the length of the net.
7. The device and net moving method according to claim 1, wherein the step of obtaining the port information of the device to be moved shown in the predetermined drawing window further comprises:
taking the device in the selected state in the graph drawing window as a device to be moved;
acquiring boundary position information of the device to be moved, and determining a display frame of the device to be moved according to the boundary position information;
and taking the intersection point of the device to be moved and the display frame as a port of the device to be moved.
8. A device and wire mesh moving apparatus, comprising:
the information acquisition module is used for acquiring port information of the to-be-moved device displayed in the preset graph drawing window;
the information determining module is used for determining port central point information of the device to be moved according to the port information;
the range determining module is used for determining the range of the wire network according to the port information and the port central point information;
and the device and wire mesh moving module is used for acquiring all leads connected with the port of the device to be moved within the wire mesh range and moving the device to be moved and all the leads.
9. A device and wire mesh mobile apparatus, comprising: memory, processor, and device and net movement program stored on the memory and executable on the processor, the device and net movement program configured to implement the steps of the device and net movement method of any of claims 1-7.
10. A storage medium having stored thereon a device and net movement program, which when executed by a processor performs the steps of the device and net movement method of any of claims 1-7.
CN202110971656.8A 2021-08-23 2021-08-23 Device and wire net moving method, device, equipment and storage medium Pending CN113849877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110971656.8A CN113849877A (en) 2021-08-23 2021-08-23 Device and wire net moving method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110971656.8A CN113849877A (en) 2021-08-23 2021-08-23 Device and wire net moving method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113849877A true CN113849877A (en) 2021-12-28

Family

ID=78975973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110971656.8A Pending CN113849877A (en) 2021-08-23 2021-08-23 Device and wire net moving method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113849877A (en)

Similar Documents

Publication Publication Date Title
US20120324400A1 (en) Rotation Of Multi-Workspace Environment Containing Tiles
CN109753641B (en) Method and device for changing object position, electronic equipment and storage medium
EP3816811A1 (en) Eda pad package library updating/application method and system, medium and terminal
CN103473044A (en) Drawing method for application program interface adaptive to mobile terminals with different resolutions
CN104794116A (en) Layout method and device for elements in page
CN110377342B (en) Video memory processing method and device based on convolutional neural network and storage medium
CN107506483A (en) Page loading method, device, electronic equipment and storage medium
CN104834759A (en) Realization method and device for electronic design
CN113449485B (en) Lead generation method, device, equipment and storage medium
CN113849877A (en) Device and wire net moving method, device, equipment and storage medium
CN109582269B (en) Physical splicing screen display method and device and terminal equipment
CN116306486A (en) Method for checking design rule of chip design and related equipment
CN105335118B (en) The display methods and device of a kind of electronic equipment control
CN117540668A (en) Simulation method and device for digital circuit
CN113515915B (en) Method, device, equipment and storage medium for inserting filling unit
CN113419485A (en) Positioning and punching method, equipment, storage medium and device
CN113703653A (en) Image processing method, device, equipment and computer readable storage medium
CN113961296A (en) Page element layout method and device, readable medium and electronic equipment
CN108846883B (en) Quick drawing method and system for fractal graph, user equipment and storage medium
CN112711457A (en) Method and device for field drawing and electronic equipment
US11709986B2 (en) Boundary cell
US20230315968A1 (en) Boundary cell
CN109408365A (en) Secondary page test method, device, storage medium and computer equipment
JP7089174B2 (en) Simultaneous equation processing device, simultaneous equation processing method and simultaneous equation processing program
US20220146927A1 (en) Tag coordinate determination method and apparatus, computer-readable medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 803, block a, sharing building, No. 78, Keyuan North Road, songpingshan community, Xili street, Nanshan District, Shenzhen, Guangdong (actual floor 903)

Applicant after: Shenzhen Core Semiconductor Co.,Ltd.

Address before: 518000 room 513, floor 5, jinhuiqiu building, Langshan Second Road, North District, Shenzhen Science Park, Xili street, Nanshan District, Shenzhen, Guangdong

Applicant before: Shenzhen Core Semiconductor Co.,Ltd.