JPH0492977A - Graphic processing method - Google Patents

Graphic processing method

Info

Publication number
JPH0492977A
JPH0492977A JP2207169A JP20716990A JPH0492977A JP H0492977 A JPH0492977 A JP H0492977A JP 2207169 A JP2207169 A JP 2207169A JP 20716990 A JP20716990 A JP 20716990A JP H0492977 A JPH0492977 A JP H0492977A
Authority
JP
Japan
Prior art keywords
line
line segment
valid
scanning line
segment
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
JP2207169A
Other languages
Japanese (ja)
Other versions
JP2937433B2 (en
Inventor
Kazumasa Morishita
和正 森下
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.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
Fujitsu 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 Fujitsu VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP2207169A priority Critical patent/JP2937433B2/en
Publication of JPH0492977A publication Critical patent/JPH0492977A/en
Application granted granted Critical
Publication of JP2937433B2 publication Critical patent/JP2937433B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce influence to an LSI circuit by eliminating the overlapped part of patterns without generating a minute projecting part and a recessed part even when the intersected point of the outside segment of plural patterns does not exist on a grid. CONSTITUTION:When the outside segments intersect each other between the moving position of a scanning line and the next grid in front of a moving direction, in the case only the one side is effective, an auxiliary segment is generated from the intersected point of the scanning line and the effective outside segment to the next grid in the moving direction of the scanning line, the effective outside segment in the section is made ineffective, and the auxiliary segment is outputted as an effective line, so the generation of the minute projecting and recessed parts is prevented. And, in the case the crossed outside segments are effective each other, both the outside segments are made ineffective in the section from the intersected point of the scanning line and both the outside segment at that moment to the next grid in front of the moving direction of the scanning line. Then, the generation of the minute projecting and recessed parts is prevented, and the influence to the LSI circuit is reduced.

Description

【発明の詳細な説明】 [概要] 図形処理方法に係り、詳しくはマスクパターンの図形デ
ータに基づいてフォトマスク図形、直接描画図形等を生
成するための図形処理方法に関し、例えば複数のパター
ンの外形線分の交点がグリッド上にない場合においても
微小な凹部や凸部を発生させることなくパターン同士の
重なり部を除去することができ、これによりLSI回路
に及ぼす影響を低減することができることを目的とし、
交差した外形線分同士のいずれか一方のみが有効である
場合にはそのときの走査線と有効な外形線分との交点か
ら走査線の移動方向前方における次のグリッドまで補助
線分を発生させ、その補助線分を発生させた区間におけ
る有効外形線分を無効とするとともに、補助線分を有効
線分として出力し、又、その交差した外形線分同士がそ
れぞれ有効である場合にはそのときの走査線と両外形線
分との交点から走査線の移動方向前方における次のグリ
ッドまでの区間における両外形線分を無効にするように
した。
DETAILED DESCRIPTION OF THE INVENTION [Summary] It relates to a graphic processing method, more specifically, to a graphic processing method for generating a photomask graphic, a directly drawn graphic, etc. based on graphic data of a mask pattern, for example, the outline of a plurality of patterns. The purpose is to be able to remove overlapping parts of patterns without creating minute depressions or protrusions even when the intersections of line segments are not on the grid, thereby reducing the effect on LSI circuits. year,
If only one of the intersecting outline segments is valid, an auxiliary line segment is generated from the intersection of the current scanning line and the valid outline segment to the next grid in front of the scanning line in the moving direction. , invalidates the effective outline line segment in the section where the auxiliary line segment was generated, outputs the auxiliary line segment as a valid line segment, and if the intersecting outline segments are valid, Both outline line segments are invalidated in the section from the intersection of the current scanning line and both outline line segments to the next grid in the forward direction of movement of the scanning line.

[産業上の利用分野] 本発明は図形処理方法に係り、詳しくはマスクパターン
の図形データに基づいてフォトマスク図形、直接描画図
形等を生成するための図形処理方法に関するものである
[Industrial Application Field] The present invention relates to a graphic processing method, and more particularly to a graphic processing method for generating photomask graphics, directly drawn graphics, etc. based on graphic data of a mask pattern.

近年のLSIの大規模化、高密度化に伴って図形処理に
対する高精度化の要望が高まっている。
With the recent increase in the scale and density of LSIs, the demand for higher precision in graphic processing is increasing.

即ち、微細化されたLSIチップにおいては図形の微小
な凹部や凸部がLSI回路に及ぼす影響が大きく、図形
処理における誤差によってLSIの特性及び動作が左右
される。
That is, in miniaturized LSI chips, minute concave or convex portions of graphics have a large influence on the LSI circuit, and errors in graphic processing affect the characteristics and operation of the LSI.

又、高密度なLSIを製造するには図形に斜線分を使用
することが効果的であるため、図形処理で斜線分を伴う
図形も処理できることが重要である。しかしながら、斜
線分を伴う図形を処理する場合、水平垂直線分のみで構
成された図形を処理する場合と比較して図形処理の精度
が低下してしまう。
Furthermore, since it is effective to use diagonal line segments in graphics in order to manufacture high-density LSIs, it is important that graphics with diagonal line segments can also be processed in graphic processing. However, when a figure with diagonal line segments is processed, the accuracy of figure processing is lower than when a figure consisting of only horizontal and vertical line segments is processed.

このようなことから、図形処理を行い、描画図形データ
を作成する場合、図形の重なり部の高精度な除去処理が
必要不可欠となる。
For this reason, when graphic processing is performed to create drawn graphic data, highly accurate removal processing of overlapping portions of graphics is essential.

[従来の技術] 従来、例えば第12図に示すように2つのパターンAt
、A2よりなる設計パターンFOの図形データから重な
り部を除去した描画装置用図形データを作成する場合、
図形処理のために最小間隔で配置されたグリッドGを通
る走査線を設計パターンFOに対して一方向(右方向)
に平行移動させ、走査線の各移動位置において同走査線
と直角又は斜めに交差する各パターンAI、A2の外形
線分を全て求める。尚、重なり部を除去するためには外
形線分L13とLi2との交点においても走査線を設定
する必要があるが、位置S3’はグリッド上でないため
走査線を設定できず、走査線を位置Sl、S2.S3.
S4.S5.S6の順に設定して処理が行われる。従っ
て、第12図では走査線が81の位置に来ると線分LI
O,Lllが求められ、走査線が82.S3の位置に来
ると線分L12.LIO,’L14及びLi2が求めら
れ、走査線が84の位置に来ると線分L12゜Li2が
求められ、走査線が85の位置に来ると線分L12.L
i2が求められる。
[Prior Art] Conventionally, for example, as shown in FIG. 12, two patterns At
When creating graphic data for a drawing device by removing the overlapping portion from the graphic data of the design pattern FO consisting of , A2,
Scanning lines passing through grids G arranged at minimum intervals for graphic processing are oriented in one direction (to the right) with respect to the design pattern FO.
, and all outline line segments of each pattern AI and A2 that intersect the scanning line at right angles or obliquely at each movement position of the scanning line are determined. In addition, in order to remove the overlapping part, it is necessary to set a scanning line at the intersection of the outline line segment L13 and Li2, but since the position S3' is not on the grid, the scanning line cannot be set, and the scanning line cannot be set at the position S3'. Sl, S2. S3.
S4. S5. The processing is performed by setting in the order of S6. Therefore, in FIG. 12, when the scanning line reaches position 81, the line segment LI
O,Lll is determined and the scanning line is 82. When it reaches position S3, line segment L12. LIO, 'L14 and Li2 are found, and when the scanning line comes to the position 84, the line segment L12°Li2 is found, and when the scanning line comes to the position 85, the line segment L12. L
i2 is calculated.

次に、走査線の各移動位置において求めた各外形線分が
設計パターンFOの内部であるか否かに基づいて各移動
位置における各外形線分の無効有効を判定し、有効な外
形線分について最初に有効と判定された走査線の移動位
置から無効と判定された走査線の移動位置までの部分を
有効線分として出力する。即ち、走査線が位置S1に来
たときには線分LIO,Lllがそれぞれ最初に有効と
判定され、走査線が位置S2に来たときには線分L12
.Li2がそれぞれ最初に有効と判定される。又、走査
線が位置S2に来たときには線分LIOは設計パターン
FOの内部であるため無効と判定され、線分Lllは位
置S2よりも右方にないため無効と判定される。走査線
が位置S3に来たときには線分L12.Li2がそれぞ
れ有効と判定され、線分LIO,L14が無効と判定さ
れる。走査線が位置S4に来たときには線分L12が有
効と判定されるとともに、線分L14が最初に有効と判
定され、線分L10.L13は位置S4よりも右方にな
いため無効と判定される。又、走査線が位置S5に来た
ときには線分LL2が有効と判定されるとともに、線分
L15が最初に有効と判定され、線分L14は位置S5
よりも右方にないため無効と判定される。さらに、走査
線が位置S6に来たときには線分L12.Li2は位置
S6よりも右方にないため無効と判定される。
Next, based on whether each contour line segment obtained at each movement position of the scanning line is inside the design pattern FO, it is determined whether each contour line segment at each movement position is invalid or valid, and whether the contour line segment is valid or not is determined. The portion from the moving position of the scanning line that was first determined to be valid to the moving position of the scanning line that was determined to be invalid is output as a valid line segment. That is, when the scanning line comes to position S1, line segments LIO and Lll are determined to be valid first, and when the scanning line comes to position S2, line segment L12 is determined to be valid.
.. Li2 are each determined to be valid first. Further, when the scanning line reaches position S2, line segment LIO is determined to be invalid because it is inside the design pattern FO, and line segment Lll is determined to be invalid because it is not to the right of position S2. When the scanning line reaches position S3, line segment L12. Li2 is determined to be valid, and line segments LIO and L14 are determined to be invalid. When the scanning line reaches position S4, line segment L12 is determined to be valid, line segment L14 is determined to be valid first, and line segment L10. Since L13 is not to the right of position S4, it is determined to be invalid. Furthermore, when the scanning line reaches position S5, line segment LL2 is determined to be valid, line segment L15 is determined to be valid first, and line segment L14 is determined to be valid at position S5.
Since it is not to the right of , it is determined to be invalid. Furthermore, when the scanning line reaches position S6, line segment L12. Since Li2 is not to the right of position S6, it is determined to be invalid.

従って、線分LIO,Lllについては位置S1から位
置S2までの部分が有効線分として出力され、線分L1
2については位置S2から位置S6までの部分が有効線
分として出力される。又、線分L13については位置S
2から位置S4までの部分が有効線分として出力され、
線分L14については位置S4から位置S5までの部分
が有効線分として出力される。さらに、線分L15につ
いては位置S5から位置S6までの部分が有効線分とし
て出力される。この結果、第13図に示すように重なり
部が除去された図形F1に図形処理される。
Therefore, for line segments LIO and Lll, the portion from position S1 to position S2 is output as a valid line segment, and line segment L1
2, the portion from position S2 to position S6 is output as an effective line segment. Also, regarding line segment L13, position S
The part from 2 to position S4 is output as a valid line segment,
Regarding line segment L14, the portion from position S4 to position S5 is output as a valid line segment. Furthermore, regarding line segment L15, a portion from position S5 to position S6 is output as a valid line segment. As a result, the graphic processing is performed into a graphic F1 with the overlapping portion removed, as shown in FIG.

[発明が解決しようとする課題] しかしながら、第13図に示す図形Flでは外形線分L
13.L14の交点が存在する位置S3゜84間に微小
な凹部(又は凸部)Faが形成されることとなり、LS
I回路に影響がでる可能性がある。このため、これらの
影響を考慮に入れた設計パターンの作成が必要であるた
め微細化の妨げとなっている。
[Problem to be solved by the invention] However, in the figure Fl shown in FIG.
13. A minute recess (or protrusion) Fa is formed between position S3°84 where the intersection of L14 exists, and LS
The I circuit may be affected. Therefore, it is necessary to create a design pattern that takes these influences into consideration, which hinders miniaturization.

本発明は上記問題を解決するためになされたものであっ
て、例えば複数のパターンの外形線分の交点がグリッド
上にない場合においても微小な凹部や凸部を発生させる
ことなくパターン同士の重なり部を除去することができ
、これによりLSI回路に及ぼす影響を低減することが
できる図形処理方法を提供することを目的とする。
The present invention has been made to solve the above-mentioned problem. For example, even when the intersections of the outline segments of a plurality of patterns are not on the grid, the patterns can overlap each other without generating minute depressions or protrusions. It is an object of the present invention to provide a graphic processing method that can remove portions and thereby reduce the influence on LSI circuits.

[課題を解決するための手段] 上記目的を達成するため、本発明は、重複部分を有する
複数のパターンで構成された設計パターンの図形データ
から重なり部を除去した描画図形作成のための図形処理
を行うに際し、図形処理のために最小間隔て配置された
グリッドを通る走査線を前記設計パターンに対して一方
向に平行移動させ、走査線の各移動位置において同走査
線と直角又は斜めに交差する各パターンの外形線分を全
て求める。そして、走査線の各移動位置において求めた
各外形線分が前記設計パターンの内部であるか否かに基
づいて前記各移動位置における各外形線分の無効有効を
判定し、有効な外形線分について最初に有効と判定され
た走査線の移動位置から無効と判定された走査線の移動
位置までの部分を有効線分として出力する。この際、走
査線の各移動位置で求めた各外形線分においてそのとき
の走査線の移動位置と走査線の移動方向前方における次
のグリッドとの間で外形線分同士が交差するとき、その
交差した外形線分同士のいずれか一方のみが有効である
場合にはそのときの走査線と有効な外形線分との交点か
ら走査線の移動方向における次のグリッドまで補助線分
を発生させ、その補助線分を発生させた区間における有
効外形線分を無効とするとともに、前記補助線分を有効
線分として出力する。又、その交差した外形線分同士が
それぞれ有効である場合にはそのときの走査線と両外形
線分との交点から走査線の移動方向前方における次のグ
リッドまでの区間における両外形線分を無効にする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides graphic processing for creating drawn figures by removing overlapping parts from graphic data of a design pattern composed of a plurality of patterns having overlapping parts. When performing graphic processing, scanning lines passing through grids arranged at minimum intervals are moved parallel to the design pattern in one direction, and intersect the same scanning line at right angles or diagonally at each position of movement of the scanning line. Find all the outline line segments of each pattern. Then, based on whether each contour line segment obtained at each movement position of the scanning line is inside the design pattern, it is determined whether or not each contour line segment at each movement position is valid. The portion from the moving position of the scanning line that was first determined to be valid to the moving position of the scanning line that was determined to be invalid is output as a valid line segment. At this time, when the outline line segments obtained at each scanning line movement position intersect with each other between the scanning line movement position at that time and the next grid in front of the scanning line movement direction, If only one of the intersecting outline line segments is valid, an auxiliary line segment is generated from the intersection of the current scanning line and the valid outline segment to the next grid in the scanning line movement direction, The effective outline line segment in the section where the auxiliary line segment was generated is invalidated, and the auxiliary line segment is output as a valid line segment. In addition, if the intersecting contour line segments are valid, both contour line segments in the section from the intersection of the current scanning line and both contour line segments to the next grid in the forward direction of movement of the scanning line are calculated. To disable.

[作用] 従って、走査線の各移動位置で求めた各外形線分におい
てそのときの走査線の移動位置と走査線の移動方向前方
における次のグリッドとの間で外形線分同士が交差する
とき、交差した外形線分同士のいずれか一方のみが有効
である場合にはそのときの走査線と有効な外形線分との
交点から走査線の移動方向における次のグリッドまで補
助線分が発生され、その補助線分を発生させた区間にお
ける有効外形線分が無効化されるとともに、補助線分が
有効線分として出力されるため、微小な凹部や凸部の発
生が防止される。又、交差した外形線分同士がそれぞれ
有効である場合にはそのときの走査線と両外形線分との
交点から走査線の移動方向前方における次のグリッドま
での区間における両外形線分が無効されるため、微小な
凹部や凸部の発生が防止される。このように微小な凹部
や凸部の発生が防止されることにより、LSI回路への
影響が低減される。
[Operation] Therefore, when the outline line segments obtained at each scanning line movement position intersect with each other between the scanning line movement position at that time and the next grid ahead in the scanning line movement direction, , if only one of the intersecting contour line segments is valid, an auxiliary line segment is generated from the intersection of the current scan line and the valid contour line segment to the next grid in the direction of movement of the scan line. Since the effective outline line segment in the section where the auxiliary line segment was generated is invalidated and the auxiliary line segment is output as a valid line segment, the generation of minute recesses and protrusions is prevented. Also, if the intersecting outline line segments are valid, both outline segments in the section from the intersection of the current scanning line and both outline segments to the next grid in the forward direction of the scanning line are invalid. This prevents the formation of minute recesses and protrusions. By preventing the formation of minute concave portions and convex portions in this manner, the influence on the LSI circuit is reduced.

「実施例コ 以下、本発明を具体化した一実施例を第1〜11図に従
って説明する。
``Example 1'' An example embodying the present invention will be described below with reference to FIGS. 1 to 11.

第1図に本発明を実施するための図形処理装置の電気的
な概略構成を示す。図形処理装置のCPU1はシステム
制御部2、被処理図形データ入力部3、図形処理部4、
描画データ出力処理部5からなり、フォトマスク図形、
直接描画図形等の作成を行なう。即ち、システム制御部
2は図形変換処理を指示する制御コマンド6が入力され
ると、所定の図形処理プログラムを起動させ、図形デー
タ7を被処理図形データ入力部3に読み込む。そして、
システム制御部2は作業用直接アクセス装置8を用いて
図形処理部4で図形処理を実行し、処理経過を処理リス
ト9に出力させるとともに、フォトマスク図形、直接描
画図形等の出力データ10を磁気テープ等に出力させる
FIG. 1 shows a schematic electrical configuration of a graphic processing device for implementing the present invention. The CPU 1 of the graphics processing device includes a system control section 2, a graphics data input section 3, a graphics processing section 4,
Consists of a drawing data output processing section 5, which outputs photomask figures,
Create direct drawing figures, etc. That is, when the system control section 2 receives the control command 6 instructing the graphic conversion process, it starts a predetermined graphic processing program and reads the graphic data 7 into the graphic data input section 3 to be processed. and,
The system control unit 2 executes graphic processing in the graphic processing unit 4 using the work direct access device 8, outputs the processing progress to a processing list 9, and outputs output data 10 such as photomask figures, directly drawn figures, etc. to a magnetic tape. output to etc.

第2図は上記図形処理部4が実行する図形処理プログラ
ムの詳細を示すフローチャートである。
FIG. 2 is a flowchart showing details of the graphic processing program executed by the graphic processing section 4. As shown in FIG.

まず、ステップ11で被処理図形データ入力部3に入力
された図形データ7を線分化する。即ち、例えば第6図
に示すように2つのパターンA3゜A4よりなる設計パ
ターンF2では水平又は斜めの外形線分を取り出し、第
3図に示すようにその線分方向コード、左端点X座標、
左端点Y座標及び右端点X座標よりなる線分データを図
形線分フォーマットとして作業用直接アクセス装置8に
出力する。従って、作業用直接アクセス装置8にはX軸
に平行な一線分L1〜L3.L6〜L8と斜線骨L4.
L5の線分データのみが格納される。
First, in step 11, the graphic data 7 input to the processed graphic data input section 3 is segmented into lines. That is, for example, as shown in FIG. 6, in a design pattern F2 consisting of two patterns A3 and A4, a horizontal or diagonal outline line segment is extracted, and as shown in FIG. 3, its line segment direction code, left end point X coordinate,
The line segment data consisting of the Y coordinate of the left end point and the X coordinate of the right end point is output to the working direct access device 8 as a graphic line segment format. Therefore, the working direct access device 8 includes line segments L1 to L3 parallel to the X axis. L6-L8 and oblique bone L4.
Only line segment data of L5 is stored.

次にステップI2で左端点X座標を第一キー左端点Y座
標を第二キー、又右端点X座標を第三キーとして前記ス
テップ11で作業用直接アクセス装置8に格納した各線
分データを昇順に分類する。即ち、第6図のパターンF
2では線分Ll〜L8の順に分類されることになる。
Next, in step I2, each line segment data stored in the working direct access device 8 in step 11 is sorted in ascending order using the left end point X coordinate as the first key, the left end point Y coordinate as the second key, and the right end point X coordinate as the third key. Classify. That is, pattern F in FIG.
2, the line segments are classified in the order of Ll to L8.

次いで、ステップ13で図形処理部4の内部記憶領域M
を第4図に示すように前記第3図に示す図形線分フォー
マットの記憶部21aとポインター21bとを備えたノ
ード21で区切り、ポインター21bによって各ノード
21を全て連結する。
Next, in step 13, the internal storage area M of the graphic processing section 4 is
As shown in FIG. 4, each node 21 is divided by nodes 21 each having a storage section 21a and a pointer 21b in the graphic line segment format shown in FIG. 3, and all the nodes 21 are connected by the pointer 21b.

そして、連結された最後のノード21のポインター21
bと連結の最初を示すルートポインター22とを連結の
終わりを認識するための値であるセンチネル(5enL
 1nel)に設定し、内部記憶領域Mをその全ての領
域を空き領域とした作業連結領域(ワーク・リスト)と
して定義する。
Then, the pointer 21 of the last connected node 21
b and the root pointer 22 indicating the beginning of the connection, and the sentinel (5enL), which is a value for recognizing the end of the connection.
1nel), and defines the internal storage area M as a work concatenation area (work list) with all areas as free areas.

