CN111062181A - Method for telescopic editing arc in integrated circuit layout - Google Patents

Method for telescopic editing arc in integrated circuit layout Download PDF

Info

Publication number
CN111062181A
CN111062181A CN201911354641.6A CN201911354641A CN111062181A CN 111062181 A CN111062181 A CN 111062181A CN 201911354641 A CN201911354641 A CN 201911354641A CN 111062181 A CN111062181 A CN 111062181A
Authority
CN
China
Prior art keywords
arc
ellipse
editing
integrated circuit
circuit layout
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
CN201911354641.6A
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.)
Chengdu Jiuxin Micro Technology Co ltd
Original Assignee
Chengdu Jiuxin Micro Technology 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 Chengdu Jiuxin Micro Technology Co ltd filed Critical Chengdu Jiuxin Micro Technology Co ltd
Priority to CN201911354641.6A priority Critical patent/CN111062181A/en
Publication of CN111062181A publication Critical patent/CN111062181A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

A method for performing scaling editing on arcs in an integrated circuit layout comprises the following steps: 1) calculating an ellipse where the selected arc is located and marking and displaying reference points, wherein the reference points comprise a circle center of the ellipse, two intersection points of a long axis of the ellipse and the ellipse, two intersection points of a short axis of the ellipse and the ellipse, and a starting point and an ending point of the arc; 2) and performing telescopic editing operation on the arc, wherein the telescopic editing operation is translation operation or stretching operation or arc length changing operation. The design requirements of users on circular arcs or elliptical arcs with different sizes in the integrated circuit layout design are met, and the working efficiency and the design attractiveness of the users are improved.

Description

