The CIF.CFG Configuration File

If you do not wish to interact with the program each time you run a translation, you can define a file called CIF.CFG which contains the translation options. This is an ASCII text file which can be created by any text editor or even by shell scripts. The file consists of a keyword terminated by a colon, any number of spaces or tabs followed by a parameters. Keywords and parameters are not case sensitive. Any data after the parameter is ignored. You can also insert comments by use of the # sign.

Scale_factor: 1
Any real value greater than 0 is acceptable. Default is 1.000
Wire: Outline
Tells CIF2GDS to convert wires to boundaries. Other possibilities are Wires to Paths, Default is Path.
Endtype:  Round
Tells CIF2GDS how to handle the ends of the wire. Options are flush | Extended | Round. Default is flush.
Box: Boundary
Boundary uses a zero width closed pline. Path uses a Path of the appropriate width. Default is boundary.
Miter: Off
Miter ON tells CIF2GDS to miter acute angles. Miter OFF suppressses mitering. Only applies in outline mode. Default is OFF

Example CIF.CFG

scale_factor: 1
miter:off Not really needed since we are not creating wires in outline mode.

Location of CIF.CFG

CIF2GDS searches for CIF.CFG first in the current working directory, and then in the directory where the CIF2GDS program is located. If you are constantly changing CIF.CFG, you should store your current copy in the current working directory. If you rarely or never change CIF.CFG, locate it with the .exe files so it will not be accidentally deleted or modified.

Capturing Screen Messages

You can capture the information about the translation that is displayed on screen by redirecting the standard output to a file. To do this you must run the program with a CIF.CFG file and supply a filename. For example:

cif2gds dsto2.cif > display text

The -q option on the command line does effectively the same. It redirects test messages to a file ending in .log instead of sending them to the screen.

Sample Log File

Below is a partial listing of a log file generated by CIF2GDS.

CIF2GDS v1.03 (6/10/94) 286 Key 8526 - 0014
© Artwork Conversion Software Inc., 1991-94 (831) 426-6163

Layer List: 14 layer(s) CWP 1: CMS 2: CNF 3: CPG 4: CVA 5: CCP 6: CAA 7: CSN 8: CCA 9: CSP 10: COG 11: XP 12: CEL 13: CCE Cell List: 42 cell(s) * indicates referenced but not defined

Uniform Grid + 25.000000 1: chip 2: logo2 3: allcomparator 4: frame 5: blankP 6: gndP 7: vddP 8: analogP 9: outP 10: urP





= 4 =

417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email:




Artwork Home