次いで、ステップ14で第6図に破線で示すようにパタ
ーンF2の各線分L1〜L8の端点か配置された図形処
理のための最小間隔のグリッドを通る走査線をスイープ
・ラインとし、スイープ・ラインに対して前記作業用直
接アクセス装置8で最小のX座標値、即ち、線分L1の
左端点X座標値をセットすることによりスイープ・ライ
ンの初期設定を行なう。尚、本実施例においてスイープ
・ラインはX座標値が大きくなる方向に走査されるとと
もに、X座標値が大きくなる方向に平行移動される。
Next, in step 14, as shown by broken lines in FIG. 6, a scanning line passing through a grid with the minimum interval for graphic processing, in which the end points of each line segment L1 to L8 of the pattern F2 are arranged, is defined as a sweep line. The sweep line is initialized by setting the minimum X coordinate value, that is, the X coordinate value of the left end point of the line segment L1, using the working direct access device 8. In this embodiment, the sweep line is scanned in the direction in which the X coordinate value increases, and is also translated in the direction in which the X coordinate value increases.

次に、ステップ15でスイープ・ラインと直角又は斜め
に交差する線分のうち、スイープ・ラインよりもX座標
値が大きい部分を持つ線分を作業用直接アクセス装置8
からワーク・リストMにX座標値の小さい線分から順に
取り込むことによって外形線分群を求める。第5図は第
6図の81の位置にスイープ・ラインが来た時のワーク
・リストMの状態を示しており、線分Ll、L2の線分
データが順次取り込まれる。以下、スイープ・ラインが
順次82〜S7の位置に来ると線分L2〜L8の線分デ
ータが取り込まれる。
Next, in step 15, among the line segments that intersect the sweep line at right angles or diagonals, the line segment having a portion whose X coordinate value is larger than that of the sweep line is transferred to the work direct access device 8.
A group of outline line segments is obtained by sequentially importing the line segments having the smallest X coordinate value into the work list M. FIG. 5 shows the state of the work list M when the sweep line arrives at position 81 in FIG. 6, and the line segment data of line segments L1 and L2 are sequentially captured. Thereafter, when the sweep line sequentially reaches positions 82 to S7, line segment data of line segments L2 to L8 are taken in.