Method for telescopic editing arc in integrated circuit layout
Technical Field
The invention relates to the field of layout design in an EDA tool, in particular to a method for performing telescopic editing on an arc in an integrated circuit layout.
Background
In a schematic diagram (schema), a symbol (symbol) like a nand gate and the like, which needs to be represented by an Arc, needs to be drawn by a circular Arc pattern (Arc). In a layout (layout), due to the innovation and progress of panel technology in recent years, display screens of electronic products such as mobile phones and car navigators are not limited to be traditional rectangles any more, and novel panels such as rounded rectangles appear. Therefore, modification editing of the arc is often required. In the existing layout design, stretching an arc is the same as stretching other graphs, and only a corresponding central point is displayed after the arc is selected, so that the whole arc graph can be selected to be subjected to single horizontal or single vertical movement, the arc length and the height of a circle or an ellipse to which the arc belongs cannot be modified through stretching, and the created arc cannot be subjected to secondary editing, so that the arc or the arc and other graphs cannot be accurately spliced, and special design requirements cannot be met.
Disclosure of Invention
In order to solve the defects of the prior art, the invention aims to provide a method for performing telescopic editing on arcs in an integrated circuit layout, wherein the arcs in the layout are stretched, moved, shortened, changed in length and briefly expanded and annotated (Stretch Arc), so that the partial limitation of the prior art is broken through, the function of telescopic editing is optimized, and the method is more user-friendly.
In order to achieve the above object, the method for performing telescopic editing on arcs in an integrated circuit layout provided by the present invention comprises the following steps:
1) calculating an ellipse where the selected arc is located and marking and displaying reference points, wherein the reference points comprise a circle center of the ellipse, two intersection points of a long axis of the ellipse and the ellipse, two intersection points of a short axis of the ellipse and the ellipse, and a starting point and an ending point of the arc;
2) and performing telescopic editing operation on the arc, wherein the telescopic editing operation is translation operation or stretching operation or arc length changing operation.
Further, the step 2) includes obtaining a circumscribed rectangle of the ellipse to which the arc belongs, and obtaining a point set of the arc drawn in the circumscribed rectangle.
And further, when the second operation of the user is to move the circle center, performing the translation operation, and outputting all the points in the point set after converting the abscissa or the ordinate according to the height or the width of the circle center movement so as to realize the up-down or left-right movement of the arc.
Further, the translation operation further comprises the steps of:
calculating a translation variable according to the positions before and after the movement, and recording the angle information of the movement and the offset information of the center coordinates;
calculating a pointer pointing to the arc before movement;
moving the original arc by using a new pointer according to the angle information in the translation variable and the offset information of the center coordinate;
and destroying the original arc and the pointer pointing to the original arc.
Further, when the second operation of the user is to change the length of the major axis or the minor axis of the ellipse, a stretching operation is performed, including the steps of:
if the length of the long axis of the ellipse is changed, one end of the long axis is kept still, the other end of the long axis moves to increase the length of the long axis, and meanwhile, the length of the short axis is kept unchanged;
if the length of the minor axis of the ellipse is changed, one end of the minor axis is kept still, and the other end is moved to increase the length of the minor axis, and meanwhile, the length of the major axis is kept unchanged;
and obtaining a stretched arc, namely the arc between the starting point and the ending point after stretching is the stretched arc.
Further, when the second operation of the user is moving the end point, the operation of changing the arc length is performed, including the steps of:
keeping the circumscribed rectangle unchanged, keeping the starting point of the arc unchanged, calculating the coordinates of the end point after movement to obtain an end angle value, converting the end angle value into an arc value, updating the point set of the arc in the circumscribed rectangle, and obtaining the arc with the changed arc length.
Furthermore, the user does not need to accurately select the reference point when selecting the reference point, only needs to select any point on the arc to display the reference point, and the mouse can automatically adsorb and select the reference point by clicking near the reference point.
In order to achieve the above object, the present invention further provides an apparatus for performing scaling editing on arcs in an integrated circuit layout, including a memory and a processor, where the memory stores a program running on the processor, and the processor executes the steps of the method for performing scaling editing on arcs in an integrated circuit layout when running the program.
To achieve the above object, the present invention further provides a computer readable storage medium having stored thereon computer instructions, which when executed perform the steps of the method for performing scaling editing on arcs in an integrated circuit layout.
The technical effects are as follows: the invention aims to break through partial limitation of the prior art, the Arc-shaped telescopic editing (Stretcharc) function is more user-friendly, the Stretch Arc breaks through the limitation that the traditional stretching function can only move the whole graph for the Arc-shaped graph, the functions of modifying the length of the Arc and changing the width and height value of the Arc by dragging are added, and the Arc can be directly stretched to a precise position by using a point selected by a mouse.
Particularly, when the Stretch arc is selected, the three types of reference points are displayed by selecting the arc, so that the problems of difficult point selection and the like are solved, the design requirements of users on arcs or elliptical arcs with different sizes in the integrated circuit layout design are met, and the working efficiency and the design attractiveness of the users are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow diagram of a method for scalably editing arcs in an integrated circuit layout according to the present invention;
FIG. 2 is a diagram illustrating a Stretch Arc mouse after an Arc is selected, according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the center of a circle being selected moving upward according to an embodiment of the invention;
FIG. 4 is a schematic diagram illustrating the effect of selecting the moving center of the upper, lower, left and right points according to an embodiment of the present invention;
FIG. 5 is a schematic drawing of an arc drawn to the right according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the stretching effect at selected beginning and end points according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a flowchart of a method for performing telescopic editing on arcs in an integrated circuit layout according to the present invention, and the method for performing telescopic editing on arcs in an integrated circuit layout according to the present invention will be described in detail with reference to fig. 1.
In step 101, the ellipse in which the selected arc is located is acquired and the reference point is marked.
In this step, a Stretch Arc command is selected, and any point on the existing Arc is clicked, so that a complete schematic diagram of the ellipse or circle to which the Arc belongs can be displayed. FIG. 2 is a schematic diagram of the Stretch Arc mouse according to the embodiment of the present invention after selecting an Arc, as shown in FIG. 2, the ellipse where the Arc is drawn by a dotted line, and in this step, the reference point is actively marked. The reference points are divided into three categories, including seven points. The first type of reference point is the center of the ellipse where the circular arc is located, the second type of reference point is the points on the upper, lower, left and right sides of the center of the ellipse corresponding to the circular arc, and the third type of reference point is the starting/ending point of the circular arc.
For convenience of description, let the center of a circle be Q (p, Q), the vertex on the right side of the center of the circle be a (x, Q), and the vertex above the center of the circle be B (p, y), let AQ be a, BQ be B, where a is the half-length axis length of the ellipse and B is the half-length axis length of the ellipse, and if and only if a is B, the figure to which the target arc belongs is a circle.
At step 102, a Stretch operation is performed on the arc using the reference point.
In the step, according to the operation of the user on the reference point, performing Stretch operation on the arc, including translating the arc, stretching the arc, and changing the arc length.
(1) Translation arc
And if the circle center selected by the user is identified, performing operation of translating the circular arc.
The translation of the arc is achieved by moving the center of the arc. First, an circumscribed rectangle of an ellipse to which an arc belongs (i.e., a box whose width W is 2a and height H is 2b, which is an abstract data taken to maintain data compatibility and is not specifically displayed) is obtained, so that a point set of the drawn arc can be obtained, and then all points in the point set are transformed into an abscissa or an ordinate according to the height (H) or the width (W) of the center of the circle, and then output, so as to realize the up-down or left-right movement of the arc, as shown in fig. 3.
Specifically, when the center of a circle is moved, the variable (assumed as trans) recording the angle information of the movement and the offset (offset) information of the coordinates x and y and the pointer pointing to the original arc are obtained according to the positions before and after the movement, and the pointer can be used for some judgments, such as judging whether the graph is a geometric graph or not, moving the original graph according to the change information recorded in the trans by using a new pointer to obtain a new graph, and destroying the original arc correspondingly to the pointer pointing to the original arc.
(2) Stretching arc
The arc stretching operation is realized by changing the height and width of the original graph by using the second type of reference points, namely points on the upper side, the lower side, the left side and the right side of the circle center.
Taking the right vertex a (x, q) of the ellipse corresponding to the arc as an example, selecting a to stretch w distance to the right to obtain a '(x', q), where x 'is x + w, and at this time, the semi-major axis a' of the transformed ellipse is a + w, and the semi-minor axis b remains unchanged, as shown in fig. 4, the left vertex a2 of the ellipse remains fixed.
The circumscribed rectangle of the ellipse to which the transformed arc belongs is also changed, the width W ' is 2a + W, the height H ' is 2b, and the center of the transformed arc is Q ' (W '/2, H '/2). At this time, a circumscribed rectangle of the ellipse or circle to which the original arc belongs is obtained, thereby taking a point set of the original arc, and making a first point M and a last point N in the point set to be a start point and an end point of the arc, respectively, as shown in fig. 5.
The transformed M 'and N' can be calculated by the following formula, and the required parameters are replaced by the transformed parameters.
Specifically, the circle center Q (p, Q), the semimajor axis length a, and the semiminor axis length b are known.
1) When the left-right stretching is performed, only the abscissa is changed
Figure BDA0002335564140000051
To obtain
Figure BDA0002335564140000052
2) When the up-and-down stretching is performed, only the ordinate is changed, by
Figure BDA0002335564140000053
To obtain
Figure BDA0002335564140000054
Respectively calculating the angles of M ' and N ' relative to the center of a circle by using M ', N ' and Q ', wherein the angle of N ' is an included angle ∠ N ' Q ' A ' between N ' Q ' and the positive half shaft of the x, and the angle of M ' is a clockwise included angle between M ' Q ' and the positive half shaft of the x, namely 360- ∠ M ' Q ' A ', so as to obtain the angle of the center of the arc
Figure BDA0002335564140000055
The angle values are converted into arc values, wherein α is the size of the central angle corresponding to the arc, and l is the arc value of the central angle.
And updating the point set of the arcs in the box according to the arc value of the new arc, and drawing the new arc after Stretch.
(3) By varying the arc length
The operation of changing the arc length is to change the arc length of the original graph by changing the end point by using a third kind of reference point, namely the start/end point.
Specifically, the circumscribed rectangle of the original ellipse or circle is not changed, the starting point M of the arc is not changed, the end points N to N 'are moved and changed, as shown in fig. 6, the end angle is obtained from N', the end angle is converted into an arc value, the point set of the arc in the box is updated, and a new arc after Stretch is drawn.
Through the above description, it can be seen that the invention adds a new function of Stretch Arc, namely ① can change the width and height values of the original graph by selecting two corresponding reference points, ② can accurately and intuitively change the Arc length of the original Arc by using a mouse;
in addition, accurate selection is not needed when the Stretch reference point is selected, and only any point on the arc is selected, three types of reference points (a circle center, four mark points, an upper point, a lower point, a left point, a right point and two end points of the arc) can be actively displayed, and the point can be automatically adsorbed and selected by clicking the mouse nearby.
The Stretch Arc breaks through the limitation that the traditional stretching function can only move the whole Arc graph, adds two types of reference points, namely the starting end point of the Arc and the long and short axis vertexes of the ellipse to which the Arc belongs, increases the functions of modifying the length of the Arc and changing the width and height values of the Arc by dragging, can accurately position the Arc to a required coordinate position only through mouse operation, can automatically display the three types of reference points and realize the automatic adsorption of the mouse by clicking the Arc by the mouse, does not need to accurately select each point, meets the design requirements of users on arcs/elliptical arcs with different sizes in the integrated circuit layout design, and improves the working efficiency of the users and the attractiveness of the design.
The invention also provides a device for carrying out the method for carrying out the telescopic editing on the arcs in the integrated circuit layout, which comprises a memory and a processor, wherein the memory is stored with a program running on the processor, and the processor executes the steps of the method for carrying out the telescopic editing on the arcs in the integrated circuit layout when running the program.
The invention further provides a computer-readable storage medium, wherein computer instructions are stored thereon, and when the computer instructions are executed, the steps of the method for performing telescopic editing on the arcs in the integrated circuit layout are executed, and the method for performing telescopic editing on the arcs in the integrated circuit layout is described in the above sections and is not repeated.
Those of ordinary skill in the art will understand that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for performing telescopic editing on arcs in an integrated circuit layout is characterized by comprising the following steps:
1) calculating an ellipse where the selected arc is located and marking and displaying reference points, wherein the reference points comprise a circle center of the ellipse, two intersection points of a long axis of the ellipse and the ellipse, two intersection points of a short axis of the ellipse and the ellipse, and a starting point and an ending point of the arc;
2) and performing telescopic editing operation on the arc, wherein the telescopic editing operation is translation operation or stretching operation or arc length changing operation.
2. The method for performing telescopic editing on the arc in the integrated circuit layout as claimed in claim 1, wherein the step 2) comprises obtaining a circumscribed rectangle of the ellipse to which the arc belongs, and obtaining a point set of the arc drawn in the circumscribed rectangle.
3. The method for performing telescopic editing on the arc in the integrated circuit layout as claimed in claim 2, wherein when the second operation of the user is to move the center of a circle, the translation operation is performed, and the translation operation performs transformation of horizontal coordinates or vertical coordinates on all points in the point set according to the height or width of the movement of the center of a circle and then outputs the transformed points, so as to realize up-down or left-right movement of the arc.
4. A method for scalably editing arcs in an integrated circuit layout as recited in claim 3, wherein the panning operation further comprises the steps of:
calculating a translation variable according to the positions before and after the movement, and recording the angle information of the movement and the offset information of the center coordinates;
calculating a pointer pointing to the arc before movement;
moving the original arc by using a new pointer according to the angle information in the translation variable and the offset information of the center coordinate;
and destroying the original arc and the pointer pointing to the original arc.
5. A method for pinch editing of arcs in an integrated circuit layout as claimed in claim 2, wherein when the second operation of the user is to change the length of the major or minor axis of said ellipse, a stretching operation is performed, comprising the steps of:
if the length of the long axis of the ellipse is changed, one end of the long axis is kept still, the other end of the long axis moves to increase the length of the long axis, and meanwhile, the length of the short axis is kept unchanged;
if the length of the minor axis of the ellipse is changed, one end of the minor axis is kept still, and the other end is moved to increase the length of the minor axis, and meanwhile, the length of the major axis is kept unchanged;
and obtaining a stretched arc, namely the arc between the starting point and the ending point after stretching is the stretched arc.
6. The method for performing telescopic editing on arcs in an integrated circuit layout as claimed in claim 2, wherein when the second operation of the user is moving an end point, the operation of changing the arc length is performed, comprising the following steps:
keeping the circumscribed rectangle unchanged, keeping the starting point of the arc unchanged, calculating the coordinates of the end point after movement to obtain an end angle value, converting the end angle value into an arc value, updating the point set of the arc in the circumscribed rectangle, and obtaining the arc with the changed arc length.
7. The method for telescopic editing of arcs in an integrated circuit layout as claimed in any one of claims 1 to 6, wherein a user does not need to select the reference point precisely, only needs to select any point on the arc to display the reference point, and a mouse clicks near the reference point to automatically select the reference point in an adsorption manner.
8. An apparatus for scaling edits arcs in an integrated circuit layout, comprising a memory and a processor, wherein the memory stores a program running on the processor, and the processor executes the program to perform the steps of the method for scaling edits arcs in an integrated circuit layout according to any of claims 1 to 6.
9. A computer readable storage medium having stored thereon computer instructions, wherein said computer instructions when executed perform the steps of the method for scalably editing arcs in an integrated circuit layout as claimed in any one of claims 1-6.
CN201911354641.6A 2019-12-25 2019-12-25 Method for telescopic editing arc in integrated circuit layout Pending CN111062181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911354641.6A CN111062181A (en) 2019-12-25 2019-12-25 Method for telescopic editing arc in integrated circuit layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911354641.6A CN111062181A (en) 2019-12-25 2019-12-25 Method for telescopic editing arc in integrated circuit layout

