ASCII Output Syntax (Compressed)


GDS_BGNLIB

LIBRARY <LIBNAME> <UNITS> <GRID>

<LIBNAME>  	    REFERS TO THE LIBRARY NAME EMBEDDED IN THE GDSII FILE. 
	         

<UNITS>    	    ONE OF THE FOLLOWING: "KM", "M", "CM", "MM", "UM"
                  

<GRID>            DEFINES THE DATA PRECISION

Example

  LIBRARY ISS.GDS unit:UM grid:1000



PATH

PATH <LAYER> <DATATYPE> <PATHTYPE> [WIDTH]
<XY_1>
..
..
..
<XY_N>
ENDEL

Example

  PATH 4 0 0
  0 3000
  204000 3000
  204000 -3000
  0 -3000
  0 3000
  ENDEL

NOTE: N must be at least 2 and not more than 200 to adhere to the original GDSII spec... GDS2ASCII supports a max N of 8191.




BGNSTR

STRUCT <STRUCTURE_NAME>

Example

  STRUCT HVLS

NOTE: Structure names should be limited to 32 characters max and should only use A-Z, 0-9 and special characters _,[,], and $.




ENDSTR

ENDSTR

NOTE: Used to close the structure definition.




AREF

AREF <STRUCTURE_NAME> <X_MIRROR> <SCALE> <ANGLE> <COLUMNS> <ROWS> <XYINSERT> <XY_2> <XY_3>


<X_MIRROR>                               ONE OF THE FOLLOWING:
                                         M0 - NO REFLECTION
                                         MX - REFLECTION ACROSS X AXIS

<ANGLE>                                  DEFINED IN DEGREES
<XYINSERT>                               XY PAIR INSERTION POINT
<XY_2> AND <XY_3>                  XY PAIRS DEFINING DISPLACEMENT BETWEEN CELLS

Example

AREF CONT M0 1.000000 0.000000 1 4 6000 41000  6000 41000  6000 73000



GDS_BOX

BOX <LAYER> <BOXTYPE>

<XY_1>
<XY_2>
<XY_3>
..
..
..
<XY_N>
ENDEL

Example

  BOX 43 2
  92000 -7000
  106000 -7000
  106000 19000
  92000 19000
  92000 -7000
  ENDEL

NOTE: N must always be = 5




GDS_SREF

SREF <STRUCTURE_NAME> <X_MIRROR> <SCALE> <ANGLE> <XYINSERT>

 <X_MIRROR>  	ONE OF THE FOLLOWING:
		M0       NO REFLECTION
		MX       REFLECTION ACROSS X AXIS

 <ANGLE>     	DEFINED IN DEGREES
 <XYINSERT>  	XY PAIR INSERTION POINT

Example

 SREF POLYHD2 M0 1.000000 0.000000 184000 114000



GDS_TEXT

TEXT <STRING> <LAYER> <XYINSERT>

<XYINSERT>     XY PAIR INSERTION POINT

Example

  TEXT HELLO 21 9000 240000

NOTE: TEXT has additional parameters such as reference point, rotation, etc...




GDS_NODE

NODE <FILE_POS>       [bytes (hex) from start]
LAYER <LAYER>         [valid range 0-63]
NODETYPE <NODETYPE>   [valid range 0-63]
XY
<XY_1>
..
..
..
<XY_N>
ENDEL

Example

  NODE 15E
  LAYER 21
  NODETYPE 1
  XY
        123000      124500
        123000      103500
        126000      103500
        126000      124500
        123000      124500
  ENDEL

NOTE: N may be 1 or greater. We do not see this used very often and are not sure what multiple coordinates would mean other than to define an area for the node.




GDS_BOUNDARY

BOUNDARY <LAYER> <DATATYPE>
<XY_1>
<XY_2>
<XY_3>
..
..
..
<XY_N>
ENDEL
<

b>Example

	BOUNDARY 1 0
  		92000 -7000
  		106000 -7000
  		106000 19000
  		92000 19000
  		92000 -7000
  		ENDEL

NOTE: First and Last vertex must be the same and N must be > 4. The original GDSII spec limits N to 201 but GDS2ASCII supports N up to 8191.


COMMENT

//This is a comment




GDS2ASCII Command Line Syntax

gds2ascii [input_gdsii_file_name] [options]

options

-o:name  	output to "name" rather than stdout

-acs     	output Artwork’s ascii format.

-cshape  	output cshape format.  
              unless the -text option is specified, the -cshape output
              ignores all TEXT record types in the GDSII input.

-text    	includes TEXT records in cshape format.
              this option works only in conjunction with -cshape.



ASCII2GDS Command Line Syntax

ascii2gds [input_ascii_file_name] [output_gdsii_file_name] [options]


options

-break [size]  	break apart boundaries with more vertices than size (default size=4000) 

Note

ascii2gds automatically detects input file format, i.e. -acs or -cshape


Page 1 | 2





Data Sheet Price Download Rev. History



ARTWORK CONVERSION SOFTWARE, INC.                  Company Profile
417 Ingalls St.,     Santa Cruz, CA 95060         Tel (831) 426-6163     Fax 426-2824               email: info@artwork.com