ステップ16ではワーク・リストM内の線分データを先
頭のデータから順次たどり図形線分の無効有効を判定す
る。即ち、判定すべき線分の方向をワーク・リストMに
おける1つ前の線分の方向と比較し、前の線分の方向と
同方向である場合には前の線分の判定値に「1」を加え
、前の線分の方向と反対方向である場合には前の線分の
判定値の符号を反転することより当該線分に対して判定
値を設定する。そして、判定すべき線分の判定値か「±
1」の場合にはその線分が設計パターンの内部にない、
即ち、外形線であるとして有効と判定し、判定値が「±
1」以外の場合にはその線分が設計パターンの内部にあ
るとして無効と判定する。尚、ワーク・リストMにおけ
る先頭の線分データの判定値は、第6図に例えば二点鎖
線で示すように線分L3よりもY座標値の小さい線分L
Oを仮定するとともにその判定値を「−1」とし、先頭
の線分データと線分LOとを比較することにより設定す
る。
In step 16, the line segment data in the work list M is sequentially traced from the first data to determine whether the graphic line segment is invalid or valid. That is, the direction of the line segment to be judged is compared with the direction of the previous line segment in the work list M, and if it is the same direction as the previous line segment, the judgment value of the previous line segment is set to ``. 1'' is added, and if the direction is opposite to the direction of the previous line segment, the sign of the judgment value of the previous line segment is inverted, thereby setting a judgment value for the line segment. Then, the judgment value of the line segment to be judged is “±”
1", the line segment is not inside the design pattern,
In other words, it is determined that it is an outline line and is valid, and the determination value is "±".
1", the line segment is determined to be invalid because it is inside the design pattern. Note that the determination value of the first line segment data in the work list M is the line segment L whose Y coordinate value is smaller than the line segment L3, as shown by the two-dot chain line in FIG.
It is set by assuming O and setting the determination value to "-1", and comparing the first line segment data and the line segment LO.