Publications (1)

Publication Number Publication Date
CN111062181A true CN111062181A (en) 2020-04-24

Family

ID=70303647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911354641.6A Pending CN111062181A (en) 2019-12-25 2019-12-25 Method for telescopic editing arc in integrated circuit layout

Country Status (1)

Country Link
CN (1) CN111062181A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111680471A (en) * 2020-06-12 2020-09-18 深圳华大九天科技有限公司 Wiring chamfering method in integrated circuit layout
CN115146576A (en) * 2022-09-01 2022-10-04 合肥本源量子计算科技有限责任公司 Layout graph editing method, system, storage medium and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080204476A1 (en) * 2005-01-31 2008-08-28 Roland Wescott Montague Methods for combination tools that zoom, pan, rotate, draw, or manipulate during a drag
CN101625765A (en) * 2009-08-18 2010-01-13 上海可鲁系统软件有限公司 Method for drawing rotating elliptical arc
CN104765895A (en) * 2014-01-06 2015-07-08 北京华大九天软件有限公司 Automatic absorption method in layout editing
CN106373169A (en) * 2016-08-30 2017-02-01 广东成德电子科技股份有限公司 Parameter-driven printed circuit board bitmap duplication method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080204476A1 (en) * 2005-01-31 2008-08-28 Roland Wescott Montague Methods for combination tools that zoom, pan, rotate, draw, or manipulate during a drag
CN101625765A (en) * 2009-08-18 2010-01-13 上海可鲁系统软件有限公司 Method for drawing rotating elliptical arc
CN104765895A (en) * 2014-01-06 2015-07-08 北京华大九天软件有限公司 Automatic absorption method in layout editing
CN106373169A (en) * 2016-08-30 2017-02-01 广东成德电子科技股份有限公司 Parameter-driven printed circuit board bitmap duplication method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111680471A (en) * 2020-06-12 2020-09-18 深圳华大九天科技有限公司 Wiring chamfering method in integrated circuit layout
CN111680471B (en) * 2020-06-12 2022-06-17 深圳华大九天科技有限公司 Wiring chamfering method in integrated circuit layout
CN115146576A (en) * 2022-09-01 2022-10-04 合肥本源量子计算科技有限责任公司 Layout graph editing method, system, storage medium and device

