


PLOTFILE(3ICD)		     1/16/84		   PLOTFILE(3ICD)



NNNNAAAAMMMMEEEE
     plotfile - file for plotting

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     _P_l_o_t_f_i_l_e is created by _p_r_e_p_l_o_t and is used by the plot
     programs.	You can create your own plotfile if you know the
     correct plotfile format.

     Plotfile Format:
     ================

     The plotfile format is as follows:

	 |------------|
	 |	      |       plotname
	 |   header   |       min  xl  yb
	 |	      |       max  xr  yt
	 |------------|       [options]
	 |	      |
	 |   plot     |       lay lc pen#
	 | statements |       other plot statements
	 |	      |
	 |------------|

     Options:
     ========

     The special instructions which may be specified in the header
     (before the first 'lay' specification) are:

       *lLAMBDA  set lambda scale (floating point, d.p.)

       *oF0	 leave margins for axis & scale info
       *oF1	 use full paper size (no axis ...)
       *oa0	 disable plotting of axis
       *oa1	 enable plotting of axis
       *oe0	 disable edge around plot
       *oe1	 enable edge around plot
       *ol0	 disable display of lay-codes
       *ol1	 enable display of lay-codes
       *on0	 disable display of cell-name
       *on1	 enable display of cell-name
       *os0	 disable display of scale info
       *os1	 enable display of scale info

       *rRESOL	 set unit-resolution (integer)

     Plot Statements:
     ================

     llllaaaayyyyeeeerrrr statement:




		   The Nelsis IC Design System			1






PLOTFILE(3ICD)		     1/16/84		   PLOTFILE(3ICD)



     lay layercode pen#

       layercode layer identification string

       pen#	 plotter pen (color) to be used

     mmmmoooovvvveeee statement:

     m ix iy

       ix,iy	 absolute position (in uu) to move to

     ddddrrrraaaawwww statement:

     d ix iy

       ix,iy	 absolute position (in uu) to draw to

     sssseeeetttt tttteeeexxxxtttt statement:

     s cw ch [rot@] [slant@]

       cw	 character width of text (in plotunits)
       ch	 character height of text (in plotunits)
       rot@	 rotation angle (default: 0 degrees)
       slant@	 slant angle (default: 90 degrees)

       16 plotunits = 1 mm

     tttteeeexxxxtttt statement:

     t ix iy textstring

       ix,iy	 absolute start position (in uu) of text
       textstring	   text string

     rrrreeeeccccttttaaaannnngggglllleeee statement:

     r ix iy dx dy
     x dx dy

       ix,iy	 absolute start position (in uu)
       dx	 horizontal offset (relative to ix) to next point
       dy	 vertical offset (relative to iy) to next point
		 (first dx and then dy)

       the xxxx statement is a continuation and
       may be present zero or more times

     Example:
					       / 23, 47
			       |---------------|



2		   The Nelsis IC Design System






PLOTFILE(3ICD)		     1/16/84		   PLOTFILE(3ICD)



	 r3 39 10 -8	       |	       |
	 x20 8		       |	       |
			       |------|        |
			 3, 39 /      |        |
				      |        |
				      |--------|
			       13, 31 /

	 Note: Blank after statement letter may be left out.

     cccciiiirrrrcccclllleeee statement:

     c rad [a_st [a_ro [pen]]]

       rad	 radius of circle
		 if > 0 : current position is starting point
		 if < 0 : current position is centre of circle

       a_st	 starting angle of circle, in degrees
		 (positive == counterclockwise)

       a_ro	 angle over which arc rotates
		 if == 0 : full circle

       pen	 pen-control, has meaning only if rad < 0
		 if == 1 : draw vector from centre to arc
			   starting point
		 if == 0 : do not draw vector

       Note: Any parameter not specified defaults to 0,
	     only the radius must be present.

     ppppoooollllyyyyggggoooonnnn statement:

     p ixs1 iys1       start of polygon
     x ix iy	       second point, coord's relative to ixs1, iys1
       .	       rest of the points
       .
       .
     p ixs2 iys2       start of second polygon
     x ix iy
       .
       .
       .
     ? ...	       any instruction other than "p"

     sssshhhhaaaaddddiiiinnnngggg statement:

     / [dist [angle]]

       enable/disable shading of polygons




		   The Nelsis IC Design System			3






PLOTFILE(3ICD)		     1/16/84		   PLOTFILE(3ICD)



       dist    shading distance, may not be negative
	       dist  > 0 : enable shading
	       dist == 0 : disable shading
	       if not specified and shading was already enabled,
	       it signifies the start of a new group of polygons

       angle   angle of shading lines
	       if not specified, angle of last '/' instr. is used
	       if angle was never specified in any '/' instr.,
	       a default of 0 is used (-> horizontal)

       Note: Shading will not cross layer boundaries,
	     starting a new layer will disable shading.

AAAAUUUUTTTTHHHHOOOORRRR
     S. de Graaf

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     preplot(1ICD), hplot(1ICD).




































4		   The Nelsis IC Design System