従って、例えば第6図の84の位置にスイープ・ライン
が来た時には、ワーク・リストM内の線分データは線分
L3.L5.L4.L2となり、各線分L3.L5.L
4.L2の判定値はそれぞれr−+−t」、  r+2
J、  r−2J、  r−IJとなって線分L3.L
2は有効と判定され、線分L5゜L4は無効と判定され
る。
Therefore, for example, when the sweep line arrives at position 84 in FIG. 6, the line segment data in work list M becomes line segment L3. L5. L4. L2, and each line segment L3. L5. L
4. The judgment values of L2 are r-+-t'' and r+2, respectively.
J, r-2J, r-IJ, and the line segment L3. L
2 is determined to be valid, and line segment L5°L4 is determined to be invalid.

そして、ステップ17ではそのときのスイープ・ライン
の移動位置で求めた各外形線分群において、その移動位
置におけるグリッドとスイープ・ラインの移動方向前方
における次のグリッドとの間に交差する線分対があるか
否かを判定し、交差する線分対がある場合には後記する
補助線分の発生処理を行う。
Then, in step 17, in each group of outline line segments obtained at the current sweep line movement position, a line segment pair that intersects between the grid at that movement position and the next grid in front of the sweep line movement direction is determined. It is determined whether or not there is a pair of line segments that intersect, and if there is a pair of line segments that intersect, a process for generating an auxiliary line segment, which will be described later, is performed.

