tutor-test.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <html>
  2. <head>
  3. <title>Tutorial: Testing your circuit</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <p><b>Next:</b> <em><a href="../index.html">User's Guide</a></em></p>
  7. <h2>Step 4: Testing your circuit</h2>
  8. <p>Our final step is to test our circuit to ensure that it really does
  9. what we intended. Logisim is already simulating the circuit. Let's look
  10. again at where we were.
  11. <center><img src="../../../img-guide/tutorial-shot-all.png" width="498" height="302"></center>
  12. Note that the input pins both contain 0s; and so does the output pin.
  13. This already tells us that the circuit already computes a 0 when both
  14. inputs are 0.</p>
  15. <p>Now to try another combination of inputs. Select the poke tool
  16. (<img src="../../../icons/poke.gif" width="16" height="16">) and start poking the
  17. inputs by clicking on them. Each time you poke an input, its value will
  18. toggle. For example, we might first poke the bottom input.
  19. <center><img src="../../../img-guide/tutorial-shot-test.png" width="498" height="302"></center>
  20. When you change the input value, Logisim will show you what values
  21. travel down the wires by drawing them light green to indicate a 1 value
  22. or dark green (almost black) to indicate a 0 value. You can also see
  23. that the output value has changed to 1.</p>
  24. <p>So far, we have tested the first two rows of our truth table, and the
  25. outputs (0 and 1) match the desired outputs.
  26. <center><img src="../../../img-guide/tutorial-xor-table.png" width="163" height="131"></center>
  27. By poking the switches through different combinations, we can verify the
  28. other two rows. If they all match, then we're done: The circuit works!</p>
  29. <br><br>
  30. <p>To archive your completed work, you might want to save or print
  31. your circuit. The File menu allows this, and of course it also allows
  32. you to exit Logisim. But why quit now?</p>
  33. <p>Now that you are finished with tutorial, you can experiment with
  34. Logisim by building your own circuits. If you want to build circuits
  35. with more sophisticated features, then you should navigate through
  36. the rest of the help system to see what else you can do. Logisim is
  37. a powerful program, allowing you to build up and test huge circuits;
  38. this step-by-step process just scratches the surface.</p>
  39. <p><b>Next:</b> <em><a href="../index.html">User's Guide</a></em></p>
  40. </body>
  41. </html>