table.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <html>
  2. <head>
  3. <title>Editing the truth table</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1>Editing the truth table</h1>
  7. <p>On opening the Combinational Analysis window, you will see that
  8. it consists of five tabs.
  9. <center><img src="../../../../en/img-guide/analyze-var.png" width="466" height="321"></center>
  10. This page describes the first three tabs, Inputs, Outputs, and Table.
  11. The next page of the guide describes the last two tabs,
  12. Expression and Minimized.</p>
  13. <h2>The Inputs and Outputs tabs</h2>
  14. <p>The Inputs tab allows you to view and edit the list of inputs.
  15. To add new inputs, type it in the field at the pane's bottom,
  16. and click Add. If you want to rename an existing input, select it
  17. in the list in the pane's upper left region; then type the name
  18. and click Rename.</p>
  19. <p>To remove an input, select it from the list and click Remove.
  20. You can also reorder the inputs (which affects the order of
  21. columns in the truth table and in the generated circuit) using
  22. the Move Up or Move Down buttons on an input.</p>
  23. <p>All actions affect the truth table immediately.</p>
  24. <p>The Outputs tab works in exactly the same way as the Inputs tab,
  25. except of course it works with the list of outputs instead.</p>
  26. <h2>The Table tab</h2>
  27. <p>The only item under the Table tab is the current truth table,
  28. diagrammed in the conventional order, with inputs constituting the
  29. columns on the left and outputs constituting the columns on the
  30. right.</p>
  31. <p>You can edit the current values appearing in the output columns by
  32. clicking on the value of interest. The values will cycle through 0,
  33. 1, and <em>x</em> (representing a "don't care"). As we'll see on the
  34. next page, any don't-care values allow the computation of
  35. minimized expressions some flexibility.</p>
  36. <p>You can also navigate and edit the truth table using the keyboard.
  37. And you can copy and paste values using the clipboard. The clipboard
  38. can be transferred to any application supporting tab-delimited text
  39. (such as a spreadsheet).</p>
  40. <p>If the truth table is based on an existing circuit,
  41. you may see some pink squares in the output columns with "!!" in them.
  42. These correspond to errors that occurred while calculating the value
  43. for that row - either the circuit seemed to be oscillating, or the
  44. output value was an error value (which would be pictured as a red wire
  45. in the Logisim circuit). Hovering your mouse over the entry should
  46. bring up a tool tip describing which type of error it was. Once you
  47. click on the error entry, you will be in the 0-1-<em>x</em> cycle;
  48. there is no way to go back.</p>
  49. <p><strong>Next:</strong> <a href="expr.html">Creating expressions</a>.</p>
  50. </body>
  51. </html>