home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s205 / 1.ddi / BACKUP.001 / DOC_LREF_LR71.DOC < prev    next >
Encoding:
Text File  |  1991-02-28  |  2.5 KB  |  75 lines

  1. TRACE_ON
  2. Overview
  3. TRACE_ON defines which signal values to record in the trace file
  4. during simulation.  Tracing allows you to reorder and group signals
  5. however you wish.  Tracing also resolves reverse polarity problems
  6. since you can define polarity in the trace statement.
  7.  
  8.  
  9. Syntax──────────────────────────────────────────────────────────────
  10.  
  11.     TRACE_ON Pn
  12. ────────────────────────────────────────────────────────────────────
  13.  
  14. Device Support:  All PLD devices.
  15. ·
  16. Syntax
  17. Use the keyword in an auxiliary simulation file or the simulation 
  18. segment of Boolean and state-machine designs.
  19.  
  20.  
  21. Syntax──────────────────────────────────────────────────────────────
  22.  
  23.     TRACE_ON Pn
  24. Example─────────────────────────────────────────────────────────────
  25.  
  26.     SIMULATION
  27.     TRACE_ON O1 O2 /IN2 /IN3
  28. ────────────────────────────────────────────────────────────────────
  29. ·
  30. Definitions
  31.  
  32. Pin, node       Identifies the list of pin or node names, as defined
  33.                 in the pin and node statements of the declaration
  34.                 segment.
  35. ·
  36. Use
  37. Observe the following usage conventions when using TRACE_ON.
  38.  
  39. ■    You can repeat TRACE_ON statements.
  40.  
  41. ■    You cannot nest TRACE_ON statements.  If the software finds a new
  42.      TRACE_ON statement, it abandons the previous statement and
  43.      continues with the new statement.
  44.  
  45. ■    You can list multiple pins or nodes with TRACE_ON.  Separate pins
  46.      and nodes with only a space.
  47.  
  48. ■    You can reverse pin or node polarity by placing or removing a
  49.      slash, /, in front of the pin or node name.  You cannot use
  50.      polarity with states.
  51.  
  52. ■    You can use strings and groups with TRACE_ON.
  53.  
  54. ■    Conclude a trace section with a TRACE_OFF command.  If you do not
  55.      conclude a trace with TRACE_OFF, the software terminates the
  56.      trace at the end of the file and displays a warning.
  57.  
  58. During simulation, the software generates a simulation history file.  
  59. You view this file as either an ASCII table or as a history waveform.
  60.  
  61. Tracing causes the software to create an additional file, the trace
  62. file, containing the simulation results of the pins and nodes selected
  63. by TRACE_ON.  The signals are listed in the same order and with the
  64. same  polarity as listed in the TRACE_ON statement.  If TRACE_ON is
  65. not used, then no trace file is created.
  66.  
  67. The software converts state names to state bits and appends them to
  68. the TRACE_ON statement for simulation.
  69. ·
  70. Related Topics
  71. SIMULATION
  72. TRACE_OFF
  73. ·
  74.