In GDS format spec, is layer definition required to be immed

K

Kuhl

Guest
Hi, I am writing a program to read and handle GDS files. In the GDS
files that I have seen, layer definition has been always immediately
after beginning of an element. See examples below. But I don't see the
clear description in GDS format spec, about whether such sequence is
required. If it is required by the spec, then my program would be much
simpler. If it's not required, then my program would have to
understand all possible sequences. Does the spec require such
sequence? Thank you in advance.

0004 0800 is beginning of a boundary element.
0006 0d02 0040 0006 0e02 0000 layer 64.0
004c 1003 ... coordinates of 9 points.
0004 1100 is end of element

0004 0900 is beginning of path
0006 0d02 003f 0006 0e02 0000 layer 63.0
0006 2102 0000 is square ended path.
0008 0f03 0000 00c8 path width is 200.
0034 1003 ... coordinates of 6 points.
0004 1100 is end of element

0004 0c00 is text begin.
0006 0d02 008d is layer 141.
0006 1602 0000 is text type 0.
0006 1701 0005 is center-center justed.
0006 1a01 0000 is R0 and something unkown.
000c 1b05 ... is mag factor ... about 0.256 .
000c 1003 ... coordinate (256, 128).
000e 1906 ... is text string [ label_text ].
0004 1100 is end of element
 

Welcome to EDABoard.com

Sponsor

Back
Top