Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CN101751482A - Method for checking trace of circuit layout - Google Patents
[go: Go Back, main page]

CN101751482A - Method for checking trace of circuit layout - Google Patents

Method for checking trace of circuit layout Download PDF

Info

Publication number
CN101751482A
CN101751482A CN200810179698A CN200810179698A CN101751482A CN 101751482 A CN101751482 A CN 101751482A CN 200810179698 A CN200810179698 A CN 200810179698A CN 200810179698 A CN200810179698 A CN 200810179698A CN 101751482 A CN101751482 A CN 101751482A
Authority
CN
China
Prior art keywords
line
end points
layout
equal
trace
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.)
Granted
Application number
CN200810179698A
Other languages
Chinese (zh)
Other versions
CN101751482B (en
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.)
Fucheng International Machinery Co ltd
Jiangxi Union Speed Technology Co ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2008101796982A priority Critical patent/CN101751482B/en
Publication of CN101751482A publication Critical patent/CN101751482A/en
Application granted granted Critical
Publication of CN101751482B publication Critical patent/CN101751482B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a trace inspection method for circuit layout. In the layout, a layout trace is selected as an inspection trace, wherein the layout trace has a plurality of line segments. And selecting a first line segment and a second line segment in the line segments as a first comparison line and a second comparison line respectively along a layout trace, wherein the first line segment is provided with a first end point and a second end point, the second line segment is provided with a third end point and a fourth end point, and the second end point and the third end point are connected to form a common end point. And judging whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees or not according to the coordinate positions of the first end point, the fourth end point and the common end point so as to generate a judgment result. If the judgment result is yes, a prompt message is generated.

Description

电路布局的线迹检查方法 Trace Inspection Method of Circuit Layout

技术领域technical field

本发明是有关于一种电路布局的线迹检查方法,且特别是有关于一种于电路布局中找出具有直角或锐角的布局线迹的检查方法。The present invention relates to a method for inspecting traces of a circuit layout, and in particular relates to an inspection method for finding layout traces with right angles or acute angles in a circuit layout.

背景技术Background technique

在完成电路布局后,通常要进行各种检查。线迹(Trace)检查便是诸多检查项目当中的其中一项。由于布局工程师在进行电路布局的过程中,往往会一不小心就留下具有直角(两线段之间的夹角呈现90度)或锐角(两线段之间的夹角小于90度)的线迹。而这些具有直角或锐角的线迹,很有可能在实体印刷电路板运作时,产生尖端放电的效应。After completing the circuit layout, various checks are usually performed. Trace inspection is one of many inspection items. Because layout engineers often accidentally leave traces with right angles (the angle between two line segments is 90 degrees) or acute angles (the angle between two line segments is less than 90 degrees) in the process of circuit layout . These right-angled or acute-angled traces are likely to produce a tip discharge effect when the physical printed circuit board is in operation.

一般来说,检查具有直角或锐角的线迹,往往必须由布局工程师以人工方式,一条线迹一条线迹的进行检查。当检查到某一条线迹后,再由人工判断方式此线迹是否为具有直角或锐角的线迹。然而,一般产品的电路布局中所使用的线迹,数量少则数十条,多则达到上千条。如此以人工方式一条线迹一条线迹的检查,将会非常的耗时。并且,由于以人工的方式进行检查,也常常因为人为疏失而有错误情形发生。Generally speaking, to check traces with right angles or acute angles, layout engineers often have to manually check one trace by one trace. When a certain stitch is detected, it is manually judged whether the stitch is a right-angled or acute-angled stitch. However, the number of traces used in the circuit layout of general products ranges from dozens to thousands. It will be very time-consuming to manually check each stitch by stitch. Moreover, due to manual inspection, errors often occur due to human negligence.

发明内容Contents of the invention

本发明提供一种电路布局的线迹检查方法,藉此可以快速地检测出具有直角或锐角的布局线迹,以便于让布局工程师进行修正,进而避免尖端放电的现象。The invention provides a method for inspecting traces of a circuit layout, whereby layout traces with right angles or acute angles can be quickly detected, so that layout engineers can make corrections, thereby avoiding the phenomenon of tip discharge.

本发明提出一种电路布局的线迹检查方法。此方法包括下列步骤。首先,于布局图中,选取布局线迹作为检查线迹,其中此布局线迹具有多条线段。之后,沿着该检查线迹,选择上述线段中的第一线段与第二线段分别作为第一比较线与第二比较线,其中第一线段具有第一端点与第二端点,第二线段具有第三端点与第四端点,且上述第二端点与上述第三端点连接成共同端点。接着,依据第一端点、第二端点以及共同端点的坐标位置,判断第一比较线与第二比较线之间的夹角是否小于等于90度,以产生判断结果。若判断结果为是,则产生提示讯息。The invention provides a method for inspecting traces of circuit layout. This method includes the following steps. First, in the layout diagram, a layout trace is selected as a check trace, wherein the layout trace has multiple line segments. Afterwards, along the inspection trace, select the first line segment and the second line segment among the above-mentioned line segments as the first comparison line and the second comparison line respectively, wherein the first line segment has a first end point and a second end point, and the first line segment has a first end point and a second end point, and the first line segment The two line segments have a third end point and a fourth end point, and the second end point and the third end point are connected to form a common end point. Next, according to the coordinate positions of the first end point, the second end point and the common end point, it is judged whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees, so as to generate a judgment result. If the judgment result is yes, a prompt message will be generated.

在本发明一实施例中,上述产生提示讯息是以高亮度标示出布局线迹。In an embodiment of the present invention, the prompt message is generated by highlighting the layout traces.

在本发明一实施例中,上述产生提示讯息的步骤包括将布局线迹加入清单中,并且显示此清单。In an embodiment of the present invention, the above-mentioned step of generating the prompt message includes adding layout traces into a list, and displaying the list.

在本发明一实施例中,上述线迹检查方法更包括当判断结果为否时,选择第二线段与第三线段分别作为第一比较线与第二比较线,其中该第二线段与该第三线段具有一共同端点。In an embodiment of the present invention, the above stitch inspection method further includes selecting the second line segment and the third line segment as the first comparison line and the second comparison line respectively when the judgment result is negative, wherein the second line segment and the first line segment The three line segments have a common endpoint.

在本发明一实施例中,上述线迹检查方法更包括判断所有布局线迹是否检查完毕。之后,当判断所有布局线迹尚未检查完毕时,于布局图中选取新布局线迹。接着,将新布局线迹作为检查线迹。In an embodiment of the present invention, the above stitch inspection method further includes determining whether all layout traces have been inspected. Afterwards, when it is judged that all layout traces have not been checked, a new layout trace is selected in the layout diagram. Next, use the new layout stitch as a check stitch.

在本发明一实施例中,上述判断第一比较线与第二比较线之间的夹角是否小于等于90度的步骤包括下列步骤。首先,利用第一端点、第四端点与共同端点的坐标位置,判断第一比较线与第二比较线其中之一是否为水平线。当第一比较线为水平线,且共同端点位于第一端点的右方时,若共同端点的X轴坐标大于等于第四端点的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。而当第二比较线为水平线,且共同端点位于第四端点的右方时,若共同端点的X轴坐标大于等于第一端点的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。In an embodiment of the present invention, the step of judging whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees includes the following steps. Firstly, by using the coordinate positions of the first endpoint, the fourth endpoint and the common endpoint, it is determined whether one of the first comparison line and the second comparison line is a horizontal line. When the first comparison line is a horizontal line and the common end point is on the right of the first end point, if the X-axis coordinate of the common end point is greater than or equal to the X-axis coordinate of the fourth end point, then judge the difference between the first comparison line and the second comparison line The angle between them is less than or equal to 90 degrees. And when the second comparison line is a horizontal line, and the common end point is on the right of the fourth end point, if the X-axis coordinate of the common end point is greater than or equal to the X-axis coordinate of the first end point, the first comparison line and the second comparison line are judged The angle between them is less than or equal to 90 degrees.

