The !set keywords below affect the format conversion when writing data to a file. Many of these variables have counterpart buttons in the Conversion - Export panel from the Convert menu. The functionality may also apply to files created with the Save command and similar.
/str/sub/where str and sub are text tokens, separated by forward slash characters as shown. In this case if the characters at the beginning/end of the cell name (for prefix/suffix) match the str, they are replaced by sub. This is the same action as is used in the !rename command. The string token must match exactly -- there is no wildcarding. Either the prefix or suffix, or both, can be defined. The suffix substitution occurs after the prefix substitution. Either can match the whole cell name if one wants to change the name of a single cell. This is part of a more general cell name mapping facility (see 9.1).
The CIFoutStyle variable can be set to the following values, which will set the CIF output style as indicated. The syntax associated with the indices is given in Conversion - Export.
Value | Historical Name | cname_index | layer_index | label_index |
---|---|---|---|---|
a | Stanford | 1 | 0 | 1 |
b | NCA | 1 | 1 | 2 |
i | Icarus | 2 | 0 | 1 |
m | Mextra | 0 | 0 | 3 |
n | none | 4 | 0 | 4 |
s | Sif | 3 | 0 | 1 |
x | Xic | 0 | 0 | 0 |
cn:la:lb | - | cn | la | lb |
The final form consists of three colon-separated integers which are interpreted as indices into the option lists as implied above. If the style parameters are changed in the Conversion - Export pop-up while CIFoutStyle is set, the value of CIFoutStyle will have this form.
(BBox left,top width height);
When writing GDSII output, it may be necessary to enforce the limits, if the output is destined for another program which can't handle the release 7 limits. The Xic default is to use the release 7 limits.
The GdsOutLevel variable can be set to an integer 0-2. The corresponding GDSII format is as follows:
By setting GdsOutLevel to 1 or 2, GDSII files generated with Xic should not cause difficulty when read by older programs (including old versions of Xic).
The Conversion - Export panel from the Convert Menu has an option menu for effectively setting the GdsOutLevel variable.
The string tables themselves are written just ahead of the END record in all cases (when tables are used).
The variable tracks the setting of the check box in the Conversion - Export and Conversion panels.
If OasWriteRep is not set, subcell and object records are written as encountered when traversing the cell structure. If set, objects and subcells may be cached, and similar objects and subcells are identified and written using repetition records.
When using repetition, the following procedure is used, where ``objects'' can apply to subcells as well as geometrical objects.
The details of this process, and whether or not it is applied, are controlled by the OasWriteRep variable. This variable can be set to a string containing several tokens, or set as a boolean (i.e., set to nothing). The tokens can appear in any order.
OasWriteRep: [word] [d] [r] [m=N] [a=N]
c subcells b boxes p polygons w wires l labels
For example, ``cp'' would indicate use of replications for subcells and polygons only. If no token of this type is found, then all object types will be processed.
The remaining tokens are identified by the first letter only, and the remainder of the token (up to `=' in some cases) is ignored.
If OasWriteRep is set to an empty string, all objects will be processed for replication, using the default run and array minimums.
The variable tracks the setting of the check box in the Conversion and Conversion - Export panels, which will effectively set/unset this variable as a boolean. Thus, to use repetitions in other than the default mode, this variable must be set explicitly to the appropriate value as described above.