home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser 1998 October / STC_CD_10_1998.iso / ANWEND / FSM_EDIT / README.TXT < prev    next >
Text File  |  1998-09-26  |  6KB  |  143 lines

  1. CLA-FSMedit v1.2                                             31/3/94
  2. ╜1994/95,by Craig Graham
  3. =========================
  4.  
  5. Summary
  6. -------
  7. This program allows you to design finite state machines graphicaly, and
  8. implement them in hardware using a p22v10 Programable Logic Array Chip.
  9. This program comes as part of the CLA Digital Design System, although
  10. it is not integrated in this version.
  11.  
  12. New in the release
  13. -------------------
  14. o Powerup State is now setable, for use with FSMsynth.
  15. o Monochrome monitors are now supported as well as colour ones.
  16. o ST-PASSM is now included.
  17. o Supported output formats are now PASSM, PALASM2, and VHDL !!!!!
  18.                                                        ^^^^
  19. o It is recomended that FSMsynth is used for PAL generation as it is
  20.   much more reliable that the FSMedit export options, and can support
  21.   a wider range of devices.
  22.   
  23. THIS IS NOT A MANUAL, IT'S A DESCRIPTION.
  24.  
  25. Introduction
  26. ------------
  27. Most programs in the CLA design suite have their drawbacks & faults. The
  28. major one's with this program come from it being a rushed job. I needed
  29. to design a finite state machine (actually, the Digitiser Control FSM
  30. which is included as an example), so I wrote this program to help me do
  31. it. I'd been intending to write one for a while, so it wasn't a real
  32. hardship.
  33.  
  34.  
  35. Limitations on this version
  36. ---------------------------
  37. o Only p22v10's are supported.
  38. o No output to CLA .NET format is supported. You have to export VHDL and then
  39.   compile it using CLA-VHDL.
  40. o Evaluated conditions are not finished.
  41. o It is strongly recomended that you use FSMsynth to create PAL's with as it is
  42.   much more reliable & fully featured than FSMedit's synthesis routines.
  43.  
  44. Design System
  45. --------------
  46. I've now included the ST version of PASSM with the package - note that this
  47. is NOT part of CLA, it is a seperate PUBLIC DOMAIN package (source code is
  48. included).
  49.  
  50. Although the manual is partly missing from the PASSM archive, I've worked
  51. it out from the source code, and you'll never actually have to write any
  52. PALASM code yourself as CLA-FSMedit does that bit for you. Just use PASSM
  53. to compile the PAL files into a JEDEC fuse map.
  54.  
  55. Note however, that PASSM does have some bugs in it - you would be better to
  56. use PALASM2 on a PC for the time being.
  57.  
  58. This is the design path I use at the moment :-
  59.  
  60. 1) Atari Falcon running FSMedit to design & document the state machine.
  61.  
  62.       Export .PL2 file for PALASM2.
  63.  
  64. 2) PC/emulator running PALASM2 for compiling & simulating.
  65.  
  66.       Export .JED file for device programming.
  67.  
  68. [17/5/94]
  69.    My new path to simulation is via CLA-VHDL, which can compile a VHDL
  70.    produced by FSMedit and produce a .NET file which can be loaded into
  71.    the main CLA editor/simulator.
  72.  
  73. 3) Universal Programmer for programming the device.
  74.  
  75.       PAL22V10 chip for testing.
  76.  
  77. 4) Hewlett Packard Logic Analyser for testing the actual device.
  78.  
  79. File Formats
  80. ------------
  81. This program generates 5 types of file.
  82.  
  83.  1) .FSM files are the CLA-FSMedit native file format, which it stores FSM's
  84.     in.
  85.  
  86.     .PAL, .PL2, .VHD & .GEM files are exported via the TOOLBOX dialog window.
  87.  
  88.  2) .PAL files are output from CLA-FSMedit on demand and are PASSM source
  89.     files, targetted for a p22v10. These can then be compiled using ST-PASSM
  90.     to produce JEDEC fuse maps for programming a PAL. If you wish to aim for a
  91.     different PAL, then REGISTER THE BLOODY PROGRAM, then  perhaps I'll help
  92.     you. Watch out for the bugs in PASSM.
  93.  
  94.  3) .PL2 files contain the same information as .PAL files, but in PALASM2
  95.     format. It must be said that using PALASM2 to compile designs is MUCH
  96.     better than using PASSM, as you can target almost any device, and can
  97.     run simulations & produce test vectors using the software - unfortunately
  98.     it only runs on a PC. I will eventually get PALASM out of the loop by
  99.     generating the JEDEC files direct, and allowing simulation of the PLD
  100.     inside the main program, but for now I  have to recomend that you get
  101.     PALASM2 and use a PC for final testing & PLD programming.
  102.  
  103.  4) .VHD files contain the same information as .PAL files, but describe the
  104.     State Machine in VHSIC High Level Design Language (VHDL) - the modern
  105.     standard language for ASIC & FPGA synthesis. You can then compile & simulate
  106.     the FSM using the rest of the CLA package. The VHDL may also be used in
  107.     'proper' design systems (eg. as part of a VHDL design, or as a block in
  108.     a Intergraph design). So you can use your FSM designs in conjunction with other
  109.     packages. Possibly the most significant addition so far ?
  110.  
  111.  5) .REP files are generated at the same time as .PAL & .PL2 files, and contain
  112.     more detailled information about the FSM (eg, easily read pinouts, state bit
  113.     assignments, transistion conditions, output variable states, etc).
  114.  
  115.  6) .GEM files are the standard GEM metafile format we all know & love.
  116.     Works fine as long as you have GDOS installed with the metafile driver as
  117.     device 31. Works with NVDI & Speedo. Note that the .GEM's are in colour.
  118.  
  119. Examples
  120. --------
  121. There are two example files included, B.FSM  &  V9.FSM.
  122.  
  123. B.FSM is the simple 3-state FSM which I used as a test piece for the program.
  124. This will compile quite happily with PASSM on an ST, but isn't very complex.
  125.  
  126. V9.FSM is the state machine which I wrote the program to design in the first
  127. place (it's the controller for a video digitiser/frame grabber).
  128.  
  129. You would require PALASM2 on a PC to compile the V9.FSM0 state machine due to the bug
  130. in PASSM on the ST.
  131.  
  132. IMPORTANT NOTES:
  133. ---------------
  134. As it's not immediately obvious, the  button at the far right of the editor
  135. widget bar is the SELECT/EDIT icon - it allows you to select which state you
  136. wish to edit, and also to drag that state to a new posistion on screen.
  137.  
  138. For the Output Metafile option to work, the GDOS META.SYS driver should be
  139. installed as device 31.
  140.  
  141. FSMedit will accept a command line filename of an FSM - so you can use install
  142. application from the desktop, using the document type .FSM
  143.