PAINT(1ICD)

NAME
paint - create an HPGL/2 file for the HP Paintjet XL

SYNOPSIS
paint [-h] [-A4|-A3] [-rotate] [-noterm] [-noaxes] [-bind] [-p<pathname>] [-skip<layer>(,<layer>)] [-only<layer>(,<layer>)] [-w<xmin>,<xmax>,<ymin>,<ymax>] [-grid] [-spacing <n-lambda's>] [-output <filename>] <cell name>

DESCRIPTION
Paint is a program that creates a plotfile from a layout in the NELSIS IC design system. The format of this plotfile is HPGL/2. It can be queued to any device accepting HPGL/2, however paint was tailored for good results on the HP Paintjet XL, which must have the HPGL/2 option installed.

When no options are specified, the entire cell will be plotted. In addition a legend will be printed at the bottom of the page. The legend contains, user name, creation date, cell name, process type, lambda and scale.

A configuration file must be present, (usually in the NELSIS process library). This file contains information for the paintjet program. It defines a set of plotting characteristics for every layer in the process, such as colour and fill style. Also, the successive order in which layers are plotted is specified in this file. This file should be set up to give reasonable output, acceptable for every user. You can create your own configuration file to suite your liking and specify it on the command line. See also: xl(1ICD).

The command exp -g <cellname> must be executed before paint can be run.

The current working directory must be the project directory.

OPTIONS

-h  Print a small help menu.

-A4 Create an A4 sized paintfile. (default)

-A3 Create an A3 sized paintfile.

-rotate
    Rotate the layout 90 degrees.

-noterm
    Don't print the terminal names.

-noaxes
    Don't create a set of axes around the plot.

-bind
    Leave some space at the left hand side of the paper. This allows you to punch holes in the plot and store it in a binder.

-p<pathname>
    This option allows you to specify an alternate configuration file. Pathname is the directory in which paint searches for the xl configuration file.

-skip <layer>,...
    This option specifies one or more layers which must be omitted in the plot.

-only <layer>,...
    This option specifies one or more layers which must be plotted. Layers not specified are not plotted. The default plots all layers. Only one of the options "-skip" or "-only" may be used in one paint job.

-w<xmin>,<xmax>,<ymin>,<ymax>
    Select a partial window for painting. The window coordinates (integer values) must be specified as one argument (no blanks are allowed). Xl,Xr,Yb,Yt are respectively the left and right X-coordinates, and bottom and top Y-coordinates in lambda's (default: the expansion window is the cell bounding box).

-grid
    This option plots a grid across the plot. If this option is selected then a set of axes are also plotted.

-spacing <n-lambda's>
    This option specifies the distance between subsequent markers on the axes and on the grid. Paint will select a reasonable default depending on the size of the plot.

-output <filename>
    Specifies the resulting HPGL/2 file. The default is "paintfile".

EXAMPLES

Create a paintfile for the cell latch:

    paint latch

Create a paintfile for the cell latch, but make an A3 sized paintfile instead of the default A4 size, paint the axes, don't paint any terminals, skip the painting of the n-well and oxygen-definition layers (nw and od in C3TU), and use a window from (10,20) to (1000,500).

    paint -A3 -axes -noterm -skip nw,od -w10,1000,20,500 latch

BUGS
Paint ignores the spacing option.

AUTHOR
A. Frehe

FILES
proj_dir/.dmrc	(input file)
proj_dir/layout/cell/term	(input file)
proj_dir/paintfile	(default output file)
ICDPATH/lib/process/xl	(input file)

SEE ALSO
exp(1ICD), xl(3ICD)