次のステップ18ではワーク・リストM内の線分の中で
スイープ・ラインの移動方向においてそのときのスイー
プ・ラインより後方(左方)と前方(右方)で有効から
無効に変化した線分を出力データ10として磁気テープ
等に出力するとともに、そのときのスイープ・ラインよ
り後方と前方で無効から有効に変化した線分をスイープ
・ラインで切断して無効部分を除去する。即ち、有効な
外形線分について最初に有効と判定された走査線の移動
位置から無効と判定された走査線の移動位置までの部分
を有効線分として出力する。
In the next step 18, among the line segments in the work list M, the line segments that have changed from valid to invalid in the moving direction of the sweep line at the rear (to the left) and in front (to the right) of the current sweep line are checked. is output as output data 10 to a magnetic tape or the like, and the line segments that change from invalid to valid at the rear and front of the sweep line at that time are cut by the sweep line to remove invalid portions. That is, the portion of the valid outline line segment from the moving position of the scanning line that was first determined to be valid to the moving position of the scanning line that was determined to be invalid is output as a valid line segment.

ステップ19では次のスイープ・ラインの位置を設定す
る。即ち、ワーク・リストM上の線分のうち、右端点X
座標値かそのときのスイープ・ラインの位置より大きい
値と、線分同士の交点のX座標値と、作業用直接アクセ
ス装置8の未処理の先頭線分の左端点X座標値のうち最
も小さいものをスイープ・ライン値としてスイープ・ラ
インを設定する。尚、線分同士の交点がグリッド上にな
い場合には、交点のX座標値に代えて、そのX座標値を
クリット幅で除算して小数点以下を切捨てた値又は切上
げた値にグリッド幅を乗算した値、即ち、X軸方向にお
いて交点の直前又は直後のグリッドのX座標値とする。
In step 19, the position of the next sweep line is set. In other words, the right end point X of the line segment on the work list M
The smallest of the coordinate value or a value larger than the current position of the sweep line, the X coordinate value of the intersection of the line segments, and the X coordinate value of the left end point of the unprocessed first line segment of the direct access device 8 for work. Set the sweep line with as the sweep line value. In addition, if the intersection of line segments is not on the grid, instead of using the X coordinate value of the intersection point, divide the X coordinate value by the crit width and round down or round up the decimal point to set the grid width. The multiplied value is the X coordinate value of the grid immediately before or after the intersection in the X-axis direction.