在本发明一实施例中,上述判断第一比较线与第二比较线之间的夹角是否有小于等于90度的步骤包括下列步骤。首先,利用第一端点、第四端点与共同端点的坐标位置,判断第一比较线与第二比较线其中之一是否为水平线。当第一比较线为水平线,且共同端点位于第一端点的左方时,若共同端点的X轴坐标小于等于第四端点的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。而当第二比较线为水平线,且共同端点位于第四端点的左方时,若共同端点的X轴坐标小于等于第一端点的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。In an embodiment of the present invention, the step of determining whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees includes the following steps. Firstly, by using the coordinate positions of the first endpoint, the fourth endpoint and the common endpoint, it is determined whether one of the first comparison line and the second comparison line is a horizontal line. When the first comparison line is a horizontal line and the common end point is on the left of the first end point, if the X-axis coordinate of the common end point is less than or equal to the X-axis coordinate of the fourth end point, then judge the difference between the first comparison line and the second comparison line The angle between them is less than or equal to 90 degrees. And when the second comparison line is a horizontal line, and the common end point is on the left of the fourth end point, if the X-axis coordinate of the common end point is less than or equal to the X-axis coordinate of the first end point, then judge the first comparison line and the second comparison line The angle between them is less than or equal to 90 degrees.

在本发明一实施例中,上述判断第一比较线与第二比较线之间的夹角是否有小于等于90度的步骤包括下列步骤。首先,利用第一端点、第四端点与共同端点的坐标位置,判断第一比较线与第二比较线其中之一是否为垂直线。当第一比较线为垂直线,且共同端点位于第一端点的下方时,若共同端点的Y轴坐标小于等于第四端点的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。而当第二比较线为垂直线,且共同端点位于第四端点的下方时,若共同端点的Y轴坐标小于等于第一端点的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。In an embodiment of the present invention, the step of determining whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees includes the following steps. Firstly, by using the coordinate positions of the first endpoint, the fourth endpoint and the common endpoint, it is determined whether one of the first comparison line and the second comparison line is a vertical line. When the first comparison line is a vertical line and the common end point is below the first end point, if the Y-axis coordinate of the common end point is less than or equal to the Y-axis coordinate of the fourth end point, the difference between the first comparison line and the second comparison line is determined. The angle between them is less than or equal to 90 degrees. And when the second comparison line is a vertical line, and the common end point is located below the fourth end point, if the Y-axis coordinate of the common end point is less than or equal to the Y-axis coordinate of the first end point, the first comparison line and the second comparison line are judged The angle between them is less than or equal to 90 degrees.

在本发明一实施例中,上述判断第一比较线与第二比较线之间的夹角是否有小于等于90度的步骤包括下列步骤。首先,利用第一端点、第四端点与共同端点的坐标位置,判断第一比较线与第二比较线其中之一是否为垂直线。当第一比较线为垂直线,且共同端点位于第一端点的上方时,若共同端点的Y轴坐标大于等于第四端点的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。而当第二比较线为垂直线,且共同端点位于第四端点的上方时,若共同端点的Y轴坐标大于等于第一端点的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。In an embodiment of the present invention, the step of determining whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees includes the following steps. Firstly, by using the coordinate positions of the first endpoint, the fourth endpoint and the common endpoint, it is determined whether one of the first comparison line and the second comparison line is a vertical line. When the first comparison line is a vertical line and the common end point is above the first end point, if the Y-axis coordinate of the common end point is greater than or equal to the Y-axis coordinate of the fourth end point, then judge the difference between the first comparison line and the second comparison line The angle between them is less than or equal to 90 degrees. And when the second comparison line is a vertical line, and the common end point is above the fourth end point, if the Y-axis coordinate of the common end point is greater than or equal to the Y-axis coordinate of the first end point, then judge the first comparison line and the second comparison line The angle between them is less than or equal to 90 degrees.

在本发明一实施例中,上述线迹检查方法更包括利用布局图中的格点,选择线段中的第一线段与第二线段分别作为第一比较线与第二比较线,其中第一端点、第四端点与共同端点对应于布局图中的格点。In an embodiment of the present invention, the above stitch inspection method further includes using the grid points in the layout diagram to select the first line segment and the second line segment in the line segments as the first comparison line and the second comparison line respectively, wherein the first The end point, the fourth end point and the common end point correspond to grid points in the layout diagram.

在本发明一实施例中,上述布局图为印刷电路板的布局图。In an embodiment of the present invention, the above-mentioned layout diagram is a layout diagram of a printed circuit board.

本发明提出一种计算机可读取储存媒体,用以储存计算机程序,此计算机程序用以加载至计算机系统中并且使得上述计算机系统上述电路布局的线迹检查方法。The present invention provides a computer-readable storage medium for storing a computer program, and the computer program is used for loading into a computer system and enabling the above-mentioned circuit layout inspection method of the above-mentioned computer system.

本发明提出一种内储用于检查布局线迹的计算机程序产品,当计算机加载该计算机程序并执行后,可完成上述电路布局的线迹检查方法。The present invention proposes a computer program product for checking layout traces. When the computer program is loaded and executed by a computer, the above-mentioned method for checking traces of circuit layout can be completed.

本发明通过取得某布局线迹中相连接的二线段之端点的坐标位置,再利用上述端点的坐标位置来判断该布局线迹中是否具有直角(两线段之间的夹角等于90度)或锐角(两线段之间的夹角小于90度)的线段。若判断出该布局线迹中具有直角或锐角的线段,则产生提示讯息。如此一来,本发明可以加快检查电路布局的布局线迹,而布局工程师可以依据提示讯息以自动或手动进行修正,来避免尖端放电的效应。The present invention obtains the coordinate positions of the endpoints of two connected line segments in a certain layout trace, and then utilizes the coordinate positions of the above-mentioned endpoints to judge whether there is a right angle (the angle between the two line segments is equal to 90 degrees) or not in the layout trace. A line segment with an acute angle (the angle between two line segments is less than 90 degrees). If it is judged that there is a line segment with a right angle or an acute angle in the layout trace, a prompt message will be generated. In this way, the present invention can speed up the inspection of the layout traces of the circuit layout, and the layout engineer can automatically or manually correct according to the prompt message, so as to avoid the effect of the tip discharge.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合所附图式,作详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

附图说明Description of drawings

图1绘示为本发明一实施例的电路布局的线迹检查方法流程图。FIG. 1 is a flowchart of a method for inspecting traces of a circuit layout according to an embodiment of the present invention.

图2绘示为本发明一实施例的布局线迹的示意图。FIG. 2 is a schematic diagram of layout traces according to an embodiment of the present invention.

图3A~图3H绘示为本发明一实施例的第一线段与第二线段的第一端点、共同端点与第四端点的坐标位置的示意图。FIGS. 3A-3H are diagrams showing the coordinate positions of the first end point, the common end point, and the fourth end point of the first line segment and the second line segment according to an embodiment of the present invention.

图4绘示为本发明另一实施例的布局线迹的示意图。FIG. 4 is a schematic diagram of layout traces according to another embodiment of the present invention.

具体实施方式Detailed ways

