home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / tech / palsum8 / timing.doc < prev    next >
Text File  |  1986-02-21  |  16KB  |  352 lines

  1.                   SECTION                    PAGE #
  2.  
  3. INTRODUCTION
  4.   Purpose of this software ..................  1
  5.     Current Capability ......................  1
  6.     Future Enhancements .....................  2
  7.       Support for Abel ......................  2
  8.       Support for Cupl ......................  2
  9.       Reduction of Boolean Equations ........  2
  10.  
  11. GETTING STARTED
  12.   Hardware Requirement ......................  3
  13.     Minimum Required System .................  3
  14.     Recomended Hardware .....................  3
  15.   Main Menu Commands ........................  4
  16.     Naming the pins .........................  4
  17.     Entering the signal list order ..........  4
  18.     Drawing the signals on the screen .......  4
  19.     Creating the PALasm 2 formated file .....  5
  20.     How to exit and save your work ..........  6
  21.     How to exit without saving your work ....  6
  22.  
  23. SAMPLE DESIGNS
  24.   4 bit counter .............................
  25.     with reset ..............................
  26.     with set, reset, and load ...............
  27.   8 bit ring counter ........................
  28.     with reset ..............................
  29.     with reset and hold .....................
  30.  
  31. ADVANCED FEATURES
  32.   More than one state machine in a PAL ......
  33.   Extended simulation capability ............
  34.   Designing a continuous counter ............
  35.  
  36. LIMITATIONS
  37.   *** CAUTION *** ...........................
  38.  
  39. WHO TO CONTACT WITH PROBLEMS ................
  40.  
  41.  A. INTRODUCTION
  42.  
  43.     1. Purpose of this software
  44.  
  45.        a) Current Capability
  46.  
  47.                The TiDE program is very nearly a finished product.  In
  48.           the near future there will be a few minor additions to the
  49.           software which will be discussed in the next paragraph.
  50.           Aside from these additions I will take sugestions from users
  51.           of the software on what they would like to see added or
  52.           changed.  In the present revision [ver 2.16] only registered
  53.           outputs are supported.  This will be changed in ver 2.17 and
  54.           latter versions.
  55.                The TiDE software will allow a design engineer to enter
  56.           a minimal amount of information about the actual device to
  57.           be used and then enter a description of what the state
  58.           machine should do by drawing the timing diagram on the
  59.           screen of the PC or PC clone.
  60.  
  61.        b) Future Additions
  62.  
  63.           1) Support for Abel
  64.  
  65.                   In the near future TiDE will ask you if you will be
  66.              using MMI's PALasm 2 or Data I/O's ABLE software.  It will
  67.              then generate the proper file for use with your software.
  68.  
  69.           2) Support for Cupl
  70.  
  71.                   Due to the fact that I have not seen as many customers
  72.              using the Assisted Technology CUPL software I will be
  73.              waiting to see the number of requests that I get for this
  74.              feature.  If enough people want it I will do it.
  75.  
  76.           3) Reduction of Boolean Equations
  77.  
  78.                   I had intended to include a boolean reduction program
  79.              for use with PALasm 2 but I now feel that it would be better
  80.              to release a working version of the program and then add the
  81.              reduction routine in a future release.
  82.  
  83.  
  84.  
  85.  B. GETTING STARTED
  86.  
  87.     1. Hardware Requirement
  88.  
  89.        a) Minimum Required System
  90.  
  91.                The minimum system that this software has been tested
  92.           on was a DATA GENERAL ONE laptop computer with 256 K of
  93.           memory.  This system is an MS Dos machine with a few
  94.           exceptions.  I feel that if it runs on this machine it
  95.           should run on any MS Dos computer.  If you find an MS Dos
  96.           machine that this will not run on please contact me with the
  97.           details.
  98.                Due to the method used for drawing the wave forms you
  99.           do not need to have any graphics capability at all.  The
  100.           program is small enough to only require a single floppy disk
  101.           to hold both the program and the files created by the
  102.           program.  With these limited requirements it should be
  103.           possible to run TiDE on allmost any MS Dos computer.
  104.  
  105.        b) Recomended Hardware
  106.  
  107.                There is only one piece of hardware that would make a
  108.           nice addition and that is an IBM graphics printer.  The
  109.           Epson printers and their clones will not work for screen
  110.           dumps of the timing diagram without the use of special
  111.           software such as Print Works by SoftStyle.  The reason for
  112.           this is that the graphics on the screen are only the
  113.           extended character set of the IBM PC and are not really
  114.           graphics at all.  On an Epson or equivalent the graphics
  115.           characters are not there and instead you will get italics
  116.           characters.  This is only a limitation if you wish to get a
  117.           hardcopy of the screen while in the drawing mode.
  118.  
  119.  
  120.     2. Main Menu Commands
  121.  
  122.        a) Naming the pins - F1
  123.  
  124.                This is the first option on the main menu and it is
  125.           used to enter the mneumonics that you wish to assign to the
  126.           inputs and outputs of the device to be designed.  To invoke
  127.           this Press the F1 key while the main menu is desplayed. This
  128.           is the first thing that must be done on any new design.
  129.  
  130.        b) Entering the signal list order - F2
  131.  
  132.                This option does not need to be used unless you wish to
  133.           have the signals shown in an order other than the pin number
  134.           order.  When you use this option you have the ability to
  135.           have the same signal displayed as many times as you wish.
  136.           The only warning is that a signal that is showing in two or
  137.           more places on the screen should not be edited.  You will
  138.           get very strange results if you try to do this.  Even with
  139.           this precaution you may wish to display the same signal more
  140.           than once to allow you to compare the timing of this signal
  141.           to another.
  142.  
  143.        c) Drawing the signals on the screen - F3
  144.  
  145.                This is the fun part.  Once you have entered the pin
  146.           names you may begin to draw the signals by using this
  147.           option.  A menu of the available commands is located at the
  148.           bottom of the screen.  This menu lists all of the keys that
  149.           may be used to enter data, edit signals, or control the
  150.           screen.
  151.                The first part that we will discuss is the method for
  152.           entering the data.  The valid input keys for this are the
  153.           "X", "H", and the "L" keys.  Upper or lower case will work.
  154.           The meaning of the keys are:
  155.             X : don't care - the signal is undefined at this point.
  156.             H : high -
  157.                 on input signal - pin will be high during the next
  158.                                   rising edge of the clock.
  159.                on output signal - this signal is to go high after the
  160.                                   next rising edge of the clock if the
  161.                                   previous columns conditions are met.
  162.             L : low - same as for H except defines the low condition.
  163.  
  164.                The character entered will be displayed directly above
  165.           the cursor after which the cursor will advance one position.
  166.           The four arrow keys will all move the cursor in the
  167.           indicated direction.  The cursor may not be moved off of the
  168.           screen nor will it scroll the screen when it hits the top or
  169.           bottom.  If you wish to view the next five signals press the
  170.           pgdn key on the cursor control keypad.  To view the previous
  171.           five signals use the pgup key.  Due to the fact that there
  172.           are seven signals displayed on the screen there will always
  173.           be a two signal overlap for continuity.
  174.                The last of the control keys are the ins and del keys
  175.           again located on the cursor control keypad.  These keys will
  176.           allow you to insert a spot into a signal which can then be
  177.           changed to the proper value.  The cursor should be placed
  178.           under the first location that is to be moved to the right to
  179.           make room for the new value.  The del key will delete the
  180.           value directly above the cursor and move everything to the
  181.           right of the cursor left to fill the hole.  The use of these
  182.           two keys will help when you wish to make a small change
  183.           after entering a long signal so as not to have to enter the
  184.           entire signal again.
  185.  
  186.        d) Creating the PALasm 2 formated file - F4
  187.  
  188.                After you have entered the timing diagram you are ready
  189.           to produce the text file which will contain the heading,
  190.           equations and the simulation in a PALasm 2 format.  If you
  191.           follow all the steps carefully in your design you should not
  192.           have to use an editor on the file at all.  It is usually
  193.           possible to generate a file which is complete and ready to
  194.           be assembled into the fuse pattern for your part.
  195.                When this section starts it will ask you for a file
  196.           name.  At this point you should enter the name for the
  197.           PALasm 2 file.  Standard convention dictates that the
  198.           extension to the file name should be ".PDS", this stands for
  199.           Pal Design Specification.  Care should be taken here not to
  200.           enter a filename that is already being used,  at present no
  201.           checking is done to insure that a file is not overwritten
  202.           when the new file is created.  This is a feature that will
  203.           be added to a future version.
  204.                After you have entered the filename you will be asked
  205.           several questions.  If you are familiar with PALasm 2 you
  206.           will recognize that each of these questions is for the
  207.           heading of the file.  If you are just testing a portion of
  208.           your design and this will not be the final version of your
  209.           design you may just press the ENTER key and leave the
  210.           heading blank.  The exception to this is the part type,  if
  211.           you do not enter a part type the software will declare the
  212.           part as a PALXXXX in the text file.  At this point the file
  213.           will not work with palasm and you will have to use an editor
  214.           to change the part type to a valid one.  This can be used to
  215.           your advantage if you wish to get the equations and then go
  216.           back to decide which Pal you wish to use.
  217.                The last question will ask you if you are using a part
  218.           which has the capability of programmable output polarity.
  219.           If you answer this question yes the software will determine
  220.           if an output should be written active low or active high
  221.           based on which will require the least number of product
  222.           terms.  If you are not using a part with programmable
  223.           polarity all equations will be written active low.  An
  224.           example of a part with programmable output polarity is the
  225.           PAL16P8 vs. the PAL16L8.  The P in the part number
  226.           designates that the part has programmable polarity.  Many of
  227.           the new parts being done by MMI have the added feature of
  228.           programmable polarity.
  229.  
  230.        e) How to exit to Dos and save your work - F5
  231.  
  232.                When you have finished entering information or if you
  233.           are interrupted you may save your work and continue it at a
  234.           latter time.  This will save all pin names and signal values
  235.           that have been entered up to this point.  This will also
  236.           allow you to come back into the screen editor and change the
  237.           timing diagram if you find a problem in the PAL at a latter
  238.           date.
  239.  
  240.        f) How to exit to Dos without saving your work -F6
  241.  
  242.                I hope that you will not need this option but if you do
  243.           here it is.  If you make a major mistake while editing your
  244.           design file and you decide that you would like to lose the
  245.           changes that have been made since the last save you may do
  246.           so by using this key.  A check is made to insure that you
  247.           really want to do this as there is no turning back once it
  248.           is done.
  249.  
  250.  
  251.  C. SAMPLE DESIGNS
  252.  
  253.     1. 4 bit counter
  254.  
  255.        a) with reset
  256.  
  257.  
  258.  
  259.        b) with set, reset, and load
  260.  
  261.  
  262.  
  263.  
  264.     2. 8 bit ring counter
  265.  
  266.        a) with reset
  267.  
  268.  
  269.  
  270.        b) with reset and hold
  271.  
  272.  
  273.  
  274.  
  275.  D. ADVANCED FEATURES
  276.  
  277.     1. More than one state machine in a PAL
  278.  
  279.             Due to the way that this software generates the
  280.        equations to implement your design it is possible to define
  281.        multiple independent state machines in the same device.  In
  282.        order to do this all you will have to do is insure that the
  283.        seperate sections are not drawn under each other.  This
  284.        means that at least one column of nothing but don't cares
  285.        must seperate the sections.  You can use this method to
  286.        implement several different sections in the same device.
  287.  
  288.     2. Extended simulation capability
  289.  
  290.             When the simulation section of the output file is being
  291.        generated it works from the timing diagram.  The only signal
  292.        lines that it looks at are the input signals and the control
  293.        signals such as output enable.  By extending one of the
  294.        input signals such as a output enable type simulation will
  295.        continue.
  296.  
  297.     3. Designing a continuous counter
  298.  
  299.             In order to make a state machine that will loop back on
  300.        itself you will need to show the starting point for the loop
  301.        as the last column of the design.  For examples of this and
  302.        other special features look at the sample files on this
  303.        disk.  Files with an extension of ".SIG" are design examples
  304.        that you can use to experiment with.
  305.  
  306.  
  307.  E. LIMITATIONS
  308.  
  309.     1. *** CAUTION ***
  310.  
  311.             This section will be used to list bugs that have been
  312.        found and reported.  I will try to keep this section of the
  313.        manual current.  Since this is the first official release of
  314.        the program I do not have any reported bugs as yet.
  315.  
  316.  
  317.  
  318.  F. Who to contact with problems
  319.  
  320.          If you have a problem with the operation of this
  321.     software or if you decide that a feature needs to be added I
  322.     have a computer bulletin board which you may use to leave me
  323.     a comment.  The phone # for the board is (513) 866-5157.
  324.     This board will also contain the latest version of this
  325.     software along with the manual, as well as having other
  326.     utility programs to help you in designing with MMI Pal
  327.     devices.
  328.  
  329.  
  330.  G. Credits
  331.  
  332.     Author :            Bill Hollon
  333.                         Field Applications Engineer
  334.                         Monolithic Memories Inc.
  335.                         261 Trumpet Drive
  336.                         Dayton, Ohio      45449
  337.  
  338.  
  339.     Concept and Ideas : Mike Wier
  340.                         Regional Sales Manager
  341.                         Monolithic Memories Inc.
  342.  
  343.  
  344.     Anyone who makes a contribution of a signifigant idea will
  345.     be added to this list.  So send in any and all ideas for
  346.     improvement.
  347.  
  348.                                  Thanks;
  349.  
  350.                                        William R. Hollon
  351.  
  352.