home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / cad / lasidemo.zip / DEMO.HLP < prev    next >
Text File  |  1993-10-17  |  18KB  |  414 lines

  1. ≡≡
  2. Demonstration Setup
  3.  
  4.  Demonstration Setup
  5.  
  6.  
  7.   The layout of a small IC is used as a demonstration to familiarize a new
  8.   user with LASI. The circuit is a simple opamp, but not necessarily a good
  9.   one. It is mainly designed to show drawing techniques.
  10.  
  11.   When you loaded the drawing files either from a self-extracting
  12.   executable or from a ZIP file, you created a subdirectory on your hard
  13.   disk called \LASI4\DEMO. This is the drawing directory for the
  14.   demonstration IC.
  15.  
  16.   You need to leave this tutorial and go to your computer's DOS command
  17.   level and perform the setup steps listed below. If you have a printer
  18.   print this information for reference, or just try to remember it. You
  19.   will be able to come back to this tutorial later. Click "Quit" or press
  20.   ESC twice to exit.
  21.  
  22.  
  23.   To set up the demonstration do the following:
  24.  
  25.   1. If you have not already done so, you must add the directory "\LASI4"
  26.      to your computer's PATH entries. Adding this to the PATH allows LASI
  27.      programs to be called from any directory.
  28.  
  29.   2. Make the drawing directory \LASI4\DEMO the default directory by typing
  30.      "cd \lasi4\demo" on DOS's command line. When running LASI, you always
  31.      work on a drawing while logged into the drawing's directory.
  32.  
  33.   3. Type "tlcin . ." on the DOS command line. This will run the TLCIN.EXE
  34.      program and convert the drawing cell files into a form (called
  35.      internal) that LASI can use. Answer "y" to the "replace question" that
  36.      TLCIN will ask. You should see a few files with .BP4 and .CL4
  37.      extension generated.
  38.  
  39.   4. With your mouse operational, now simply type "lasi". LASI will start
  40.      and after checking a few details come up in System Mode.
  41.  
  42.   5. Go to Cell Mode on the basic NPN transistor in the drawing by clicking
  43.      your RIGHT mouse bottom on the LIST command and then clicking the LEFT
  44.      mouse button on the name "NPN1" in the listing.
  45.  
  46.   6. Test out the LASI help system by pressing F1. The Help and Information
  47.      screen should pop up. This an information reader that can be called at
  48.      any time while running LASI to explain any procedures or commands.
  49.      Exit LHI by clicking "Back", "Quit" or by pressing ESC.
  50.  
  51.   7. Return to this tutorial by pressing F2. The drawing is arranged so
  52.      that F2 calls the command "DOS, LHI \LASI4\DEMO\DEMO.HLP", which
  53.      starts this program again from a drawing context. In fact, typing the
  54.      command "lhi \lasi4\demo\demo.hlp" will run this tutorial from
  55.      anywhere in DOS. Read the topic Help on Help under General Information
  56.      in the LASI help system for more information on LHI command line
  57.      arguments.
  58.  
  59. Basic Transistor Cells
  60.  
  61.  Introduction
  62.  
  63.   The opamp is made from bipolar transistors based on a simple bipolar IC
  64.   process. There are only 8 masking layers used, which are in the usual
  65.   terminology:
  66.  
  67.         1  N-type Buried Island  (green)
  68.         2  P-type Isolation  (yellow)
  69.         3  N-type Sinker  (cyan)
  70.         4  P-type Base  (red)
  71.         5  P-type Resistor  (orange)
  72.         6  N-type Emitter  (blue)
  73.         7  Contact  (white)
  74.         8  Metallization  (magenta)
  75.  
  76.   The schematic is on layer 32.
  77.  
  78.   Layers 60-63 cotain text that is to be used by the LASICKT.EXE program
  79.   which constructs SPICE code from the layout and schematic. To learn more
  80.   about this type "LHI \LASI4\LASICKT.HLP" at the DOS command line, or run
  81.   LASICKT and press F1.
  82.  
  83.   There are different types of NPN and PNP transistors, some resistors and
  84.   miscellaneous bits and pieces. These are all made as rank 1 cells.
  85.  
  86.  Going to a Cell
  87.  
  88.   1. If you are not there already, enter Cell Mode with the NPN1 transistor
  89.      by clicking your RIGHT mouse button on the LIST command and then click
  90.      the LEFT mouse button on the name "NPN1" in the listing. The cell
  91.      should appear.
  92.  
  93.     The cell is made from "basic objects": boxes, polygons and text.
  94.  
  95.     If the transistor does not show completely in the display window click
  96.     the FIT command with the RIGHT mouse button.
  97.  
  98.     The demonstration drawing is set up so that pressing F3 will call the
  99.     VIEW command and will make the correct layers visible.
  100.  
  101.   2. Use the commands ZOOM, XPND and the pan arrows to examine the cell
  102.      more closely.
  103.  
  104.   3. There are two menus of commands that can be flipped by clicking the
  105.      RIGHT mouse button while the mouse cursor is to the LEFT of the menu
  106.      area on the screen. The commands are always selected by clicking the
  107.      RIGHT button on a menu. The LEFT mouse button is always used to make
  108.      cursor points or windows to input graphical information. Flip the
  109.      menus to see the different commands, and if you are curious, place the
  110.      mouse cursor on a command name and press F1. You will jump to the help
  111.      information for that command.
  112.  
  113.  The Grid Systems
  114.  
  115.   When you work with LASI you will discover that your mouse cursor jumps
  116.   between two grid systems: the unit grid and the working grid. This may
  117.   seem confusing, but its purpose is to control the placement of drawing
  118.   objects to certain discrete positions. As we know, IC layouts are not
  119.   really drawings, but are precisely placed items.
  120.  
  121.   You use the SET command to program working grid sizes, and then click the
  122.   WGRD command to step through them. The number and size is up to you. This
  123.   demonstration is set up for 3 convenient sizes of 1um, 5um and 25um. The
  124.   working grid is indicated at the bottom of the display.
  125.  
  126.   The DGRD and GRID commands set a display dot grid size and turn it on and
  127.   off. The dot grid is a drawing aid and has no control over object
  128.   placement.
  129.  
  130.  
  131.   Hint: Pressing A or ALT keys flips the grid types.
  132.  
  133.  Getting Objects
  134.  
  135.   1. You will find that the transistor is mostly drawn with box objects.
  136.      First use the GET and FGET commands by making a cursor window that
  137.      crosses a box side. Notice that the command and the points are
  138.      indicated at the top of the screen and that the cursor turns into a
  139.      dotted rectangle. When you use GET, a side of the box turns bright
  140.      white. This is called "active". Using FGET (full get) makes the entire
  141.      box object active.
  142.  
  143.   2. Click the IDEN or SHOW commands if you want information on an object.
  144.      SHOW is like IDEN except that it gives more information on a new
  145.      screen. To exit a SHOW screen press ESC.
  146.  
  147.   3. The base of the transistor is made from a poly(gon) object. To "get" a
  148.      poly object think of it as a series of vertices and make a cursor
  149.      rectangle around one or more vertices. A diamond symbol will appear at
  150.      an active vertex, and a segment line will turn bright white if
  151.      adjacent vertices are active. GET makes a single vertex active. FGET
  152.      makes an entire poly or path active. Use the IDEN and SHOW commands
  153.      again on the poly.
  154.  
  155.   4. Try the PUT and FPUT commands. The "put" commands are the inverse of
  156.      any "get" commands.
  157.  
  158.  
  159.   Hint:  You can start a command over again by reclicking the command or by
  160.     pressing ESC.
  161.  
  162.  Moving Objects
  163.  
  164.   1. Now try the MOV command. First make one or more box sides active with
  165.      GET and then click the MOV command. Notice that the mouse cursor now
  166.      jumps in discrete working grid distances and requires two input
  167.      points. Notice also that the cursor turns into a dotted vector to
  168.      indicate the movement.
  169.  
  170.   2. Click the APUT (all put) command to make boxes inactive again.
  171.  
  172.   3. Make a vertex active on the base poly. Try MOV again and notice that
  173.      vertices move discretely in any direction.
  174.  
  175.   4. Click APUT again to make all objects inactive.
  176.  
  177.  Adding Objects
  178.  
  179.   1. You can now try the ADD command. To do so, first set the type of
  180.      object using the OBJ command. You only have a choice of "b" (box) or
  181.      "p" (path) in this case. (Later cellnames will be OK.)  Make your
  182.      boxes by clicking at diagonally opposite corners. The boxes will be on
  183.      the layer indicated at the bottom of the screen. Notice that boxes
  184.      will be "snapped" into the working grid indicated at the bottom of the
  185.      screen.
  186.  
  187.   2. Use the LAYR and CLYR command to set and change the layer of boxes.
  188.      For CLYR to work a box must have all four sides active.
  189.  
  190.     You can use boxes for parts of a transistor (isolation, contacts etc.)
  191.     that would normally be rectangular.
  192.  
  193.   3. Make polys by setting the object to "p" and clicking the cursor at
  194.      different points to add vertices. You will produce a sequence of line
  195.      segments with the last vertex active and marked by an "x". By adding
  196.      the last vertex at the same point as the first vertex, you produce a
  197.      closed polygon. Notice like boxes that the vertices are set at working
  198.      grid points.
  199.  
  200.   4. Try the WDTH and CWTH commands to set and change a poly's width.
  201.      Setting width greater than zero makes a poly into a "path".
  202.  
  203.     In general, the term "path" refers to both poly and paths; a poly just
  204.     has zero width.
  205.  
  206.   5. There are special commands ARC, PREV, PBEG, PEND, CUT and JOIN that
  207.      act on paths only. You can try these if you wish after you have
  208.      determined their function by consulting LHI (Put the cursor on the
  209.      command and press F1).
  210.  
  211.     You would use closed polygons to make non-rectangular areas in a
  212.     transistor. (In this case, a base area with clipped corners, or PNP
  213.     emitters and collectors as you will find in the PNP1 cell)
  214.  
  215.   6. Now add some text. Choose the TEXT command and click a reference
  216.      point, and then type in some characters terminated by ENTER. Text is a
  217.      form of path, and the TLYR, CLYR, TWTH and CWTH work on it. Width for
  218.      text is the same as character height. Text is like a one vertex path,
  219.      you "get" text by its reference point, which is always in the lower
  220.      left corner of the character string. You can toggle this reference
  221.      point on and off with the T key.
  222.  
  223.  More Commands
  224.  
  225.   1. You should try the CPY, ROT and FLP commands on the boxes, paths and
  226.      text that you have made. These commands save time when symmetries
  227.      occur in a drawing.
  228.  
  229.     CPY will copy individual active vertices, so you can copy pieces of
  230.     paths. Boxes copy only if they have all sides active.
  231.  
  232.     ROT will rotate boxes paths and text. Boxes and text rotate in 90 deg
  233.     increments. Paths rotate to any angle.
  234.  
  235.     FLP flips boxes, paths and text around a horizontal or vertical axis.
  236.  
  237.   2. You can also try the WMOV and QMOV commands. These are composite
  238.      commands that combine the actions of "getting" and "moving". The
  239.      action of these commands on boxes, paths and text is the same except
  240.      that the WMOV command requires that the cursor window completely
  241.      enclose a box side. (WMOV also acts on whole cells as you will see
  242.      later.)
  243.  
  244.   3. There are two commands, VIEW and OPEN that restrict the layers which
  245.      are shown on the display and limit the action of commands on different
  246.      layers. These accept a series of individual layer numbers, or an
  247.      inclusive notation using a "-". Layers that are not VIEWed are never
  248.      OPENed.
  249.  
  250.   4. There are additional commands like AGET, WGET, STEP, SMSH, PSIZ and
  251.      OVSZ that act on basic objects. These are more rarely used and you
  252.      will find their purpose once you have worked with LASI for a while.
  253.  
  254.  Cleaning Up
  255.  
  256.   1. You should use the DEL command to delete all of the boxes that you
  257.      have added yourself. To delete a box you must have all sides active.
  258.      Remember that the FGET command "gets" all four sides.
  259.  
  260.   2. Delete all the paths that you have added. When deleting paths you may
  261.      delete vertices individually if they are active, or a complete path if
  262.      all vertices are active. Remember, FGET will make all vertices of a
  263.      path active if a single vertex is made active.
  264.  
  265.   3. Delete any text that you may have added by first making it active.
  266.  
  267.   Hint 1: If you have made a mess of the transistor while trying commands,
  268.     instead of trying to delete and repair, use the UNDO command. This will
  269.     restore the original version of the cell.
  270.  
  271.   Hint 2: If you have made a complete disaster of the cell, go back to DOS
  272.     and run the TLCIN program as was done in step 3 of the Demonstration
  273.     Setup and replace the cell files completely.
  274.  
  275.   The above hints are not to be taken as cynical. They demonstrate that
  276.   LASI has backups in case you do make errors.
  277.  
  278.   To exit LASI from Cell Mode, first click SYS and then click QUIT.
  279.  
  280.  More Cells
  281.  
  282.   Use the LIST command to go to some of the other cells and see how they
  283.   are made. Remember that the cells are intended to demonstrate drawing,
  284.   not necessarily good device design.
  285.  
  286. The Main Cell Layout
  287.  
  288.  Going to the Main Cell
  289.  
  290.   1. Click the LIST command and choose OPAMP with the LEFT mouse button.
  291.      The overall IC layout should appear. Notice that it is rank 2 and is
  292.      made from the rank 1 cells along with boxes and paths. The transistors
  293.      are set in place and are interconnected using paths on the
  294.      metallization layer.
  295.  
  296.     This is basically the way that you would layout an IC, although the
  297.     techniques vary with the individual.
  298.  
  299.   2. Use the FIT, ZOOM, XPND and direction commands to examine the layout.
  300.  
  301.  
  302.   The opamp layout is a very simple example. More elaborate ICs may be
  303.   constructed by using subsections (like our opamp), and then assembling
  304.   these subsections into higher rank cells - and so on. This is how LASI
  305.   can handle large if not huge ICs.
  306.  
  307.  Cell Commands
  308.  
  309.   1. Try some of the commands that act on cells only. Select the CGET
  310.      command and make a cursor rectangle COMPLETELY AROUND a single
  311.      transistor cell. The cell should redraw in bright white. This is now
  312.      an active cell.
  313.  
  314.   2. Use the MOV, ROT and FLP commands on the cell. Cells rotate in 90 deg
  315.      increments.
  316.  
  317.   3. Try the OUTL and FULL commands on a cell by again making a cursor
  318.      window completely around the cell. Outline allows you to draw cells as
  319.      a rectangular outline only. Putting cells in outline can greatly
  320.      improve drawing speed if you have a large complex layout and a slow
  321.      computer.
  322.  
  323.   4. Also try the CMOV command which moves cells directly. This too is a
  324.      time saver.
  325.  
  326.   5. There are commands that work on both cells, boxes, paths and text such
  327.      as AGET, WGET and WMOV. These do more things at a time, but are also
  328.      more difficult to use. Try these commands. You will find that they are
  329.      useful for operations like moving a whole section of a drawing.
  330.  
  331.  
  332.   Hint: By quickly double clicking the left mouse button while making a
  333.     cursor window in cell commands, you change the sense of the "get". The
  334.     commands then act on cells if there is any overlap of the cell in the
  335.     cursor window at all.
  336.  
  337.  Adding Cells
  338.  
  339.   Now you can add a cell. To do so:
  340.  
  341.   1. Click the OBJ command and make the object the name of a cell such as
  342.      NPN1.
  343.  
  344.   2. Select ADD and click the LEFT mouse button in some open location to
  345.      input a reference point. Your cell should appear and you can work with
  346.      it just like any other cell.
  347.  
  348.     Note that the reference point is the 0,0 point in the added cell.
  349.  
  350.  Deleting Cells
  351.  
  352.   When you want to eliminate a cell, simply make the cell active and click
  353.   DEL to remove it. Once a cell is gone there is no undo, but cells are
  354.   easy to put back.
  355.  
  356.   As with lesser objects, you can also use UNDO to restore the original
  357.   drawing, or reload it completely from TLC form.
  358.  
  359. The Schematic
  360.  
  361.  The Schematic
  362.  
  363.   There is a schematic diagram named $OPAMP independently living with the
  364.   IC layout. It is similar to the IC layout except that the cells are
  365.   symbols that are drawn and interconnected using zero width paths or open
  366.   polygons, whichever way you may want to think of them. Different layers
  367.   are used for the schematic and the layout, so that there will be no
  368.   conflict with the layer attributes of color, dashing and filling.
  369.  
  370.   Notice also that in this example schematic cellnames have "$" as their
  371.   first character so you can easily tell a symbol from a device.
  372.  
  373.   There are in effect two main cells, one for the IC, and one for the
  374.   schematic. There actually can be as many different cells on a rank as
  375.   memory capacity will allow.
  376.  
  377.   You may want to use the schematic as a practice for working with open
  378.   polygons. You will find that the techniques are slightly different from
  379.   working with the IC layout.
  380.  
  381. System Mode
  382.  
  383.  System Mode
  384.  
  385.   You do actual drawing in Cell Mode, but you go through System Mode when
  386.   entering and exiting LASI. The commands in System Mode manipulate cells
  387.   as complete entities and perform various organizational tasks.
  388.  
  389.   Put your mouse cursor on the command name and press F1 to find out what
  390.   the commands do.
  391.  
  392.   You can try various commands. Their function is pretty straight forward
  393.   and generally requires little explanation. You should be warned however
  394.   that you can completely change some of the fundamental parameters, such
  395.   as scale or cellnames.
  396.  
  397.   Once you work with LASI for a while this is not so scary.
  398.  
  399. Summary
  400.  
  401.  Summary
  402.  
  403.   You have been introduced to working with LASI. There are many more things
  404.   that you can do using the many commands, and many subtleties in the way
  405.   that the commands work that you will only learn by experience. When help
  406.   is needed press F1. You will soon learn that LASI is really pretty simple
  407.   in the way that it operates.
  408.  
  409.  
  410.   Always exit LASI by going to System Mode, first clicking SYS if you are
  411.   in Cell Mode, and then clicking QUIT. This stores the current cell on the
  412.   hard disk, and updates the drawing basic data files.
  413.  
  414.