图1绘示为本发明一实施例的电路布局的线迹检查方法流程图。图2绘示为本发明一实施例的布局线迹的示意图。请合并参照图1与图2,首先,在步骤S101中,于布局图中选取其中一条布局线迹(图2中仅以布局线迹200做为范例)。其中布局线迹200具有多条线段。在本实施例中,布局线迹200例如具有线段L1、L2与L3,但不限制其范围。另外,上述布局图可以为印刷电路板(Printed CircuitBoard,PCB)之布局图。FIG. 1 is a flowchart of a method for inspecting traces of a circuit layout according to an embodiment of the present invention. FIG. 2 is a schematic diagram of layout traces according to an embodiment of the present invention. Please refer to FIG. 1 and FIG. 2 together. Firstly, in step S101 , select one of the layout traces in the layout diagram (only the layout trace 200 is taken as an example in FIG. 2 ). Wherein the layout trace 200 has a plurality of line segments. In this embodiment, the layout trace 200 has, for example, line segments L1 , L2 and L3 , but the scope thereof is not limited. In addition, the above layout diagram may be a layout diagram of a printed circuit board (Printed Circuit Board, PCB).

在步骤S103中,沿着布局线迹200,选择上述线段的第一线段与第二线段分别作为第一比较线与第二比较线,其中第一线段具有第一端点与第二端点,第二线段具有第三端点与第四端点,且第二端点与第三端点连接成共同端点。举例来说,假设选择线段L1作为第一比较线,且选择线段L2作为第二比较线。线段L1具有第一端点211与第二端点212,第二线段L2具有第三端点213与第四端点214。其中,线段L1的第二端点212与线段L2的第三端点213连接成共同端点220。In step S103, along the layout trace 200, select the first line segment and the second line segment of the above-mentioned line segment as the first comparison line and the second comparison line, wherein the first line segment has a first end point and a second end point , the second line segment has a third end point and a fourth end point, and the second end point and the third end point are connected to form a common end point. For example, assume that the line segment L1 is selected as the first comparison line, and the line segment L2 is selected as the second comparison line. The line segment L1 has a first end point 211 and a second end point 212 , and the second line segment L2 has a third end point 213 and a fourth end point 214 . Wherein, the second end point 212 of the line segment L1 and the third end point 213 of the line segment L2 are connected to form a common end point 220 .

在步骤S105中,依据第一比较线与第二比较线的第一端点、第四端点以及共同端点的坐标位置,判断第一比较线与第二比较线之间的夹角是否小于等于90度,以产生判断结果。以图2为例,假设线段L1的端点211的坐标位置为(0,0),共同端点220(即线段L1的端点212与线段L2的端点213)的坐标位置为(2,0)线段L2的端点214的坐标位置为(4,2)。依据坐标位置(0,0)、(2,0)以及(4,2),可以判断第一比较线与第二比较线之间的夹角是否小于等于90度。In step S105, according to the coordinate positions of the first end point, the fourth end point and the common end point of the first comparison line and the second comparison line, it is judged whether the included angle between the first comparison line and the second comparison line is less than or equal to 90° to produce judgment results. Taking Figure 2 as an example, assume that the coordinate position of the end point 211 of the line segment L1 is (0, 0), and the coordinate position of the common end point 220 (ie, the end point 212 of the line segment L1 and the end point 213 of the line segment L2) is (2, 0) of the line segment L2 The coordinate position of the end point 214 of is (4, 2). According to the coordinate positions (0, 0), (2, 0) and (4, 2), it can be determined whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees.

以下,将举例来说明如何利用端点的坐标位置来判断线段之间的夹角是否小于等于90度。首先,利用第一比较线与第二比较线的坐标位置的横坐标(X坐标)与纵坐标(Y坐标)来判断第一比较线(在此为线段L1)与第二比较线(在此为线段L2)二者中何者为水平线或垂直线。举例来说,若某一线段的二端点坐标分别为(X1,Y1)与(X2,Y2),则该线段是否为水平线的判断式为{X1≠X2 and Y2=Y1},而该线段是否为垂直线的判断式为{X1=X2 and Y2≠Y1}。因此,通过上述的判断式来看,图2中线段L1的端点211与共同端点220的坐标位置分别为(0,0)=(X1,Y1)与(2,0)=(X2,Y2),亦即满足判断式{X1≠X2 and Y2=Y1},故线段L1为水平线。另外,由于线段L2的端点213与共同端点230的坐标位置分别为(2,0)与(4,2),而上述二判断式皆不成立,故线段L2并不为水平线或垂直线。因此,线段L1与线段L2之间的夹角可能为锐角或钝角。Hereinafter, an example will be used to illustrate how to use the coordinate positions of the endpoints to determine whether the angle between the line segments is less than or equal to 90 degrees. First, use the abscissa (X coordinate) and ordinate (Y coordinate) of the coordinate positions of the first comparison line and the second comparison line to determine the first comparison line (here, line segment L1) and the second comparison line (here is the line segment L2) which of the two is a horizontal line or a vertical line. For example, if the coordinates of the two endpoints of a certain line segment are (X1, Y1) and (X2, Y2), the judgment formula for whether the line segment is horizontal is {X1≠X2 and Y2=Y1}, and whether the line segment is The judgment formula for the vertical line is {X1=X2 and Y2≠Y1}. Therefore, according to the above judgment formula, the coordinate positions of the end point 211 and the common end point 220 of the line segment L1 in Fig. 2 are respectively (0, 0)=(X1, Y1) and (2, 0)=(X2, Y2) , that is, the judgment formula {X1≠X2 and Y2=Y1} is satisfied, so the line segment L1 is a horizontal line. In addition, since the coordinate positions of the end point 213 and the common end point 230 of the line segment L2 are (2, 0) and (4, 2) respectively, and the above two judgment expressions are not valid, the line segment L2 is not a horizontal line or a vertical line. Therefore, the included angle between the line segment L1 and the line segment L2 may be an acute angle or an obtuse angle.

接着,判断出线段L1与线段L2是否为水平线或垂直线之后,再利用坐标位置判断共同端点220位于端点211的右侧、左侧、下方或上方。以下将以图3A~图3H说明之。之后,再利用共同端点(共同端点220)与第四端点(端点214)的坐标来判断第一比较线(线段L1)与第二比较线(线段L2)之间的夹角是否小于等于90度。Next, after determining whether the line segment L1 and the line segment L2 are horizontal lines or vertical lines, the coordinate position is used to determine whether the common end point 220 is located on the right, left, below or above the end point 211 . It will be described below with reference to FIG. 3A to FIG. 3H . After that, use the coordinates of the common endpoint (common endpoint 220) and the fourth endpoint (endpoint 214) to determine whether the angle between the first comparison line (line segment L1) and the second comparison line (line segment L2) is less than or equal to 90 degrees .

举例来说,首先,请参照图3A,其说明第一比较线(或第二比较线)为水平线,共同端点C位于第一端点P1(或是第四端点P4)的右侧,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的上方。前述图3A的线段布局情形,可以利用判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3>Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。图3B说明第一比较线(或第二比较线)为水平线,共同端点C位于第一端点P1(或是第四端点P4)的右侧,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的下方。前述图3B的线段布局情形,可以利用判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3<Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。依据共同端C点与第四端点P4(或是第一端点P1)的坐标位置,可以判断出第一比较线与第二比较线之间的夹角是否小于等于90度。若是共同端点C的坐标(X2,Y2)与第四端点P4(或是第一端点P1)的坐标(X3,Y3)代入上述判断式后满足其中一个判断式,表示第一比较线与第二比较线之间的夹角小于90度,也就是第一比较线与第二比较线之间的夹角呈现锐角。For example, first, please refer to FIG. 3A , which illustrates that the first comparison line (or the second comparison line) is a horizontal line, the common end point C is located on the right side of the first end point P1 (or the fourth end point P4), and the first end point P1 (or the fourth end point P4) The four terminal points P4 (or the first terminal point P1 ) are located above the common terminal point C and the first terminal point P1 (or the fourth terminal point P4 ). For the line segment layout situation in Figure 3A, the judgment formula {(X3<X2, Y3≠Y2) and (X3≠X2, Y3>Y2)} can be used to judge whether the included angle between the first comparison line and the second comparison line is Less than 90 degrees. Figure 3B illustrates that the first comparison line (or the second comparison line) is a horizontal line, the common endpoint C is located on the right side of the first endpoint P1 (or the fourth endpoint P4), and the fourth endpoint P4 (or the first endpoint P1) is located below the common end point C and the first end point P1 (or the fourth end point P4). In the line segment layout situation of the aforementioned Figure 3B, the judgment formula {(X3<X2, Y3≠Y2) and (X3≠X2, Y3<Y2)} can be used to judge whether the included angle between the first comparison line and the second comparison line is Less than 90 degrees. According to the coordinate positions of the common end point C and the fourth end point P4 (or the first end point P1 ), it can be determined whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees. If the coordinates (X2, Y2) of the common endpoint C and the coordinates (X3, Y3) of the fourth endpoint P4 (or the first endpoint P1) are substituted into the above judgment formulas and one of the judgment formulas is satisfied, it means that the first comparison line and the second The included angle between the two comparison lines is less than 90 degrees, that is, the included angle between the first comparison line and the second comparison line presents an acute angle.