Similar Documents

Publication Publication Date Title
JP5429060B2 (en) Display control apparatus, display control method, display control program, and recording medium on which this display control program is recorded
US9064082B2 (en) Updating pin locations in a graphical user interface of an electronic design automation tool
JP4028031B2 (en) Method for transforming curve of arbitrary shape link and method for maintaining topology of node link diagram
CN111062181A (en) Method for telescopic editing arc in integrated circuit layout
JPH03185496A (en) Display screen scrolling system
CN107273000B (en) Screen multi-resolution adaptation method of intelligent oscilloscope
AU2013222958A1 (en) Method and apparatus for object size adjustment on a screen
CN102436669A (en) Two-dimensional vector map drawing method
JP2008129036A (en) Method of displaying image on display screen
EP2434456A2 (en) Unified handle approach for moving and extruding objects in a 3-D editor
CN109086515B (en) Modeling method for primary equipment drawing information in SSD (solid State drive) of intelligent substation based on SVG (scalable vector graphics)
CN104820584B (en) Construction method and system of 3D gesture interface for hierarchical information natural control
CN111984151B (en) Whiteboard canvas size and position roaming control method for improving processing efficiency
JPH05108786A (en) Method and apparatus for transforming graphic form
US20120313870A1 (en) Information processing apparatus, program, and information processing method
CN101419714A (en) Interactive document typesetting method based on quick sketch
JP2014021933A (en) Projection device, and projection method
WO2016054859A1 (en) Electronic map hierarchical management method
CN109933323A (en) A kind of method and device that user interface is set
JP2005107871A (en) Image display method and device, program by the same method and recording medium with its program stored
US11132821B1 (en) Providing graphical user interface tools for efficiently selecting handles in vector artwork on touch-based devices
CN104238921A (en) Custom polygon drawing method and device
CN104517273A (en) Image super-resolution processing method and apparatus
JP4851487B2 (en) Display control method and program
JPH07244741A (en) Method and device for navigation display

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: 610200 Chengdu City, Sichuan Province, Chengdu City, the Galactic Road, No. 596 scientific research complex 13 floor

Applicant after: Chengdu Huada Jiutian Technology Co.,Ltd.

Address before: 610200 Chengdu City, Sichuan Province, Chengdu City, the Galactic Road, No. 596 scientific research complex 13 floor

Applicant before: CHENGDU JIUXIN MICRO TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200424