そして、ステップ20に進んで作業用直接アクセス装置
8あるいはワーク・リストM中に未処理の線分データが
残っているか否かを判別し、残っていれば前記ステップ
15に戻って作業用直接アクセス装置8内の線分データ
とワーク・リストM内の線分データがなくなるまで上記
ステップ15〜20を繰り返す。一方、線分が残ってい
なげればそのまま処理を終える。
Then, the process proceeds to step 20 to determine whether or not unprocessed line segment data remains in the work direct access device 8 or the work list M. If there remains, the process returns to step 15 and the work direct access device 8 Steps 15 to 20 are repeated until there are no more line segment data in the work list M than line segment data in the work list M. On the other hand, if there are no line segments left, the process ends.

次に、前記ステップ17で外形線分同士の交点かグリッ
ド上にない場合における補助線分の発生処理を第7〜1
0図に基づいて説明する。
Next, in step 17, the generation process of auxiliary line segments when the intersections of the outline line segments are not on the grid is performed in steps 7 to 1.
This will be explained based on Figure 0.

第7〜10図において、黒丸(・)は図形処理のための
最小間隔のグリッドを、実線は処理対象の線分の一部を
示し、破線はスイープ・ラインを示す。
In FIGS. 7 to 10, black circles (.) indicate grids with minimum spacing for graphic processing, solid lines indicate part of line segments to be processed, and broken lines indicate sweep lines.

第7図(a)に示す位置にスイープ・ラインが来た時、
線分L20が有効、線分L21が無効と判定されると、
同図(b)に示すように有効な線分L20とスイープ・
ラインとの交点(グリッド)Glからスイープ・ライン
を1グリツド前方(右方)へ移動させた時の線分L21
との交点(グリッド)G2まで補助線分C1を発生させ
る。そして、補助線分C1を有効線分として出力し、そ
の補助線分CIを発生させた区間における線分L20の
部分を無効とするとともに、スイープ・ラインの後方(
左方)における線分L20を有効線分として出力する。
When the sweep line comes to the position shown in Figure 7(a),
When it is determined that line segment L20 is valid and line segment L21 is invalid,
As shown in the same figure (b), the effective line segment L20 and the sweep
Line segment L21 when the sweep line is moved one grid point forward (to the right) from the intersection with the line (grid) Gl
An auxiliary line segment C1 is generated up to the intersection (grid) G2. Then, the auxiliary line segment C1 is output as a valid line segment, and the part of the line segment L20 in the section where the auxiliary line segment CI was generated is invalidated, and the part behind the sweep line (
The line segment L20 on the left side) is output as a valid line segment.

第8図(a)に示す位置にスイープ・ラインが来た時、
線分L22が無効、線分L2’3が有効と判定されると
、同図(b)に示すように有効な線分L23とスイープ
・ラインとの交点(グリッド)G3からスイープ・ライ
ンを1グリツド前方(右方)へ移動させた時の線分L2
2との交点(グリッド)G4まで補助線分C2を発生さ
せる。そして、補助線分C2を有効線分として出力し、
その補助線分C2を発生させた区間における線分L23
の部分を無効とするとともに、スイープ・ラインの後方
(左方)における線分L23を有効線分として出力する
When the sweep line comes to the position shown in Figure 8(a),
When it is determined that the line segment L22 is invalid and the line segment L2'3 is valid, the sweep line is moved by 1 from the intersection (grid) G3 of the valid line segment L23 and the sweep line, as shown in FIG. Line segment L2 when moving the grid forward (to the right)
An auxiliary line segment C2 is generated up to the intersection (grid) G4 with 2. Then, output the auxiliary line segment C2 as an effective line segment,
Line segment L23 in the section where the auxiliary line segment C2 was generated
The line segment L23 at the rear (left side) of the sweep line is output as a valid line segment.

第9図(a)に示す位置にスイープ・ラインが来た時、
線分L24.L25がそれぞれ有効と判定されると、同
図(b)に示すようにそのときのスイープ・ラインの移
動位置からスイープ・ラインを1グリツド前方(右方)
へ移動させた時の線分L24゜L25との交点(グリッ
ド)G5.G6までの区間における両線分L24.L2
5の部分を無効とするとともに、スイープ・ラインの後
方(左方)における線分L24.L25を有効線分とし
て出力する。
When the sweep line comes to the position shown in Figure 9(a),
Line segment L24. When each of L25 is determined to be valid, the sweep line is moved one grid ahead (to the right) from the current sweep line movement position, as shown in Figure (b).
Intersection (grid) with line segment L24°L25 when moved to G5. Both line segments L24. in the section up to G6. L2
5 is invalidated, and the line segment L24.5 at the rear (left side) of the sweep line is invalidated. Output L25 as an effective line segment.

第10図(a)に示す位置にスイープ・ラインが来た時
、線分L26.L27がそれぞれ無効と判定されると、
同図(b)に示すように何も処理しない。
When the sweep line comes to the position shown in FIG. 10(a), line segment L26. When each L27 is determined to be invalid,
As shown in FIG. 2(b), no processing is performed.

従って、本実施例の図形処理方法を第12図に示す設計
パターンFOに対して実施すると、スイープ・ラインが
Sl、S2,84〜S6の位置に来たときには第13図
に示した従来例と同様の処理が行われる。スイープ・ラ
インが83の位置に来たときには、線分LI2.LIO
,LI4゜Li2がワーク・リストM内に取り込まれる
。そして、各線分L12.LIO,Li2.Li2の判
定値はそれぞれr+1.+、r+2」、r−2J。
Therefore, when the graphic processing method of this embodiment is applied to the design pattern FO shown in FIG. Similar processing is performed. When the sweep line reaches position 83, line segment LI2. LIO
, LI4°Li2 are taken into the work list M. Then, each line segment L12. LIO, Li2. The judgment values of Li2 are r+1. +, r+2'', r-2J.