也就是说,当第一比较线为水平线,且共同端点C位于第一端点P1的右方时,若共同端点C的X轴坐标大于等于第四端点P4的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。当第二比较线为该水平线,且共同端点C位于第四端点P4的右方时,若共同端点C的X轴坐标大于等于第一端点P1的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。That is to say, when the first comparison line is a horizontal line and the common endpoint C is located on the right of the first endpoint P1, if the X-axis coordinate of the common endpoint C is greater than or equal to the X-axis coordinate of the fourth endpoint P4, then it is judged that the first The included angle between the comparison line and the second comparison line is less than or equal to 90 degrees. When the second comparison line is the horizontal line, and the common endpoint C is located on the right of the fourth endpoint P4, if the X-axis coordinate of the common endpoint C is greater than or equal to the X-axis coordinate of the first endpoint P1, then it is judged that the first comparison line and The included angle between the second comparison lines is less than or equal to 90 degrees.

请参照图3C,若是第一比较线(或是第二比较线)为水平线,而共同端点C位于第一端点P1(或是第四端点P4)的左侧,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的上方时,可以利用判断式{(X3>X2,Y3≠Y2)and(X3≠X2,Y3>Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。图3D说明第一比较线(或是第二比较线)为水平线,共同端点C位于第一端点P1(或是第四端点P4)的左侧,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的下方的线段布局情况。前述图3D的线段布局情形,可以利用判断式{(X3>X2,Y3≠Y2)and(X3≠X2,Y3<Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。依据共同端点C与第四端点P4(或是第一端点P1)的坐标位置,可以判断出第一比较线与第二比较线之间的夹角是否小于等于90度。若是共同端点C的坐标(X2,Y2)与第四端点P4(或是第一端点P1)的坐标(X3,Y3)代入后满足上述的判断式其中之一,表示第一比较线与第二比较线之间的夹角小于90度,也就是第一比较线与第二比较线之间的夹角呈现锐角。Please refer to FIG. 3C, if the first comparison line (or the second comparison line) is a horizontal line, and the common endpoint C is located on the left side of the first endpoint P1 (or the fourth endpoint P4), and the fourth endpoint P4 (or When the first end point P1) is located above the common end point C and the first end point P1 (or the fourth end point P4), the judgment formula {(X3>X2, Y3≠Y2) and (X3≠X2, Y3) can be used >Y2)} to determine whether the angle between the first comparison line and the second comparison line is less than 90 degrees. Figure 3D shows that the first comparison line (or the second comparison line) is a horizontal line, the common end point C is located on the left side of the first end point P1 (or the fourth end point P4), and the fourth end point P4 (or the first end point P4) Point P1) is located below the common end point C and the first end point P1 (or the fourth end point P4). In the line segment layout situation of the aforementioned Figure 3D, the judgment formula {(X3>X2, Y3≠Y2) and (X3≠X2, Y3<Y2)} can be used to judge whether the included angle between the first comparison line and the second comparison line is Less than 90 degrees. According to the coordinate positions of the common endpoint C and the fourth endpoint P4 (or the first endpoint P1 ), it can be determined whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees. If the coordinates (X2, Y2) of the common endpoint C and the coordinates (X3, Y3) of the fourth endpoint P4 (or the first endpoint P1) satisfy one of the above judgment formulas after substitution, it means that the first comparison line and the second The included angle between the two comparison lines is less than 90 degrees, that is, the included angle between the first comparison line and the second comparison line presents an acute angle.

也就是说,当第一比较线为水平线,且共同端点C位于第一端点P1的左方时,若共同端点C的X轴坐标小于等于第四端点P4的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。当第二比较线为水平线,且共同端点C位于第四端点P4的左方时,若共同端点C的X轴坐标小于等于第一端点P1的X轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。That is to say, when the first comparison line is a horizontal line and the common endpoint C is located to the left of the first endpoint P1, if the X-axis coordinate of the common endpoint C is less than or equal to the X-axis coordinate of the fourth endpoint P4, then the first The included angle between the comparison line and the second comparison line is less than or equal to 90 degrees. When the second comparison line is a horizontal line and the common endpoint C is located to the left of the fourth endpoint P4, if the X-axis coordinate of the common endpoint C is less than or equal to the X-axis coordinate of the first endpoint P1, it is judged that the first comparison line and the second The angle between the two comparison lines is less than or equal to 90 degrees.

请参照图3E,若是第一比较线(或是第二比较线)为垂直线,而共同端点C位于第一端点P1(或是第四端点P4)的下方,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的左侧,则可以利用判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3>Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。图3F说明第一比较线(或是第二比较线)为垂直线,而共同端点C位于第一端点P1(或是第四端点P4)的下方,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的右侧的线段布局状况。前述图3F的线段布局情形,可以利用判断式{(X3>X2,Y3≠Y2)and(X3≠X2,Y3>Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。依据共同端点C与第四端点P4(或是第一端点P1)的坐标位置,判断出第一比较线与第二比较线之间的夹角是否小于等于90度。若是共同端点C的坐标(X2,Y2)与第四端点P4(或是第一端点P1)的坐标(X3,Y3)代入后满足上述的判断式其中之一,表示第一比较线与第二比较线之间的夹角小于90度,也就是第一比较线与第二比较线之间的夹角呈现锐角。Please refer to FIG. 3E, if the first comparison line (or the second comparison line) is a vertical line, and the common endpoint C is located below the first endpoint P1 (or the fourth endpoint P4), and the fourth endpoint P4 (or If the first end point P1) is located on the left side of the common end point C and the first end point P1 (or the fourth end point P4), then the judgment formula {(X3<X2, Y3≠Y2) and (X3≠X2, Y3>Y2)} to determine whether the angle between the first comparison line and the second comparison line is less than 90 degrees. Fig. 3F illustrates that the first comparison line (or the second comparison line) is a vertical line, and the common terminal point C is located below the first terminal point P1 (or the fourth terminal point P4), and the fourth terminal point P4 (or the first The layout of the line segment where the endpoint P1) is located on the right side of the common endpoint C and the first endpoint P1 (or the fourth endpoint P4). For the line segment layout situation in Figure 3F mentioned above, the judgment formula {(X3>X2, Y3≠Y2) and (X3≠X2, Y3>Y2)} can be used to judge whether the included angle between the first comparison line and the second comparison line is Less than 90 degrees. According to the coordinate positions of the common end point C and the fourth end point P4 (or the first end point P1 ), it is determined whether the included angle between the first comparison line and the second comparison line is less than or equal to 90 degrees. If the coordinates (X2, Y2) of the common endpoint C and the coordinates (X3, Y3) of the fourth endpoint P4 (or the first endpoint P1) satisfy one of the above judgment formulas after substitution, it means that the first comparison line and the second The included angle between the two comparison lines is less than 90 degrees, that is, the included angle between the first comparison line and the second comparison line presents an acute angle.

也就是说,当第一比较线为垂直线,且共同端点C位于第一端点P1的下方时,若共同端点C的Y轴坐标小于等于第四端点P4的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。当第二比较线为垂直线,且共同端点C位于第四端点P4的下方时,若共同端点C的Y轴坐标小于等于第一端点P1的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。That is to say, when the first comparison line is a vertical line and the common endpoint C is located below the first endpoint P1, if the Y-axis coordinate of the common endpoint C is less than or equal to the Y-axis coordinate of the fourth endpoint P4, then the first The included angle between the comparison line and the second comparison line is less than or equal to 90 degrees. When the second comparison line is a vertical line, and the common end point C is located below the fourth end point P4, if the Y-axis coordinate of the common end point C is less than or equal to the Y-axis coordinate of the first end point P1, it is judged that the first comparison line and the fourth end point P4 The angle between the two comparison lines is less than or equal to 90 degrees.

请参照图3G,若是第一比较线(或是第二比较线)为垂直线,而共同端点C位于第一端点P1(或是第四端点P4)的上方,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的左侧时,则可以利用判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3<Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。图3H说明第一比较线(或是第二比较线)为垂直线,而共同端点C位于第一端点P1(或是第四端点P4)的上方,且第四端点P4(或是第一端点P1)位于共同端点C与第一端点P1(或是第四端点P4)的右侧的线段布局状况。前述图3H的线段布局情形,可以利用判断式{(X3>X2,Y3≠Y2)and(X3≠X2,Y3<Y2)}来判断第一比较线与第二比较线之间的夹角是否小于90度。依据共同端点C与第四端点P4(或是第一端点P1)的坐标位置,判断出第一比较线与第二比较线之间的夹角是否小于90度。若是共同端点C的坐标(X2,Y2)与第四端点P4(或是第一端点P1)的坐标(X3,Y3)代入后满足上述的判断式其中之一,表示第一比较线与第二比较线之间的夹角小于90度,也就是第一比较线与第二比较线之间的夹角呈现锐角。Please refer to FIG. 3G, if the first comparison line (or the second comparison line) is a vertical line, and the common end point C is located above the first end point P1 (or the fourth end point P4), and the fourth end point P4 (or When the first endpoint P1) is located on the left side of the common endpoint C and the first endpoint P1 (or the fourth endpoint P4), the judgment formula {(X3<X2, Y3≠Y2) and (X3≠X2 , Y3<Y2)} to determine whether the angle between the first comparison line and the second comparison line is less than 90 degrees. Figure 3H shows that the first comparison line (or the second comparison line) is a vertical line, and the common terminal point C is located above the first terminal point P1 (or the fourth terminal point P4), and the fourth terminal point P4 (or the first The layout of the line segment where the endpoint P1) is located on the right side of the common endpoint C and the first endpoint P1 (or the fourth endpoint P4). For the line segment layout situation in Figure 3H mentioned above, the judgment formula {(X3>X2, Y3≠Y2) and (X3≠X2, Y3<Y2)} can be used to judge whether the included angle between the first comparison line and the second comparison line is Less than 90 degrees. According to the coordinate positions of the common endpoint C and the fourth endpoint P4 (or the first endpoint P1 ), it is determined whether the included angle between the first comparison line and the second comparison line is less than 90 degrees. If the coordinates (X2, Y2) of the common endpoint C and the coordinates (X3, Y3) of the fourth endpoint P4 (or the first endpoint P1) satisfy one of the above judgment formulas after substitution, it means that the first comparison line and the second The included angle between the two comparison lines is less than 90 degrees, that is, the included angle between the first comparison line and the second comparison line presents an acute angle.

也就是说,当第一比较线为垂直线,且共同端点C位于第一端点P1的上方时,若共同端点C的Y轴坐标大于等于第四端点P4的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。当第二比较线为垂直线,且共同端点C位于第四端点P4的上方时,若共同端点C的Y轴坐标大于等于第一端点P1的Y轴坐标,则判断第一比较线与第二比较线之间的夹角小于等于90度。That is to say, when the first comparison line is a vertical line and the common endpoint C is located above the first endpoint P1, if the Y-axis coordinate of the common endpoint C is greater than or equal to the Y-axis coordinate of the fourth endpoint P4, then the first The included angle between the comparison line and the second comparison line is less than or equal to 90 degrees. When the second comparison line is a vertical line, and the common endpoint C is located above the fourth endpoint P4, if the Y-axis coordinate of the common endpoint C is greater than or equal to the Y-axis coordinate of the first endpoint P1, it is judged that the first comparison line is the same as the fourth endpoint. The angle between the two comparison lines is less than or equal to 90 degrees.

请参照图2。在本实施例中,由于线段L1为水平线,且共同端点220位于端点211的右侧,故可以利用图3A之说明,来判断线段L1与线段L2之间的夹角是否小于等于90度。首先,由于端点214位于共同端点220与端点211的上方,故将共同端点220与端点214的坐标(2,0)=(X2,Y2)与(4,2)=(X3,Y3)代入判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3>Y2)},可以发现X3并没有小于X2(亦即不满足上述判断式),因此,线段L1与线段L2之间的夹角并没有小于等于90度。Please refer to Figure 2. In this embodiment, since the line segment L1 is a horizontal line, and the common end point 220 is located on the right side of the end point 211, the description of FIG. 3A can be used to determine whether the angle between the line segment L1 and the line segment L2 is less than or equal to 90 degrees. First, since the endpoint 214 is located above the common endpoint 220 and the endpoint 211, the coordinates (2,0)=(X2,Y2) and (4,2)=(X3,Y3) of the common endpoint 220 and the endpoint 214 are substituted into the judgment Formula {(X3<X2, Y3≠Y2) and (X3≠X2, Y3>Y2)}, it can be found that X3 is not smaller than X2 (that is, does not satisfy the above judgment formula), therefore, the distance between line segment L1 and line segment L2 The included angle is not less than or equal to 90 degrees.

由于线段L1与线段L2之间的夹角并没有小于等于90度,亦即步骤S105所产生的判断结果为否,因此进入步骤S107中。于步骤S107,选择下一组线段(在此为第二线段L2与第三线段L3)分别作为第一比较线与第二比较线。也就是说,选择线段L2作为第一比较线,且选择线段L3作为第二比较线。其中,线段L3具有端点215与216,并且线段L2的端点214与线段L3的端点215连接成共同端点230。接着,再次进入步骤S105中,依据第一比较线(此时为线段L2)的端点213、第二比较线(此时为线段L3)的端点216以及共同端点230的坐标位置,判断线段L2与线段L3之间的夹角是否小于等于90度,以产生判断结果。在本实施例中,L3的端点215与216的坐标位置为分别为(4,2)与(4,0),故线段L3为垂直线。Since the included angle between the line segment L1 and the line segment L2 is not less than or equal to 90 degrees, that is, the judgment result of step S105 is negative, and therefore, the process proceeds to step S107 . In step S107 , the next group of line segments (here, the second line segment L2 and the third line segment L3 ) are selected as the first comparison line and the second comparison line, respectively. That is, the line segment L2 is selected as the first comparison line, and the line segment L3 is selected as the second comparison line. Wherein, the line segment L3 has end points 215 and 216 , and the end point 214 of the line segment L2 and the end point 215 of the line segment L3 are connected to form a common end point 230 . Then, enter step S105 again, according to the coordinate positions of the end point 213 of the first comparison line (line segment L2 at this time), the end point 216 of the second comparison line (line segment L3 at this time) and the common end point 230, determine the line segment L2 and Whether the angle between the line segments L3 is less than or equal to 90 degrees is used to generate a judgment result. In this embodiment, the coordinate positions of the end points 215 and 216 of L3 are respectively (4, 2) and (4, 0), so the line segment L3 is a vertical line.

由于共同端点230位于端点216的上方且端点212位于共同端点230与端点216的左侧,故可以利用图3G的说明以及判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3<Y2)},来判断线段L2与线段L3之间的夹角是否小于等于90度。首先,将共同端点230的坐标(4,2)=(X2,Y2)与端点212的坐标(2,0)=(X3,Y3)代入判断式{(X3<X2,Y3≠Y2)and(X3≠X2,Y3<Y2)},可以发现{(2<4,0≠2)and(2≠4,0<2)}满足该判断式。因此,线段L2与线段L3之间的夹角小于90度。Since the common end point 230 is located above the end point 216 and the end point 212 is located on the left side of the common end point 230 and the end point 216, it is possible to use the description and judgment formula {(X3<X2, Y3≠Y2) and (X3≠X2, Y3) in FIG. 3G <Y2)} to determine whether the angle between the line segment L2 and the line segment L3 is less than or equal to 90 degrees. First, the coordinates (4,2)=(X2, Y2) of the common endpoint 230 and the coordinates (2,0)=(X3, Y3) of the endpoint 212 are substituted into the judgment formula {(X3<X2, Y3≠Y2) and ( X3≠X2, Y3<Y2)}, it can be found that {(2<4, 0≠2) and (2≠4, 0<2)} satisfy the judgment formula. Therefore, the angle between the line segment L2 and the line segment L3 is less than 90 degrees.

