The Carafe program must have both a technology file and a fabrication defects statistics file in order to run. The default files used for the technology and fabrication defect statistics are carafe.tech and carafe.fab in the current directory unless modified through the option flags given in the Carafe Option Flags section. It is sometimes not desirable to have copies of the two files in every directory in which Carafe is to be used. Rather than using the option flags to specify the locations of these files every time, Carafe checks the environment variables for the location of these files. The following are the environment variables that Carafe checks:
Check the operating system manuals for setting the environment variables. On most systems, the command:
- This variable indicates the directory and file name to use for the technology file if the default file carafe.tech is not in the current directory and no file was specified with the '-t' option.
- This variable indicates the directory and file name to use for the fabrication defect statistics file if the default file carafe.fab is not in the current directory and no file was specified with the '-f' option.
- The Hemlock version of Carafe requires a description of all the standard cells to be used. This environment variable specifies which file to use as the standard cell description file.
- This specifies the drawing style file that Carafe uses to determine how the different layers of material are drawn. This file has the same format as the dstyle file from the Berkeley Magic program. The dstyle file can also be specified using the command line option. Carafe comes with a sample dstyle file called carafe.dstyle located in the carafe/lib directory.
- This environment variable specifies the file that contains color map information. This information is used with the dstyle information to determine how layout geometries are displayed in the graphical user interface. Carafe comes with a sample colormap file carafe.cmap located in the carafe/lib directory.
- This environment variable specifies the paths for subcells. If the subcells are not in the current directory Carafe will search for them in these listed directories. The format for the value string is: /usr/lib:/joe/files/subcells:/project/bin/cells
% setenv VARIABLE_NAME valuewill set the environment variable named VARIABLE_NAME to value. Since these variables need to be set every time the user logs on, the setenv lines should be placed in a startup file.
Carafe should now be set up and ready to run!