「−1」となって線分L12.Li2は有効と判定され
、線分LIO,L14は無効と判定される。
It becomes "-1" and line segment L12. Li2 is determined to be valid, and line segments LIO and L14 are determined to be invalid.

このとき、交差する線分L13.L14は線分L13が
有効、線分L14が無効となるため前記第8図に示した
例を適用でき、第11図に示すように位置S3における
スイープ・ラインと線分L13との交点(グリッド)G
aから位置S4におけるスイープ・ラインと線分L14
との交点(グリッド)Gbまで補助線分COが発生され
、この補助線分COが有効線分として出力される。
At this time, the intersecting line segment L13. For L14, the line segment L13 is valid and the line segment L14 is invalid, so the example shown in FIG. 8 can be applied, and as shown in FIG. )G
Sweep line and line segment L14 from a to position S4
An auxiliary line segment CO is generated up to the intersection (grid) Gb with Gb, and this auxiliary line segment CO is output as an effective line segment.

又、位置S3から位置S4までの区間における線分L1
3の部分が無効化され、位置S3の後方(左方)におけ
る線分L13が有効線分として出力される。
Also, line segment L1 in the section from position S3 to position S4
3 is invalidated, and the line segment L13 behind (to the left of) the position S3 is output as a valid line segment.

この結果、第11図に示すように重なり部が除去された
図形F3に図形処理され、外形線分L13゜Li2の交
点が存在する位置83,84間には微小な凹部Fa(第
13図に示す)の発生を防止でき、これによりLSI回
路に及ぼす影響を低減することができる。
As a result, as shown in FIG. 11, the figure F3 is processed to have the overlapping portion removed, and a minute recess Fa (as shown in FIG. ) can be prevented from occurring, thereby reducing the influence on the LSI circuit.

なお、本実施例ではスイープ・ラインはY座標値が大き
くなる方向に走査されるとともに、X座標値が大きくな
る方向に平行移動されるものとしたが、これに限定され
るものではなく、スイープ・ラインの走査方向及び移動
方向を任意に設定して実施してもよい。
Note that in this embodiment, the sweep line is scanned in the direction in which the Y-coordinate value increases, and is also translated in the direction in which the X-coordinate value increases; however, the sweep line is not limited to this; - The scanning direction and moving direction of the line may be set arbitrarily.

[発明の効果コ 以上詳述したように、本発明によれば、例えば複数のパ
ターンの外形線分の交点がグリッド上にない場合におい
ても微小な凹部や凸部を発生させることなくパターン同
士の重なり部を除去することができ、これによりLSI
回路に及ぼす影響を低減することができる優れた効果が
ある。
[Effects of the Invention] As described in detail above, according to the present invention, even when the intersections of the outline segments of a plurality of patterns are not on the grid, patterns can be intersected without producing minute recesses or protrusions. The overlapping portion can be removed, which allows the LSI
It has an excellent effect of reducing the influence on the circuit.

【図面の簡単な説明】[Brief explanation of the drawing]

第1〜11図は本発明の図形処理方法を具体化した一実
施例を示す図であり、 第1図は図形処理装置の電気的構成を示す概略図、 第2図は図形処理プログラムを示すフローチャート、 第3図は図形線分データを示す図、 第4図はワーク・リストの初期設定後の構造を示す図、 第5図はワーク・リストの線分登録後の構造を示す図、 第6図は線分の分類方法を説明する図、第7図(a)、
 (b)は補助線分の発生処理を示す図、第8図(a)
、 (b)は補助線分の発生処理を示す図、第9図(a
)、 (b)は補助線分の発生処理を示す図、第10図
(a)、 (b)は補助線分の発生処理を示す図、第1
1図は一実施例の図形処理方法における作用説明図であ
る。 第12図は設計パターンを示す図、 第13図は従来の図形処理方法における作用説明図であ
る。 9は処理リスト、 10は出力データである。 図において、 1はCPU。 2はシステム制御部、 3よ被処理図形データ入力部、 4よ図形処理部、 5よ描画データ出力処理部、 6ま制御コマンド、 7ま図形データ、 8よ作業用直接アクセス装置、 ワ 第4図 り・リストの初期設定後の構造各示す国策7図 補助線分の発生処y1各示す図 (a) (b) 第8図 補助線分の発生処理を示す図 ワ 第5図 り・リストの線分登録管の構造を示す図5entlne
i 第9図 補助線分の発生′I11理を示す図 (a) 第10図 補助線分の発生処y1を示す図 (a) −実I!例の図形処理方法における作用説明図第12図 設計ノ可ターン杏示す図 第13図
1 to 11 are diagrams showing an embodiment embodying the graphic processing method of the present invention, FIG. 1 is a schematic diagram showing the electrical configuration of a graphic processing device, and FIG. 2 is a diagram showing a graphic processing program. Flowchart, Figure 3 is a diagram showing figure line segment data, Figure 4 is a diagram showing the structure of the work list after initial setting, Figure 5 is a diagram showing the structure of the work list after line segments are registered, Figure 6 is a diagram explaining the method of classifying line segments, Figure 7 (a),
(b) is a diagram showing the generation process of auxiliary line segments, and Figure 8 (a)
, (b) is a diagram showing the generation process of auxiliary line segments, and FIG.
), (b) are diagrams showing the auxiliary line segment generation process, FIGS. 10(a) and 10(b) are diagrams showing the auxiliary line segment generation process,
FIG. 1 is an explanatory diagram of the operation in the graphic processing method of one embodiment. FIG. 12 is a diagram showing a design pattern, and FIG. 13 is an explanatory diagram of the operation in a conventional graphic processing method. 9 is a processing list, and 10 is output data. In the figure, 1 is the CPU. 2 is a system control unit; 3 is a graphic data input unit to be processed; 4 is a graphic processing unit; 5 is a drawing data output processing unit; 6 is a control command; 7 is graphic data; 8 is a direct access device for work;・Structure after initial setting of list Figure 5entlne showing the structure of the registration tube
i Fig. 9 A diagram showing the generation process y1 of an auxiliary line segment (a) Fig. 10 A diagram showing the generation process y1 of an auxiliary line segment (a) -Real I! Fig. 12 is an explanatory diagram of the operation of the example graphic processing method. Fig. 13 is a diagram showing possible design turns.