由于线段L2与线段L3之间的夹角小于90度,故步骤S105中所产生的判断结果为是,则进入步骤S109。步骤S109产生提示讯息。在本实施例中可以任何的方式产生提示讯息。例如,产生提示讯息的方式可以利用高亮度的方式,将具有直角或锐角的布局线迹一一标示出来,以便于让布局工程师一目了然,进而对上述布局线迹进行修正,以避免尖端放电的效应。在另外的实施例中,「产生提示讯息」的方式,也可以将具有直角或锐角的布局线迹名称一一记录于清单中,然后输出此一清单给布局工程师。此清单可被储存在计算机可读取储存媒体而为一个资料文件。如此一来,布局工程师便可以由此清单得知哪一个布局线迹具有直角或锐角,并且再利用计算机程序以自动或手动方式将具有直角或锐角的布局线迹进行修正,以避免产生尖端放电的效应。Since the included angle between the line segment L2 and the line segment L3 is less than 90 degrees, the judgment result in step S105 is yes, and the process proceeds to step S109. Step S109 generates a prompt message. In this embodiment, the prompt message can be generated in any manner. For example, the method of generating prompt messages can use high brightness to mark the layout traces with right angles or acute angles one by one, so that layout engineers can see them at a glance, and then correct the above layout traces to avoid the effect of tip discharge . In another embodiment, the method of "generating a prompt message" can also record the names of the layout traces with right angles or acute angles in the list one by one, and then output this list to the layout engineer. The list can be stored on a computer-readable storage medium as a data file. In this way, the layout engineer can know which layout trace has a right angle or an acute angle from this list, and then use a computer program to automatically or manually correct the layout trace with a right angle or an acute angle to avoid tip discharge effect.

