simulate.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <html>
  2. <head>
  3. <title>The Simulation tab</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1>The Simulation tab</h1>
  7. <p>The Simulation tab allows configuration of the algorithm used for
  8. simulating circuits. These parameters apply to all circuits being
  9. simulated in the same window, even for circuits that exist in other
  10. libraries loaded within the project.</p>
  11. <center><img src="../../../img-guide/opts-simulate.png" width="376" height="334"></center>
  12. <ul>
  13. <li><p>The <strong>Iterations Until Oscillation</strong> drop-down menu
  14. specifies how long to simulate a circuit before deciding that it is
  15. oscillating. The number represents the number of clicks of the internal
  16. hidden clock (a simple gate takes just one click). The default of 1,000
  17. is good enough for almost all purposes, even for large circuits. But you
  18. may want to increase the number of iterations if you are working with a
  19. circuit where Logisim reports false oscillations. This is unlikely to be a
  20. problem in practice, but one such a circumstance is a circuit that incorporates
  21. many of the below latch circuits with random noise enabled. You may want to
  22. decrease the number of iterations if you are working with a circuit that is
  23. prone to oscillating and you are using an unusually slow processor.</p></li>
  24. <li><p>The <strong>Gate Output When Undefined</strong> drop-down menu configures
  25. how the built-in logic gates behave when some inputs are unconnected or are
  26. floating. By default, Logisim ignores such inputs, allowing a gate to work over
  27. fewer inputs than it was designed for. However, in real life, a gate will behave
  28. unpredictably in such a situation, and so this drop-down menu allows one to
  29. change the gates so that they treat such disconnected inputs as errors.</p></li>
  30. <li><p>The <strong>Add Noise To Component Delays</strong> checkbox
  31. allows you to enable or disable the random noise that is added to the
  32. delays of components. The internal simulation uses a hidden clock for
  33. its simulation, and to provide a somewhat realistic simulation, each
  34. component (excluding wires and splitters) has a delay between when it
  35. receives an input and when it emits an output. If this option is
  36. enabled, Logisim will occassionally (about once every 16
  37. component reactions) make a component take one click longer than
  38. normal.</p>
  39. <p>I recommend keeping this option off, as this technique does introduce rare
  40. errors with normal circuits.</p></li>
  41. </ul>
  42. <p><strong>Next:</strong> <a href="toolbar.html">The Toolbar tab</a>.</p>
  43. </body>
  44. </html>