home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…e: Engineering & Science / Explore_the_World_of_Software_Engineering_and_Science_HRS_Software_1998.iso / programs / electrnc / pcroute2.txt < prev    next >
Text File  |  1997-09-18  |  53KB  |  1,047 lines

  1.                                      PCROUTE
  2.                                      Introduction
  3.  
  4.  
  5.  
  6.                PCROUTE  is  a  computer aided  design  program  for printed
  7.  
  8.           circuit boards.  It contains board layout routines that should be
  9.  
  10.           quite  for  most purposes.    It  also contains  a  full featured
  11.  
  12.           autorouter that averages around  a 93% completion rate.   It also
  13.  
  14.           supports three of the more popular printers for its output.
  15.  
  16.                This program is  to my knowledge the first of its type to be
  17.  
  18.           released as shareware.  Although it lacks several of the features
  19.  
  20.           of  similar  products that  are  commercially available,  it also
  21.  
  22.           lacks a $1000 price tag.  
  23.  
  24.                     Key features include:
  25.                          1.   Autorouting
  26.                          2.   Interactive routing
  27.                          3.   Board layout functions
  28.                          4.   Flexible pinouts for devices
  29.                          5.   2X output for use in making PC boards
  30.                          6.   Disk functions built into the software
  31.                          7.   Sophisticated component and connection 
  32.                               entry systems
  33.                          8.   General statistics
  34.                          9.   Up to 300 components and 1800 connections
  35.                         10.   The authors continued support
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                                                           5
  44.  
  45.                                      Installation
  46.  
  47.           Contents of Archive/Disk:
  48.  
  49.                PCROUTE .EXE -  The main program
  50.                PCROUTE .DOC -  The documentation for PCROUTE.EXE
  51.                HPLASER .DAT -  Printer data for the HP Laserjet II
  52.                SG10    .DAT -  Printer data for the IBM PC printer
  53.                PAN1124 .DAT -  Printer data for the EPSON LQ-2500
  54.                SMALL   .CDT -  Sample board that can be edited and routed
  55.                DIP24V6 .DEF -  24 PIN DIP chip definition-vertical .6 wide
  56.                DIP20V3 .DEF -  20 PIN DIP chip definition-vertical .3 wide
  57.                DIP40V6 .DEF -  40 PIN DIP chip definition-vertical .6 wide
  58.                PAD     .DEF -  Definition of a single pad
  59.                2PAD50V .DEF -  2 PADS 0.5 inches apart-vertical
  60.                                works well for 1/4 watt resistors
  61.                2PAD15V .DEF -  2 PADS 0.15 inches apart-vertical
  62.                2PAD10V .DEF -  2 PADS 0.10 inches apart-vertical
  63.                PRINTDOC.BAT -  Prints the documentation stored on disk
  64.  
  65.           System Requirements:
  66.  
  67.                To run this program requires:
  68.                          1. CGA or better graphics
  69.                          2. 640k of memory (must all be available)
  70.                             no other memory residents can exist as they may
  71.                             lock up the system, you'll  have to experiment 
  72.                           on this part.
  73.                          3. 1 floppy disk drive
  74.                          4. One of the following printers:
  75.                               a. IBM PC or compatible printer
  76.                               b. EPSON LQ-2500 or compatible printer
  77.                               c. Hewlett Packard Laserjet II or compatible
  78.                          5. Hard-Disk (not essential but recommended)
  79.                A fast processor is also nice.
  80.  
  81.           Software Setup:
  82.  
  83.                If  you are  going to run  this program  from a  floppy disk
  84.           system, simply copy all the files that came in the archive  or on
  85.           the  distribution  disk onto  an empty  formatted floppy  disk by
  86.           using the following command:
  87.  
  88.                                    COPY A:*.* B:
  89.  
  90.           Where A: contains the  original PCROUTE disk and B:  contains the
  91.           empty formatted  floppy disk.   All  the files  that came on  the
  92.           diskette are required to  run the program except the  PCROUTE.DOC
  93.           file.  The PCROUTE.DOC file may be deleted from the run disk.
  94.  
  95.                If you  will be using a hard disk to run the program, make a
  96.           directory  in  which to  place the  program.   Use  the following
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.                                                                           6
  105.  
  106.           commands to accomplish this:
  107.  
  108.                               1.   cd \
  109.                               2.   md pcroute
  110.                               3.   cd pcroute
  111.                               4.   copy a:*.*
  112.  
  113.           Where A: holds the original PCROUTE files.
  114.  
  115.                For PCROUTE to  run reliably, you must  also have a line  in
  116.           your config.sys file setting  files=20.  If you are  running most
  117.           any major applications program this  command probably exists, but
  118.           you should check.   To execute  the program type PCROUTE from the
  119.           DOS prompt.
  120.  
  121.  
  122.  
  123.                                   Input/Output Menu
  124.  
  125.           1. Load Data:
  126.                     This  function  is  used  to  retrieve  from  disk  the
  127.                necessary  information to  design a  printed circuit  board.
  128.                Select this function from the menu  and when prompted, enter
  129.                the file name.  No  extension is used, the program  will add
  130.                the  .CDT extension for you.  The  drive and path should not
  131.                be used  on the filename itself.   There is a  function that
  132.                will be  discussed later  to set  the drive  and path  name.
  133.                After entering the filename, press Return.  The program will
  134.                ask if this is the correct name, enter Y or N to answer.  If
  135.                the file is  not found you will have a chance to reenter the
  136.                file name.  You can also use the ESC key to jump back to the
  137.                main menu instead of entering the file name.
  138.  
  139.           2. Save Data:
  140.                     This function will  save a complete description  of the
  141.                design layout, component list, and connection list.  It does
  142.                not  save the information  used for  deleting traces  in the
  143.                interactive  router  which will  be  discussed later.   When
  144.                prompted, enter the filename.  Again do not specify the file
  145.                extension, drive designation,  or path  name.  PCROUTE  will
  146.                ask after entering the  file name if everything  is correct,
  147.                enter a  Y or N.  If the file exists the program will ask if
  148.                you want  to overwrite  the file.   If you  say no,  it will
  149.                prompt for a new file name.  ESC also works to return you to
  150.                the I/O menu instead of entering the file name.
  151.  
  152.           3  Write Autocad file:
  153.                     This function will  write a  file that can  in turn  be
  154.                read into and edited with Autocad.  The  process is one way,
  155.                you can not  read an autocad  file back into PCROUTE.   Call
  156.                this  function  from  the I/O  menu  and  give  a name  when
  157.                prompted.  Here as usual, specify no path or file extension.
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.                                                                           7
  166.  
  167.                The extension  .scr will  be added to  the file.   Once  the
  168.                program is done  writing the file,  you may run Autocad  and
  169.                use  the  command  "SCRIPT"   from  the  "Command:"  prompt.
  170.                Autocad will ask for the script file name.  Specify the same
  171.                name  (with path if  needed) as the one  you used in PCROUTE
  172.                and Autocad will read in the file.  It may take awhile so be
  173.                patient.    Autocad  will  display  three   layers:  solder,
  174.                component, and silkscreen.   You may  edit them however  you
  175.                like and save  them as  Autocad drawing files.   Doing  this
  176.                greatly increases the number of  printers you can output  to
  177.                as Autocad supports mega-hardware.
  178.  
  179.           4. Erase Data:
  180.                     This  routine  clears the  memory of  the program.   It
  181.                erases the  boards, stacks,  component list,  and connection
  182.                list.  The program will ask if you are sure that you want to
  183.                erase  the data in memory.  Answer Y or N.  The program will
  184.                respond with "Erasing..."  and after a few  seconds drop you
  185.                back to the I/O menu.
  186.  
  187.           5. Disk Directory:
  188.                     This function displays a directory of the current drive
  189.                and path.  Use the  space bar to view twenty file names at a
  190.                time.  When no more  files exist, the space bar  will return
  191.                you to the I/O menu.
  192.  
  193.           6. Change drive/path:
  194.                     This function changes  the current  drive and or  path.
  195.                The  ESC  key will  back  you  out of  the  function without
  196.                changing the  path.  The  function will display  the current
  197.                drive and path  and then prompt for  a new one.   Just enter
  198.                the new one and  press Return.  You will be  returned to the
  199.                I/O menu.
  200.  
  201.  
  202.                                 Define/Edit Board Menu
  203.  
  204.           1. Component Edit/Entry:
  205.                This function is used  to enter components into the  system.
  206.           Once  you  have entered  this  function  you will  placed  in the
  207.           entry/editing environment.   If no  components have been  entered
  208.           you will see only two possible  commands, if there are components
  209.           in memory you  will have the option  to delete, copy and  perform
  210.           other functions. 
  211.  
  212.           New Component Entry:
  213.                Hitting an "A" will  allow you to enter new components.  The
  214.           program will  display the component number being entered and then
  215.           prompt  for the name.   The name is up  to 15 characters long and
  216.           serves only to  remind the designer of  what the device is.   ESC
  217.           can  be used  at this  point to return  you to  the entry/editing
  218.           environment.
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.                                                                           8
  227.  
  228.                The  next  question is  for the  designation.   This  is the
  229.           unique  name that  you will  give the  component  and use  in the
  230.           future to refer to it.   Typical names include IC1, R1, IC2,  and
  231.           A1.  The only  reserved designation is for vias. (A via  is a pad
  232.           with no device  attatched to it.  It is just  to connect a  trace
  233.           from one side of the board to the other)  Designations that start
  234.           with "V" and  then have a number  after that, are not  allowed in
  235.           the system.   So V1 would not  be accepted by VI1 would  be.  ESC
  236.           may be  used to back  up while  entering the designation  name to
  237.           reenter the component name.
  238.                Third the program will prompt for the definition file  name.
  239.           This is the name of a file that tells the program how the pins on
  240.           the device being entered are situated.  The program first shows a
  241.           list of possible definition  file names at the  lower right.   At
  242.           the end of the  list the program will prompt for a  name.  Do not
  243.           enter a file extension, the program will add it  for you.  If the
  244.           name of the file  entered exists, it will read the  file for you,
  245.           and display the  chip definition for you to see if it is correct.
  246.           If  you answer  yes that  it is  the correct definition  you will
  247.           continue to the  next question.   If the file  did not exist  you
  248.           will be  asked if  you wish  to create  the definition.   If  you
  249.           answer no,  the program  will re-prompt  for the  definition name
  250.           after showing you  the possible files.  Otherwise it makes a  new
  251.           definition.  ESC may be used to back up and reenter the component
  252.           designation.
  253.  
  254.                Creating New Definition Files:
  255.                          The program needs to know the exact  pin layout of
  256.                     any  component  placed  on the  board.    This function
  257.                     allows you to create these definitions.  Upon entry you
  258.                     will see a graphic screen  with some information at the
  259.                     bottom and a green square in  the middle of the screen.
  260.                     In the top left of the box is your cursor.  You use the
  261.                     cursor keys  to move  the cursor around  to define  pin
  262.                     locations.  The pins are entered in the order from 1 to
  263.                     up to 40.  Move the cursor to the position of the first
  264.                     pin  and hit  return to  place it.   Then  move to  the
  265.                     second position and hit return to place pin 2.  You may
  266.                     also remove pins in  the reverse order you placed  them
  267.                     by positioning your  cursor over  the last pin  entered
  268.                     and  hitting  the backspace  key.   This key  will only
  269.                     delete the  last entered pin.   The information  at the
  270.                     bottom of the  screen will  tell you what  pin you  are
  271.                     entering,  as  well  as its  relative  location  on the
  272.                     screen.  When you  have placed 40 pins or  are finished
  273.                     with the component definition, hit ESC to  finish.  The
  274.                     program will ask if you want  to reedit.  Answering yes
  275.                     will  clear  the screen  and you  can  start over.   By
  276.                     answering no you will receive  the prompt asking if you
  277.                     want to keep the definition or not.  Answering yes will
  278.                     save the definition for later use, no will give you the
  279.                     list of existing  definitions on the previous  screen. 
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.                                                                           9
  288.  
  289.                     All components are moved to the upper  left most corner
  290.                     for saving.   This  is  for internal  reasons; you  can
  291.                     design the chip anywhere in the  square.  You will need
  292.                     to make  definition files for  all your components.   I
  293.                     would  suggest  a meaningful  system  for  naming them.
  294.                     Maybe something like DIP16V and DIP16H for 16  pin Dual
  295.                     Inline   Package   Vertical  attitude   and  Horizontal
  296.                     attitude respectively.
  297.                     ***Note:  Most  chip dimensions  are available in  data
  298.                     books such as RCA cross reference manuals.  Radio Shack
  299.                     also  puts  device  dimensions  on  the back  of  their
  300.                     packages.
  301.  
  302.                The next question the  program will ask is if  everything is
  303.           correct.    Answering  no  will  restart  this  process with  re-
  304.           prompting for the name.  Answering yes will get the next prompt.
  305.                The  next  prompt  is  if  you  wish to  keep  this  device.
  306.           Answering no  will skip the  next prompt and  ask if you  wish to
  307.           enter another device.  Answering yes gives you the next prompt.
  308.                This  prompt  asks if  you  wish  to place  the  device now.
  309.           Entering  no  will allow  you  to delay  this until  later.   All
  310.           devices must be placed somewhere on the board before  they can be
  311.           connected.  Placing a chip goes as follows:
  312.  
  313.                Placing Chips:
  314.                          When  this graphic screen comes  up you will see a
  315.                     representation of  the current  circuit board with  all
  316.                     other placed components  and ground planes shown.   The
  317.                     chip you are entering  will be shown in the  upper left
  318.                     corner of the  board.   The arrow keys  will move  this
  319.                     chip  around  on  the  board.  By using  a  shift-arrow
  320.                     combination the chip  can be  moved faster.   Move  the
  321.                     chip to where you want it and press return.  You cannot
  322.                     overlap  chips.    The  chip  is  now  placed  in  this
  323.                     location.  If you change your mind you can press ESC to
  324.                     exit without placing the chip.  You will be prompted if
  325.                     you are sure you want to abandon chip placement or not.
  326.                     Yes will go to the  next prompt, no will put you  right
  327.                     back where you were before hitting ESC.
  328.  
  329.                The last prompt is if you wish to enter another chip or not.
  330.           Answering yes will  put you back up  at the name prompt  to enter
  331.           another  chip.    No  will  put  you back  in  the  entry/editing
  332.           environment.
  333.  
  334.           Editing Component Definitions:
  335.                Selecting E from the entry/editing environment will give you
  336.           the ability to change any part of each definition.  Simply select
  337.           the  letter of the  item to change.   For example,  to change the
  338.           name, hit A after hitting E and you will be  prompted for the new
  339.           name.  Either enter the  new name, or you can press ESC  to leave
  340.           it  unchanged.   When you  are done  editing, press the  key that
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.                                                                          10
  349.  
  350.           corresponds to exiting the edit.
  351.  
  352.           Deleting Component Definitions:
  353.                This  function  allows  you  to delete  a  component.    The
  354.           component that will be deleted is  the one currently displayed on
  355.           the screen.  Press D and you will be asked if you are sure if you
  356.           want to delete this  component or not.  Answer  accordingly.  All
  357.           connections  that  contained the  deleted  function will  also be
  358.           deleted.
  359.  
  360.           Copying Components:
  361.                This function will let you make  copies of a chip definition
  362.           to speed the  entry of chips.   It will copy everything  from the
  363.           displayed  definition  to   a  new  definition  except   for  the
  364.           designation  from  which it  will take  the  alpha part  and then
  365.           increment the numerical part to the next available part.  It also
  366.           does not put the chip in the same location.  You will be asked if
  367.           you wish to place the chip now or later.
  368.  
  369.           Searching for a Component:
  370.                Sometimes finding the component  you wish to edit or  delete
  371.           can take some time on a large board.  This function allows you to
  372.           search for components  by the designation.   When prompted  enter
  373.           the designation, PCROUTE will  change the case to upper  for you.
  374.           If  it exists the program will display  that device's number.  If
  375.           it doesn't exist, you will continue right where you were.
  376.  
  377.           Incrementing and Decrementing the displayed Component:
  378.                Using  +  and -  will  change  the displayed  component.   +
  379.           increments and - decrements.  The  display is circular in nature,
  380.           therefore hitting  + at the  last component  will put you  at the
  381.           first and hitting - at the first will put you at the last.
  382.  
  383.           Exiting the Entry/Editing Environment:
  384.                Use the N key to end these functions and return to the board
  385.           definition menu.
  386.  
  387.           2. Connection Edit/ Entry:
  388.                This  system  allows  for  entry  and  editing  of  all  the
  389.           connections that need  to be made  between the components in  the
  390.           system.    The  functions  are  very  similar  to  the  component
  391.           functions.
  392.  
  393.           New Connection Entry:
  394.                Typing an "A" will allow you to enter new connections.   The
  395.           program will display the connection number being entered and then
  396.           prompt for the  name of  the source designation.   The name  must
  397.           exist in memory as a component.  ESC can be used at this point to
  398.           return you to the entry/editing environment.
  399.                The next question is for the source chip pin number.   Enter
  400.           the number of the pin that you want the trace to connect to.  ESC
  401.           will back you up to the previous prompt. 
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.                                                                          11
  410.  
  411.                The program will now prompt for  the name of the destination
  412.           designation.  The name must exist in  memory as a component.  ESC
  413.           can be used at this point to return to the previous prompt.
  414.                The next  question if for  the destination chip  pin number.
  415.           Enter the number  of the pin that  you want the other  end of the
  416.           trace to  connect  to.   ESC will  back you  up  to the  previous
  417.           prompt.
  418.                The program will now ask if this is a priority route or not.
  419.           By answering yes, this trace will be routed before all other non-
  420.           priority  routes  no matter  how long  it may  be and  what other
  421.           routes it may block.  This might be used for making sure a memory
  422.           access bus is all done in  copper instead of using jumpers for  a
  423.           vital connection.
  424.                The next question the  program will ask is if  everything is
  425.           correct.   Answering no will restart  this process by reprompting
  426.           for the source designation.  Answering yes will bring up the next
  427.           prompt.
  428.                The next  prompt is  if you  wish to  keep this  connection.
  429.           Answering  no will skip  the next prompt  and ask if  you wish to
  430.           enter  another  connection.   Answering  yes gives  you  the next
  431.           prompt.
  432.                The  last  prompt   asks  if  you  wish   to  enter  another
  433.           connection.  Answering yes,  will put you  back up at the  source
  434.           designation  prompt to enter another connection.   No will places
  435.           you back in the entry/editing environment.
  436.  
  437.           Editing Connection Definitions:
  438.                Selecting E from the entry/editing environment will give you
  439.           the ability to change any part of each connection.  Simply select
  440.           the letter  of the item  to change.   For example, to  change the
  441.           source  designation,  hit  A after  hitting  E  and  you will  be
  442.           prompted  for  the  new  designation.     Either  enter  the  new
  443.           designation, or  press ESC to  leave it unchanged.   When you are
  444.           done editing, press the key that corresponds to exiting the edit.
  445.  
  446.  
  447.           Deleting Connection Definitions:
  448.                This  function allows  you  to  delete  a connection.    The
  449.           connection that will be deleted is the one currently displayed on
  450.           the screen.  Press  D and you will  be asked if you are  sure you
  451.           want to delete this connection.  Answer accordingly.
  452.  
  453.           Searching for a Connection:
  454.                Sometimes finding the  connection you wish to edit or delete
  455.           can take some time on a large board.  This function allows you to
  456.           search for connections by the  designation.  When prompted  enter
  457.           the designation sought.  PCROUTEwill change the case to upper for
  458.           you. PCROUTE then will search from  the current connection to the
  459.           end.  It  looks at both  the source and destination  designations
  460.           for a match.   If  it finds  the search string  the program  will
  461.           display that connection's information.  If it doesn't  exist, you
  462.           continue right where you were.
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.                                                                          12
  471.  
  472.  
  473.           Incrementing and Decrementing the displayed Connection:
  474.                Using  +  and -  will change  the  displayed connection.   +
  475.           increments and - decrements.  The  display is circular in nature,
  476.           therefore hit + at the last connection  will put you at the first
  477.           and hitting - at the first will put you at the last.
  478.  
  479.           Exiting the Entry/Editing Environment:
  480.                Use the N key to end these functions and return to the board
  481.           definition menu.
  482.           3. Ground Plane:    This  function  is used  to  set up  a ground
  483.                               plane.  The program will display a picture of
  484.                               the board.   It will prompt for  the width of
  485.                               the ground plane  on all  four sides on  both
  486.                               the  component side  and solder  side of  the
  487.                               board.  Each digit entered corresponds to .05
  488.                               actual inches.  You may  come back and change
  489.                               the ground plane sizes at any time.  ESC will
  490.                               also back you  out of  the first prompt  only
  491.                               (top-solder side).
  492.                               ***   Please note  that this  function erases
  493.                               any  work  done  in  the  interactive  router
  494.                               (discussed later).
  495.  
  496.           4. Define Board Size:    This  function  is  the  first  function
  497.                                    used.  It defines the  dimensions of the
  498.                                    board.  The maximum board size supported
  499.                                    by PCROUTE is  11" X 8".   When prompted
  500.                                    for numbers, you must  enter the numbers
  501.                                    as  multiples   of  5.     Each   number
  502.                                    represents 0.05" of actual  size.  So an
  503.                                    entry  of  100 would  correspond  to 5".
  504.                                    You may change  board sizes at any  time
  505.                                    during the design process by calling the
  506.                                    routine.  If you make the board smaller,
  507.                                    the chips  that  were  outside  the  new
  508.                                    border will  have to be  replaced.   ESC
  509.                                    will  back up to the previous prompt, or
  510.                                    jump out  of  the  routine  leaving  the
  511.                                    board size unchanged.
  512.  
  513.           5. Spider Web: This  function is useful for checking  to see if a
  514.                          chip  would  be  more logically  placed  somewhere
  515.                          else.   By using the +  and - keys, you can toggle
  516.                          through the chips.   As each chip  is selected, it
  517.                          as  well  as  all  traces   connected  to  it  are
  518.                          highlighted in red.   Once a chip  is highlighted,
  519.                          you can select M to move the chip.  After pressing
  520.                          M, the  arrow keys become  active and the  chip as
  521.                          well as all its connections  will be rubber banded
  522.                          around the board.  You can hit RETURN to place the
  523.                          chip  at the current  location, or hit  ESC to not
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.                                                                          13
  532.  
  533.                          place  the chip and  put it  back at  its original
  534.                          location.  The  ESC or  E key will  exit you  from
  535.                          this function.
  536.                          *** Please note,  if you move any  chips, the work
  537.                          done by the interactive router is erased.
  538.  
  539.  
  540.                                   Interactive Router
  541.  
  542.                This board editing system allows you to interactively design
  543.           a  board. It can be very  useful for finding possible routes that
  544.           the autorouter was unable  to find.   Upon entry to this  section
  545.           the program  generates the borders and places the pads of all the
  546.           chips.  It will also ask you to place all the chips that have not
  547.           been placed yet.   If you intend  to route the entire  board this
  548.           way,  place your chips  and then leave them.   Moving them around
  549.           after placing  the chip will distort your  board.  PCROUTE has no
  550.           way of connecting  traces up to a chips new location.  The screen
  551.           will  show all the  chips with  their designations  centered amid
  552.           each components pins.  This system  has many keys that are active
  553.           while in this environment.  An explanation of each follows.
  554.  
  555.           S - switch sides:   This function  changes the side  of the board
  556.                               displayed.   When you  enter S,  you will  be
  557.                               shown  the  other  side of  the  board.   The
  558.                               program  supports  only 2  sides,  solder and
  559.                               component.
  560.  
  561.           E or ESC - end:     Pressing  E  or ESC  will  exit you  from the
  562.                               interactive router.
  563.  
  564.           Cursor Keys:   The cursor keys move the solid block around on the
  565.                          board.   Each time you  press the  arrow key,  the
  566.                          cursor will  move 1  space.  Relative  coordinates
  567.                          are displayed at  the bottom of the screen.  Using
  568.                          Shift-Arrow moves the  cursor 10  spaces.  If  you
  569.                          come to the edge of the screen but not the edge of
  570.                          the board, the  screen will  shift the board  over
  571.                          for you.
  572.  
  573.           Function Keys:
  574.                The function keys numbered F1-F8 do the majority of the work
  575.           in PCROUTE.   They allow you  to place  vias, run traces,  delete
  576.           traces, blank old traces, and delete vias.
  577.  
  578.           F1 - Set Source:    By  positioning  the cursor  over  a pad  and
  579.                               hitting F1 you select that pad as your source
  580.                               location.  The bottom  status line will  tell
  581.                               you exactly what chip and pin number you have
  582.                               selected.
  583.  
  584.           F2 - Set Dest.:     This  function   works  exactly  as   the  F1
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.                                                                          14
  593.  
  594.                               function but selects the destination pin.
  595.  
  596.           F3 - Run Trace:     Once  you   have   defined   a   source   and
  597.                               destination,  hitting  F3  will   attempt  to
  598.                               connect the two pins with a  trace.  If it is
  599.                               successful, you  will see  the trace  appear.
  600.                               If  it  cannot  complete  the  route it  will
  601.                               notify you at  the bottom.  At this point you
  602.                               might try placing a via  and routing from the
  603.                               source to it on one side  and from the via to
  604.                               the destination on the other.
  605.  
  606.           F4 - Delete Trace:  This  function will  delete traces  that have
  607.                               been  routed since the  program has been run.
  608.                               If  you  have just  loaded  the board  up and
  609.                               decide to  delete a trace  this function will
  610.                               not work.   Saving  the board  does not  save
  611.                               deletion information.   Assuming the  data is
  612.                               in memory to perform the  delete, the program
  613.                               will highlight the  trace to delete.   If the
  614.                               highlighted  trace is the  one to  be deleted
  615.                               answer  Yes when  prompted.   Hitting N  will
  616.                               advance to the next trace if it is available.
  617.                               Hitting ESC will drop you  back to the cursor
  618.                               control mode.
  619.  
  620.           F5 - Add Via:  This function key  will add a via  at the location
  621.                          of the cursor.   It will  be V and  then the  next
  622.                          available number.  Use these for multilevel routes
  623.                          or just extra pads needed.  You cannot place a via
  624.                          adjacent to  an existing pad.   You can  place one
  625.                          diagonally  from  one though.    You also  may not
  626.                          place a  via in the  middle of a trace.   All vias
  627.                          are deleted by the autorouter when it is invoked.
  628.  
  629.           F6 - Del Via:  This  function  deletes  the  via  at  the  cursor
  630.                          location if one exists there.
  631.  
  632.           F7 - Erase Space:   This  function will remove the trace piece at
  633.                               the location of the cursor.  This function is
  634.                               useful if you deleted a  series of traces and
  635.                               left   something   unconnected.     Use  this
  636.                               carefully.
  637.  
  638.           F8 - Check Route:   This function will check to see if a selected
  639.                               pair  of  pads  can be  connected.    It will
  640.                               report back as  to whether  the route can  be
  641.                               completed.  This is  useful for doing  multi-
  642.                               layer routes  using  vias.   Checking for  an
  643.                               available  route  before  laying  the  actual
  644.                               trace will save  a bunch of deletes  if later
  645.                               your path is blocked.
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.                                                                          15
  654.  
  655.           F9 - Manual Route:  This  function allows  you to  manually route
  656.                               traces.  Place the cursor on the starting pad
  657.                               or trace and press F9.   If the cursor is not
  658.                               on  a  valid  starting  point,  nothing  will
  659.                               happen.  Now  use the cursor control  keys to
  660.                               route your trace.  Every  time you move, your
  661.                               trace is lengthened.  When  you are done, you
  662.                               can either stop  in and open space  and press
  663.                               F9 or you can stop on  a trace or pad and hit
  664.                               F9,  the  correct  connecting piece  will  be
  665.                               added  to make  the connection.   Please note
  666.                               that  if  you  go  over  an  existing  trace,
  667.                               PCROUTE will cut  that trace in favor  of the
  668.                               new path.  This works  well for putting short
  669.                               jumpers on the  board.   This is very  useful
  670.                               for routing traces  that would normally block
  671.                               other  routes if  they were  not placed  this
  672.                               way.     As  my  autorouter   algorithm  gets
  673.                               "smarter" hopefully we won't need this.
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.                                                                          16
  682.  
  683.                                      Autorouting
  684.  
  685.                Selecting this from the menu will  enable you to connect all
  686.           or most  of the connections you  desire.  The program  will first
  687.           draw borders, place  pads, and set  up the ground  planes.  If  a
  688.           component has not  been placed, you  will be asked  to place  it.
  689.           The  program requires all chips to be placed before it can route.
  690.           There are  four routing  strategies that  can be  employed.   You
  691.           select each  strategy by hitting  Y or N  as the cursor  moves to
  692.           each option.   If you hit Y for  single or double via routing you
  693.           will  also be prompted for the  maximum number of tries for each.
  694.           Just  enter  a number.    Bigger  numbers are  better  for bigger
  695.           boards, smaller number for small boards.
  696.                The  PCROUTE  system  is  totally  re-entrant.    The  first
  697.           question  you are  asked  is if  you wish  to  clear all  traces.
  698.           Answering yes clears anything  currently on the board.   No would
  699.           keep what was on  the board such as work done  by the interactive
  700.           router.  You can hit ESC during any routing strategy to exit that
  701.           routine and the  autorouter.  The program will then show the list
  702.           of all unconnected routes still existing.   If the router has not
  703.           completed one  run-through and you have routed before, traces may
  704.           have been completed by the earlier route and still be reported as
  705.           unconnected.  You  can do a design  check to see which  routes in
  706.           you connection  list have not been connected either by hand or by
  707.           autorouter  by running the autorouter and not erasing the current
  708.           traces.  Just select the double or single sided route system.  It
  709.           will report any routes that  are incomplete.  Any route that  was
  710.           completed  before will be  marked as  complete and  not reported.
  711.           The program will report whatever routes weren't done and the ones
  712.           it couldn't complete.
  713.  
  714.           Single Sided Route: This function will  attempt to place  all the
  715.                               routes  on the solder side of  the board.  It
  716.                               is the  least efficient strategy but is great
  717.                               for  small projects where  ease of making the
  718.                               board itself  is a  priority.   This function
  719.                               cannot be  used in conjunction  with the next
  720.                               three strategies.
  721.  
  722.           Double Sided Route: This  function  will do  its  routing  on two
  723.                               sides  of  the  board.     It  has  a  higher
  724.                               completion percentage than  the single  sided
  725.                               strategy.
  726.  
  727.           Single Via Route:   This function requires that the double  sided
  728.                               strategy be select  first.  This  function is
  729.                               used after the  double sided strategy to  try
  730.                               to  complete  any  uncompleted  routes.    It
  731.                               places a via and tries to do the single route
  732.                               with a trace  on each side  of the board.   A
  733.                               number such as 50 is  good for maximum number
  734.                               of tries.
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.                                                                          17
  743.  
  744.  
  745.           Double Via Route:   This  function  also  requires  double  sided
  746.                               routing be  selected to  work.   It uses  two
  747.                               vias to  attempt to  complete the  route.   A
  748.                               good maximum  number of  tries is  30 or  so.
  749.                               This function can  take a great deal  of time
  750.                               so be patient.
  751.  
  752.  
  753.                                    Board Statistics
  754.  
  755.           This function displays 3 statistics that may be of some interest.
  756.  
  757.           Equivalent Integrated Circuit Count:    This   function   is  the
  758.                                                   total   number  of   pins
  759.                                                   divided by 16.
  760.  
  761.           Board Density: This is the  amount of space total  that each chip
  762.                          has  to occupy.   It is  calculated by  taking the
  763.                          area of the  board and dividing by  the Equivalent
  764.                          IC count.
  765.  
  766.           Total Trace Length: The function  gives the total  length of  all
  767.                               the traces  on the  board.   The smaller  the
  768.                               number, the better the design.
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.                                                                          18
  777.  
  778.                                      Printer Menu
  779.  
  780.           1. Print Component List: This function  will generate  a list  of
  781.                                    all the components.  It can be sorted by
  782.                                    name or designation.  
  783.  
  784.           2. Print Connections:    This  function will  generate a  list of
  785.                                    all the  connections in memory.   It can
  786.                                    be sorted  by the source  or destination
  787.                                    designation.
  788.  
  789.           3. Print Solder Side of Board:
  790.                     This function  will generate  the artwork  to make  the
  791.                printed circuit board.   The program will ask if you want to
  792.                mirror  the  board.   This  may  be necessary  if  your film
  793.                requires  printing on a  particular side.   The mirroring is
  794.                done left to right.  Next it will ask if you want a negative
  795.                made.  This  will make the  traces white and the  background
  796.                all black.   On Laser printers you  also have the  option of
  797.                making an actual size printout, or the standard 2X size that
  798.                the dot matrix printers print.  The ESC key will exit out of
  799.                the printout at any time.
  800.  
  801.           4. Print Component Side of Board:
  802.                     This function  is identical  to number  3 above  except
  803.                that it prints the component side of the board.
  804.  
  805.           5. Print a Silkscreen Representation:
  806.                     This function will generate a pseudo-silkscreen.  It is
  807.                not  the same  scale as numbers  3 and  4 but is  useful for
  808.                remembering where components  are to be placed.   Select the
  809.                printer to be used and watch it go.
  810.  
  811.  
  812.                                  Exiting the Program
  813.  
  814.                Selecting 7 from  the main menu  will drop you from  PCROUTE
  815.           back to DOS.  If you have data in memory you will be asked if you
  816.           wish to save it. Answering Yes  will prompt you for a file  name.
  817.           Enter the file name as you would in the save data function in the
  818.           Input/Output menu.   You can hit  ESC to abort  the save, but  it
  819.           will not  return you to  the program.   Answering No to  the save
  820.           query, will drop you immediately to DOS.
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.                                                                          19
  829.  
  830.                                   Keyboard Summaries
  831.  
  832.           Chip Placement Screen:
  833.                ESC                 - Option to Abandon Placement
  834.                RET                 - Place chip at current location
  835.                Cursor Keys         - Moves chip one space for each 
  836.                                      depression
  837.                Shift Cursor Key    - Moves chip 10 spaces for each 
  838.                            depression
  839.  
  840.           Define Chip Definition:
  841.                ESC                 - Option to Abandon Definition
  842.                RET                 - Place pin at current location
  843.                Cursor Keys         - Moves cursor one space for each stroke
  844.                BACKSPACE           - Removes last placed pin
  845.  
  846.           Spider Web System:
  847.                M*                  - Set system to move highlighted chip
  848.                     Cursor keys    - Move chip one space on board
  849.                     RET            - Place chip at current location
  850.                     ESC            - Abandon placement
  851.                +,-*                - Increment and Decrement through chips
  852.                E*                  - Exit Web System
  853.  
  854.           * - Denotes that this selection is displayed on screen.
  855.  
  856.           Interactive Router:
  857.                S                   - Display other side of board
  858.                E,ESC               - Exit interactive router
  859.                F1                  - Select source pad
  860.                F2                  - Select destination pad
  861.                F3                  - Attempt to connect source and 
  862.                                      destination
  863.                F4                  - Delete traces connected since system 
  864.                                      started
  865.                F5                  - Place via at cursor location
  866.                F6                  - Delete via at cursor location
  867.                F7                  - Remove trace piece at cursor location
  868.                F8                  - See if route is possible between 
  869.                                      source and destination pads
  870.                F9                  - Enters and exits the manual router
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.                                                                          20
  879.  
  880.                                     Brief Tutorial
  881.  
  882.                The following  is intended  as a  method of  getting up  and
  883.           running with the program.  It will give a general idea of how the
  884.           program works.  It is not intended as a "learn all" tutorial.
  885.  
  886.           1.   Begin by  running PCROUTE.   This information  can be  found
  887.                back in the section on setting up PCROUTE for your machine.
  888.  
  889.           2.   Once at the main menu, hit 3 for define/edit board, and then
  890.                select 4 for define  board dimensions.  For our  purposes we
  891.                will use  a board size of 80 x 80, which translates into a 4
  892.                inch square board.
  893.  
  894.           3.   Select function 1  to enter  new components.   You will  see
  895.                that no data has been entered yet.  Hit A to enter data.  We
  896.                will put three chips on the board and two resistors.  Answer
  897.                each prompt below  with the following  data.  When asked  to
  898.                place each chip  answer Y and place the chip with the cursor
  899.                keys.  After you have entered the last item, answer N to the
  900.                "Enter another component?" prompt.
  901.  
  902.                Name: 8051 uP                 Designation:  IC1
  903.                Definition file: DIP40V6      Placement: Left side of board
  904.  
  905.                Name: 74ls373                 Designation:  IC2
  906.                Definition file: DIP20V3      Placement: Upper right
  907.  
  908.                Name: 2716                    Designation:  IC3
  909.                Definition file: DIP24V6      Placement: Lower right
  910.  
  911.                Name: 100k resistor           Designation:  R1
  912.                Definition file: 2PAD50V      Placement: Upper middle
  913.  
  914.                Name: 10k resistor            Designation:  R2
  915.                Definition file: 2PAD50V      Placement: Lower middle
  916.  
  917.           N exits you to the board definition menu.
  918.  
  919.           4.   Next, we want to  enter some connections to be  made between
  920.                the chips.  Select 2 from  the menu to enter the  connection
  921.                entry  section.  Enter the following  connections.  Answer N
  922.                to each prompt  of "Is this  a priority connection?".   When
  923.                you have entered the last connection  answer N to the "Enter
  924.                another connection prompt?".
  925.  
  926.                Source Defice       Pin       Desitination Device      Pin
  927.                     IC1            2              IC3                 2
  928.                     IC1            3              IC2                 16
  929.                     IC3            22             IC2                 6
  930.                     R1             1              IC2                 4
  931.                     R2             1              IC1                 8
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.                                                                          21
  940.  
  941.                     R2             2              IC3                 6
  942.                     R1             2              IC1                 31
  943.                     IC2            8              IC3                 17
  944.                     IC1            21             IC1                 15
  945.                     IC2            8              IC3                 8
  946.                     IC2            9              IC3                 9
  947.                     IC2            10             IC3                 10
  948.                     IC1            14             IC2                 9
  949.  
  950.           N returns you to the menu.
  951.  
  952.           5.   Ok, lets autoroute  the board.  Go back to the main menu and
  953.                select  4  to autoroute  the board.    When prompted  to use
  954.                single sided routing or not, answer Y.   Now hit the ESC key
  955.                and  watch the  machine  route.   When it  is  done is  will
  956.                display the list  of uncompleted connections to  the printer
  957.                or screen.   Select  whichever  you wish.   We  will now  be
  958.                dropped back to the  main menu.  We can take  a look at what
  959.                we have  done by selecting number 5 from  the menu.  You can
  960.                cursor around and see  a representation of the board  on the
  961.                screen.  Hit ESC when done.
  962.  
  963.                Now lets re-route  the board using double  sided techniques.
  964.                This time say  N to single sided  and Y to double  sided and
  965.                then hit ESC.  The machine will route double sided and again
  966.                give a list of incomplete connections  if any exist.  Select
  967.                printer or screen  for this list.   Lets take a look  at the
  968.                board again.  This time we may also want to use the S key to
  969.                change sides of the board that we are viewing.  When you are
  970.                done hit ESC.
  971.  
  972.           6.   From the main  menu, hit  6 for statistics.   Displayed  are
  973.                three statistics that tell you how good your design is.  Hit
  974.                space when you are done with this.
  975.  
  976.           7.   Last of all  we'll print this baby  out.  Hit 2  for printer
  977.                menu.  Now select silkscreen.   Select your printer and then
  978.                hit  N for mirrored  image.  Your  printer will  now print a
  979.                quick mockup of the  board.  This is useful  for remembering
  980.                what  chip goes where.   Now hit  3 to print  out the solder
  981.                side of the board.  Select your printer and answer N to each
  982.                prompt. Your printer will shortly come to life and print out
  983.                a 2X print  of the copper patern  on your printer.   You may
  984.                hit ESC  to abort the  printout if you are  tired of sitting
  985.                around.
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.                                                                          22
  994.  
  995.                                       Order Form
  996.                        Please enclose this form when ordering.
  997.  
  998.           Name:     __________________________________________
  999.  
  1000.  
  1001.           Address1: __________________________________________
  1002.  
  1003.  
  1004.           Address2: __________________________________________
  1005.  
  1006.  
  1007.           City:     _________________   State:    _______   Zip:_________
  1008.  
  1009.  
  1010.           Phone Number:  (________) ________-______________
  1011.  
  1012.  
  1013.           Computer name: _____________________________________
  1014.  
  1015.  
  1016.           Processor: 8086  8088  80186  80188  80286  80386  80386SX
  1017.  
  1018.  
  1019.           Printer type:  _____________________________________
  1020.  
  1021.           Suggestions/comments/other information:
  1022.  
  1023.           ____________________________________________________
  1024.  
  1025.           ____________________________________________________
  1026.  
  1027.           ____________________________________________________
  1028.  
  1029.           ____________________________________________________
  1030.  
  1031.           ____________________________________________________
  1032.  
  1033.           ____________________________________________________
  1034.  
  1035.           ____________________________________________________
  1036.  
  1037.           ____________________________________________________
  1038.  
  1039.  
  1040.           Please also  enclose the $65 check  or money order,  (do not send
  1041.           cash) made payable to:
  1042.  
  1043.                                    Douglas E. Ehlers
  1044.                                    4520 S. 58th
  1045.                                    Lincoln, NE  68516
  1046.                                    (402) 435-8440
  1047.