另外,在步骤S105中,若是判断出线段L2为水平线(或垂直线),而线段L3为垂直线(或水平线),亦即线段L2与线段L3之间的夹角等于90度(直角)。因此,进入步骤S109中,产生提示讯息,以便于告知布局工程师对线段L2与线段L3进行修正。In addition, in step S105, if it is determined that the line segment L2 is a horizontal line (or vertical line), and the line segment L3 is a vertical line (or horizontal line), that is, the angle between the line segment L2 and the line segment L3 is equal to 90 degrees (right angle). Therefore, in step S109 , a prompt message is generated to inform the layout engineer to correct the line segment L2 and the line segment L3 .

之后,进入步骤S111中,判断该检查线迹(即所选择的布局线迹)的所有线段是否检查完毕。若该检查线迹尚有线段未被检查完毕,则回到步骤S107中,继续进行其它线段的检查。而其它线段的检查方式则如同前述步骤S107、S105、S109的说明,故在此不再赘述。另外,若该检查线迹的所有线段已经检查完毕,则进入步骤S113。Afterwards, enter step S111 to determine whether all line segments of the inspection trace (that is, the selected layout trace) have been inspected. If there is still a line segment in the inspection trace that has not been checked, then return to step S107 to continue checking other line segments. The inspection methods for other line segments are the same as the descriptions of steps S107 , S105 , and S109 , so details will not be repeated here. In addition, if all line segments of the inspection stitch have been inspected, go to step S113.

步骤S113判断该布局图中所有布局线迹是否被检查完毕。当此布局图中的所有布局线迹都被检查完毕时,则结束此线迹检查方法的流程。另一方面,当该布局图中尚有布局线迹尚未被检查完毕时,则进行步骤S115。步骤S115会在布局图中选取新布局线迹(或下一条布局线迹)作为该检查线迹。亦即,选取尚未检查的布局线迹,以进行后续的检查,并且在步骤S117中,以新布局线迹作为检查线迹,之后再回到步骤S103,进行新布局线迹的检查流程。而新布局线迹的检查流程可以参照前述的说明,故在此亦不再赘述。Step S113 judges whether all layout traces in the layout diagram have been checked. When all the layout stitches in the layout diagram have been checked, the flow of the stitch checking method is ended. On the other hand, when there are still layout stitches in the layout diagram that have not been checked, go to step S115. Step S115 selects a new layout trace (or the next layout trace) in the layout diagram as the inspection trace. That is, the layout stitches that have not been checked are selected for subsequent inspection, and in step S117, the new layout stitches are used as inspection stitches, and then return to step S103 to perform the inspection process of the new layout stitches. For the inspection process of the new layout stitches, reference can be made to the foregoing description, so details will not be repeated here.

图4绘示为本发明另一实施例之布局线迹的示意图。请同时参照图1与图4,首先,请合并参照图1与图2,首先,在步骤S101中,于布局图中选取布局线迹400,其中布局线迹400具有多条线段。在本实施例中,布局图会具有格点,并且这些格点各自对应一坐标位置,以方便布局工程师对布局线迹进行布线。FIG. 4 is a schematic diagram of layout traces according to another embodiment of the present invention. Please refer to FIG. 1 and FIG. 4 at the same time. First, please refer to FIG. 1 and FIG. 2 together. First, in step S101, select the layout trace 400 in the layout diagram, wherein the layout trace 400 has multiple line segments. In this embodiment, the layout diagram has grid points, and each of these grid points corresponds to a coordinate position, so as to facilitate layout engineers to route layout traces.

在步骤S103中,沿着布局线迹200,选择上述线段的第一线段与第二线段分别作为第一比较线与第二比较线,其中第一线段具有第一端点与第二端点,第二线段具有第三端点与第四端点,且第二端点与第三端点连接成共同端点。在本实施例中,可以利用布局线迹400上的格点401、402、403,选出第一线段与第二线段分别作为第一比较线与第二比较线。或是,利用布局线迹400上格点402、403、404,选出第一线段与第二线段分别作为第一比较线或第二比较线。并且第一线段与第二线段的第一端点、第四端点与共同端点(第二端点与第三端点)则分别段应格点401、402、403或是格点402、403、404。In step S103, along the layout trace 200, select the first line segment and the second line segment of the above-mentioned line segment as the first comparison line and the second comparison line, wherein the first line segment has a first end point and a second end point , the second line segment has a third end point and a fourth end point, and the second end point and the third end point are connected to form a common end point. In this embodiment, the grid points 401 , 402 , and 403 on the layout trace 400 can be used to select the first line segment and the second line segment as the first comparison line and the second comparison line, respectively. Or, use the grid points 402 , 403 , 404 on the layout trace 400 to select the first line segment and the second line segment as the first comparison line or the second comparison line, respectively. And the first end point, the fourth end point and the common end point (the second end point and the third end point) of the first line segment and the second line segment respectively correspond to grid points 401, 402, 403 or grid points 402, 403, 404 .

之后,于接下来的步骤S105~S117,可以参照前述实施例的说明,故在此不再赘述。如此一来,本实施例亦可依据以格点的坐标位置,来判断出布局线400迹是否具有小于等于90度的线段。Afterwards, in the following steps S105-S117, the description of the foregoing embodiments may be referred to, so details are not repeated here. In this way, this embodiment can also determine whether the layout line 400 trace has a line segment less than or equal to 90 degrees according to the coordinate position of the grid point.

本发明另提供一种计算机程序产品,其系用以执行上述的线迹检查方法,此计算机程序产品基本上是由多个程序代码片段所组成的,并且这些程序代码片段在加载计算机中并执行之后,即可完成上述线迹检查方法的步骤。The present invention also provides a computer program product, which is used to implement the above stitch inspection method. This computer program product is basically composed of a plurality of program code segments, and these program code segments are loaded into the computer and executed. Afterwards, the steps of the above stitch inspection method can be completed.

综上所述,本发明通过取得布局线迹中线段的端点坐标位置,再利用上述坐标位置来判断布局线迹中是否具有直角(两线段之间的夹角等于90度)或锐角(两线段之间的夹角小于90度)的线段。若判断出布局线迹中具有直角或锐角的线段,则产生提示讯息。如此一来,本发明可以加快检查电路布局的布局线迹,而布局工程师可以依据提示讯息自动或手动进行修正,来避免尖端放电的效应。In summary, the present invention obtains the endpoint coordinate position of the line segment in the layout trace, and then utilizes the above-mentioned coordinate position to judge whether there is a right angle (the angle between the two line segments is equal to 90 degrees) or an acute angle (the angle between the two line segments) in the layout trace. The angle between them is less than 90 degrees). If it is judged that there is a line segment with a right angle or an acute angle in the layout trace, a prompt message will be generated. In this way, the present invention can speed up the inspection of the layout traces of the circuit layout, and the layout engineer can automatically or manually correct according to the prompt message, so as to avoid the effect of the tip discharge.

虽然本发明已以实施例揭露如上,然其并非用以限定本发明,任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当以权利要求所界定的为准。Although the present invention has been disclosed as above with the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be defined by the claims.

Claims (13)

1. checking trace of circuit layout comprises:
In a layout, choose a layout trace and check stitching as one, wherein this layout trace has many line segments;
Check stitching along this, select one first line segment in those line segments and one second line segment respectively as one first alternative line and one second alternative line, wherein this first line segment has one first end points and one second end points, this second line segment has one the 3rd end points and one the 4th end points, and this second end points and the 3rd end points connect into a common end points;
According to the coordinate position of this first end points, the 4th end points and this common end points, judge that a angle between this first alternative line and this second alternative line is whether smaller or equal to 90 degree, to produce a judged result; And
If this judged result is for being then to produce a prompting message.
2. checking trace of circuit layout as claimed in claim 1 is characterized in that, producing this prompting message is to indicate this layout trace with high brightness.
3. checking trace of circuit layout as claimed in claim 1 is characterized in that, the step that produces this prompting message comprises:
This layout trace is added in the inventory; And
Show this inventory.
4. checking trace of circuit layout as claimed in claim 1 is characterized in that, also comprises:
When this judged result for not the time, select this second line segment in those line segments and one the 3rd line segment respectively as this first alternative line and this second alternative line, wherein this second line segment and the 3rd line segment have a common end points.
5. checking trace of circuit layout as claimed in claim 1 is characterized in that, also comprises:
Whether all those line segments of judging this inspection stitching are checked and are finished;
If those line segment inspecteds finish, whether all layout trace of judging this layout are checked and are finished;
Check as yet when all layout trace and in this layout, to choose a new layout trace when finishing; And
Should new layout trace check stitching as this.
6. checking trace of circuit layout as claimed in claim 1 is characterized in that, judges whether the angle between this first alternative line and this second alternative line comprises smaller or equal to 90 steps of spending:
Utilize the coordinate position of this first end points, the 4th end points and this common end points, whether one of them is a horizontal line to judge this first alternative line and this second alternative line;
When this first alternative line is this horizontal line, and when this common end points is positioned at this first end points right-hand, if the X-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line more than or equal to the X-axis coordinate of the 4th end points and is spent smaller or equal to 90; And
When this second alternative line is this horizontal line, and when this common end points is positioned at the 4th end points right-hand, if the X-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line more than or equal to the X-axis coordinate of this first end points and is spent smaller or equal to 90.
7. checking trace of circuit layout as claimed in claim 1 is characterized in that, judges whether the angle between this first alternative line and this second alternative line has the step smaller or equal to 90 degree to comprise:
Utilize the coordinate position of this first end points, the 4th end points and this common end points, whether one of them is a horizontal line to judge this first alternative line and this second alternative line;
When this first alternative line is this horizontal line, and when this common end points is positioned at the left of this first end points, if the X-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line smaller or equal to the X-axis coordinate of the 4th end points and is spent smaller or equal to 90; And
When this second alternative line is this horizontal line, and when this common end points is positioned at the left of the 4th end points, if the X-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line smaller or equal to the X-axis coordinate of this first end points and is spent smaller or equal to 90.
8. checking trace of circuit layout as claimed in claim 1 is characterized in that, judges whether the angle between this first alternative line and this second alternative line has the step smaller or equal to 90 degree to comprise:
Utilize the coordinate position of this first end points, the 4th end points and this common end points, whether one of them is a perpendicular line to judge this first alternative line and this second alternative line;
When this first alternative line is this perpendicular line, and when this common end points is positioned at the below of this first end points, if the Y-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line smaller or equal to the Y-axis coordinate of the 4th end points and is spent smaller or equal to 90; And
When this second alternative line is this perpendicular line, and when this common end points is positioned at the below of the 4th end points, if the Y-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line smaller or equal to the Y-axis coordinate of this first end points and is spent smaller or equal to 90.
9. checking trace of circuit layout as claimed in claim 1 is characterized in that, judges whether the angle between this first alternative line and this second alternative line has the step smaller or equal to 90 degree to comprise:
Utilize the coordinate position of this first end points, the 4th end points and this common end points, whether one of them is a perpendicular line to judge this first alternative line and this second alternative line;
When this first alternative line is this perpendicular line, and when this common end points is positioned at the top of this first end points, if the Y-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line more than or equal to the Y-axis coordinate of the 4th end points and is spent smaller or equal to 90;
When this second alternative line is this perpendicular line, and when this common end points is positioned at the top of the 4th end points, if the Y-axis coordinate of this common end points, is then judged the angle between this first alternative line and this second alternative line more than or equal to the Y-axis coordinate of this first end points and is spent smaller or equal to 90.
10. checking trace of circuit layout as claimed in claim 1 is characterized in that, more comprises:
Utilize the lattice point in the layout, select this first line segment in those line segments and this second line segment respectively as this first alternative line and this second alternative line, wherein this first end points, the 4th end points and this common end points are corresponding to the lattice point in the layout.
11. checking trace of circuit layout as claimed in claim 1 is characterized in that, this layout is the layout of printed circuit board (PCB).
12. a computer-readable storage media, in order to store a computer program, this computer program is in order to be loaded in the computer system and to make this computer system carry out checking trace of circuit layout as claimed in claim 1.
13. storage is used to check the computer program of layout trace in one kind, after computing machine loads this computer program and carries out, can finish the described checking trace of circuit layout of claim 1.
CN2008101796982A 2008-12-01 2008-12-01 Method for checking trace of circuit layout Expired - Fee Related CN101751482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101796982A CN101751482B (en) 2008-12-01 2008-12-01 Method for checking trace of circuit layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101796982A CN101751482B (en) 2008-12-01 2008-12-01 Method for checking trace of circuit layout

Publications (2)

Publication Number Publication Date
CN101751482A true CN101751482A (en) 2010-06-23
CN101751482B CN101751482B (en) 2011-11-09

Family

ID=42478462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101796982A Expired - Fee Related CN101751482B (en) 2008-12-01 2008-12-01 Method for checking trace of circuit layout

Country Status (1)

Country Link
CN (1) CN101751482B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789509A (en) * 2011-05-16 2012-11-21 比亚迪股份有限公司 Method for marking device that does not need to be welded and system
CN102855337A (en) * 2011-06-27 2013-01-02 鸿富锦精密工业(深圳)有限公司 Automated wiring inspection system and automated wiring inspection method
CN104731988A (en) * 2013-12-18 2015-06-24 北京华大九天软件有限公司 Method for checking schematic diagram logic in real time
CN104732515A (en) * 2014-12-22 2015-06-24 深圳市百能信息技术有限公司 Outer contour extracting method and device for line connector
CN107766617A (en) * 2017-09-21 2018-03-06 郑州云海信息技术有限公司 A kind of method of the automatic amendment board acute angle based on Cadence skill
CN109870466A (en) * 2019-01-25 2019-06-11 深圳市华星光电半导体显示技术有限公司 Method for display device periphery circuit area matching defect point and circuit number
CN112395824A (en) * 2020-11-26 2021-02-23 上海柏楚数控科技有限公司 Routing detection method, device and equipment and storage medium
CN115081377A (en) * 2022-06-14 2022-09-20 深圳市一博科技股份有限公司 Method for checking acute angle of time sequence signal printed line path
CN115081376A (en) * 2022-06-14 2022-09-20 深圳市一博科技股份有限公司 Method for checking redundant loops of time sequence signal printed lines
CN116187263A (en) * 2022-12-16 2023-05-30 苏州浪潮智能科技有限公司 Detect loopback routing design methods, systems, terminals and storage media at different levels

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610485A (en) * 2003-10-24 2005-04-27 明基电通股份有限公司 Inspection method of test points before printed circuit board layout drawing
CN1658198B (en) * 2004-02-16 2011-06-01 和硕联合科技股份有限公司 How to Check Circuit Layout
CN100435156C (en) * 2005-12-23 2008-11-19 英业达股份有限公司 Prompting system and method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789509A (en) * 2011-05-16 2012-11-21 比亚迪股份有限公司 Method for marking device that does not need to be welded and system
CN102789509B (en) * 2011-05-16 2015-09-02 比亚迪股份有限公司 A kind of mark does not weld the method and system of device
CN102855337A (en) * 2011-06-27 2013-01-02 鸿富锦精密工业(深圳)有限公司 Automated wiring inspection system and automated wiring inspection method
CN104731988A (en) * 2013-12-18 2015-06-24 北京华大九天软件有限公司 Method for checking schematic diagram logic in real time
CN104732515A (en) * 2014-12-22 2015-06-24 深圳市百能信息技术有限公司 Outer contour extracting method and device for line connector
CN104732515B (en) * 2014-12-22 2018-01-23 深圳市百能信息技术有限公司 A kind of method and apparatus of line and curve connection body extraction outline
CN107766617A (en) * 2017-09-21 2018-03-06 郑州云海信息技术有限公司 A kind of method of the automatic amendment board acute angle based on Cadence skill
CN109870466A (en) * 2019-01-25 2019-06-11 深圳市华星光电半导体显示技术有限公司 Method for display device periphery circuit area matching defect point and circuit number
CN109870466B (en) * 2019-01-25 2021-06-01 深圳市华星光电半导体显示技术有限公司 Method for matching defect points and line numbers in peripheral line area of display device
CN112395824A (en) * 2020-11-26 2021-02-23 上海柏楚数控科技有限公司 Routing detection method, device and equipment and storage medium
CN112395824B (en) * 2020-11-26 2023-07-28 上海柏楚数控科技有限公司 Wiring detection method, device and equipment and storage medium
CN115081377A (en) * 2022-06-14 2022-09-20 深圳市一博科技股份有限公司 Method for checking acute angle of time sequence signal printed line path
CN115081376A (en) * 2022-06-14 2022-09-20 深圳市一博科技股份有限公司 Method for checking redundant loops of time sequence signal printed lines
CN116187263A (en) * 2022-12-16 2023-05-30 苏州浪潮智能科技有限公司 Detect loopback routing design methods, systems, terminals and storage media at different levels

Also Published As

Publication number Publication date
CN101751482B (en) 2011-11-09

Similar Documents

Publication Publication Date Title
CN101751482A (en) Method for checking trace of circuit layout
JP7486708B2 (en) Method for correcting design tolerances and measurement system
JP4560117B2 (en) Data point distribution area drawing method in scatter chart and data point distribution area drawing program in scatter chart
CN112272968B (en) Inspection method, inspection system, and recording medium
CN112446103B (en) Machining program generation support device
US20160055267A1 (en) Three-dimensional model generating method, three-dimensional model generating system, and three-dimensional model generating program
PH12017050115A1 (en) Calculation method for compressed air-flow rate, calculation device thereof, and storage medium
JP6675293B2 (en) Manufacturing support method and manufacturing support program
JP2015228078A (en) Information processing apparatus, method, and program
CN105277175A (en) Image measuring apparatus
KR20140053484A (en) Design end checking sytsem for shipbuilding and design end checking method thereof
JP2010147322A (en) Method of creating 3d mounting data of component mounting machine
CN114331135B (en) Process flow management method, device, equipment and storage medium
CN118505900A (en) Dot diagram construction method, system, equipment and medium based on Tekla software
US7840929B2 (en) Method for automatically modifying frame of circuit diagram
US8437981B2 (en) System and method for verifying manufacturing accuracy
CN101211373A (en) Part graph checking method of circuit diagram
US20220373475A1 (en) Information processing apparatus, information processing method, and storage medium
CN113221502B (en) PCB independent network inspection method, device, computer equipment and storage medium
CN117171826A (en) Pattern file editing method
CN105204997B (en) software defect detection method and device
CN110704251A (en) Dynamically configurable testing device and testing method
JP6238435B2 (en) Sealer application requirement check device, sealer application requirement check program, and storage medium
KR20120003626A (en) Block management system and its ship block storage space identification method
CN102456079B (en) The dimension guide system of offline image programming and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170810

Address after: Room 8, building 805, sunshine times, Fenghuang Road, Fenghuang County, Shangrao, Jiangxi, Shangrao

Patentee after: Jiangxi union Speed Technology Co.,Ltd.

Address before: Qingnian Road Taiwan Wanhua District of Taipei city China No. 184 3 2 floor

Patentee before: Fucheng International Machinery Co.,Ltd.

Effective date of registration: 20170810

Address after: Qingnian Road Taiwan Wanhua District of Taipei city China No. 184 3 2 floor

Patentee after: Fucheng International Machinery Co.,Ltd.

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. 66

Patentee before: Yingda Co.,Ltd.

CI01 Publication of corrected invention patent application
CI03 Correction of invention patent

Correction item: Patentee|Address|Patentee

Correct: Jiangxi union Speed Technology Co., Ltd.|334100, room 8, building 805, sunshine times, Fenghuang Avenue, Shangrao County, Jiangxi, Shangrao|Zhang Kaijun

False: Jiangxi union Speed Technology Co., Ltd.|334100, room 8, building 805, sunshine times, Fenghuang Avenue, Shangrao County, Jiangxi, Shangrao

Number: 35-01

Volume: 33

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111109

Termination date: 20171201