Claims (1)

【特許請求の範囲】 重複部分を有する複数のパターンで構成された設計パタ
ーンの図形データから重なり部を除去した描画図形作成
のための図形処理を行うに際し、図形処理のために最小
間隔で配置されたグリッドを通る走査線を前記設計パタ
ーンに対して一方向に平行移動させ、走査線の各移動位
置において同走査線と直角又は斜めに交差する各パター
ンの外形線分を全て求め、走査線の各移動位置において
求めた各外形線分が前記設計パターンの内部であるか否
かに基づいて前記各移動位置における各外形線分の無効
有効を判定し、有効な外形線分について最初に有効と判
定された走査線の移動位置から無効と判定された走査線
の移動位置までの部分を有効線分として出力するように
した図形処理方法において、 前記走査線の各移動位置で求めた各外形線分においてそ
のときの走査線の移動位置と走査線の移動方向前方にお
ける次のグリッドとの間で外形線分同士が交差するとき
、その交差した外形線分同士のいずれか一方のみが有効
である場合にはそのときの走査線と有効な外形線分との
交点から走査線の移動方向前方における次のグリッドま
で補助線分を発生させ、その補助線分を発生させた区間
における有効外形線分を無効とするとともに、前記補助
線分を有効線分として出力し、又、その交差した外形線
分同士がそれぞれ有効である場合にはそのときの走査線
と両外形線分との交点から走査線の移動方向前方におけ
る次のグリッドまでの区間における両外形線分を無効と
するようにしたことを特徴とする図形処理方法。
[Scope of Claims] When performing graphic processing for creating a drawn figure by removing overlapping parts from the graphic data of a design pattern composed of a plurality of patterns having overlapping parts, a plurality of patterns are arranged at minimum intervals for the graphic processing. The scanning line passing through the grid is moved parallel to the design pattern in one direction, and at each position of the scanning line, all outline segments of each pattern that intersect the same scanning line at right angles or obliquely are determined. Based on whether each contour line segment obtained at each movement position is inside the design pattern, it is determined whether each contour line segment at each movement position is invalid or valid, and the valid contour line segments are first determined to be valid. In a graphic processing method in which a portion from a determined scanning line movement position to a scanning line movement position determined to be invalid is output as a valid line segment, each outline line obtained at each movement position of the scanning line. When outline line segments intersect with each other between the current scanning line movement position and the next grid ahead in the scanning line movement direction, only one of the intersecting outline line segments is valid. In this case, an auxiliary line segment is generated from the intersection of the current scanning line and the valid outline line segment to the next grid in front of the scanning line in the moving direction, and the effective outline line segment is generated in the section where the auxiliary line segment is generated. is invalidated, the auxiliary line segment is output as a valid line segment, and if the intersecting contour line segments are valid, scanning is performed from the intersection of the current scanning line and both contour line segments. A graphic processing method characterized in that both outline line segments in a section up to the next grid in the forward direction of line movement are invalidated.
JP2207169A 1990-08-03 1990-08-03 Figure processing method Expired - Fee Related JP2937433B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2207169A JP2937433B2 (en) 1990-08-03 1990-08-03 Figure processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2207169A JP2937433B2 (en) 1990-08-03 1990-08-03 Figure processing method

Publications (2)

Publication Number Publication Date
JPH0492977A true JPH0492977A (en) 1992-03-25
JP2937433B2 JP2937433B2 (en) 1999-08-23

Family

ID=16535377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2207169A Expired - Fee Related JP2937433B2 (en) 1990-08-03 1990-08-03 Figure processing method

Country Status (1)

Country Link
JP (1) JP2937433B2 (en)

Also Published As

Publication number Publication date
JP2937433B2 (en) 1999-08-23

Similar Documents

Publication Publication Date Title
JP2000162758A (en) Method for correcting optical proximity effect
US5179645A (en) Method of recognizing overlapped graphics in each degree of overlapping thereof
JPS6246036B2 (en)
EP0225257A2 (en) System for inspecting exposure pattern data of semiconductor integrated circuit device
JP5810701B2 (en) Optical proximity effect correction method, design method, and design apparatus
JPH0492977A (en) Graphic processing method
KR20050062567A (en) Method for correcting mask pattern
JP2001281836A (en) Method for correcting photomask pattern, method for manufacturing photomask and recording medium
JP2922042B2 (en) Wiring pattern gap check method
WO2024100796A1 (en) Signal processing circuit, signal processing method, and program
JP2680295B2 (en) Method and apparatus for drawing data of electron beam exposure apparatus
JP2000222449A (en) Method for graphic processing
JPH05291403A (en) Pattern data processing method for semiconductor integrated circuit
JPH0640344B2 (en) How to edit shapes
JP3684756B2 (en) Method and apparatus for measuring line width of exposure mask
JP3481294B2 (en) Automatic dimension line drawing system
JP3145724B2 (en) Graphic data converter
JPH04286314A (en) Method for division of polygonal pattern in exposing device
JPH0588357A (en) Method for inspecting mask pattern
CN115829998A (en) Mask pattern processing method, device, equipment and storage medium
JPH07113975B2 (en) Center of gravity detector
JP2938915B2 (en) Pattern processing method
JPH04253318A (en) Graphic dividing method for exposure with electron beam
JPH08241424A (en) Interactive drawing input method
JPH10319572A (en) Manufacture of halftone phase shift mask

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees