explore.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <html>
  2. <head>
  3. <title>The explorer pane</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1>The explorer pane</h1>
  7. <p>Logisim organizes tools into <strong>libraries</strong>. They are displayed
  8. as folders in the explorer pane; to access a library's components, you have only
  9. to double-click the corresponding folder.
  10. Below, I have opened the Gates library and selected the NAND tool from
  11. it. You can see that Logisim now stands ready to add NAND gates into the
  12. circuit.</p>
  13. <center><img src="../../../../en/img-guide/attrlib-nand-select.png" width="505" height="355"></center>
  14. <p>If you look through the choices in the Gates library, you'll notice that
  15. there was no need for us to develop a XOR circuit earlier: It's built
  16. into Logisim.</p>
  17. <p>When you create a project, it automatically includes several libraries:</p>
  18. <ul>
  19. <li>Wiring: Components that interact directly with wires.</li>
  20. <li>Gates: Components that perform simple logic functions.</li>
  21. <li>Plexers: More complex combinational components, like multiplexers and
  22. decoders.</li>
  23. <li>Arithmetic: Components that perform arithmetic.</li>
  24. <li>Memory: Components that remember data, like flip-flops, registers, and
  25. RAM.</li>
  26. <li>I/O: Components that exist for the purpose of interacting with the
  27. user.</li>
  28. <li>Base: Tools that are integral to using Logisim, though you probably won't
  29. need to dig into this library very often.</li>
  30. </ul>
  31. <p>Logisim allows you to add more libraries, too, using the Load Library submenu
  32. of the Project menu.
  33. You can see that Logisim has three categories of libraries.</p>
  34. <ul>
  35. <li><strong>Built-in libraries</strong> are libraries that are
  36. distributed with Logisim. These are documented in the
  37. <em><a href="../../libs/index.html">Library Reference</a></em>.</p>
  38. <li><strong>Logisim libraries</strong> are projects built
  39. within Logisim and saved to the disk as a Logisim project. You can develop a
  40. set of circuits in a single project (as described in the
  41. <a href="../subcirc/index.html">Subcircuits</a> section of this guide)
  42. and then use that set of circuits as a library for other projects.</p>
  43. <li><strong>JAR libraries</strong> are libraries that are developed
  44. in Java but not distributed with Logisim. You can download JAR
  45. libraries that others have written, or you can write your own as
  46. described in the <a href="../jar/index.html">JAR Libraries</a> section
  47. of this guide. Developing a JAR library is much more difficult than
  48. developing a Logisim library, but the components can be much fancier,
  49. including things like attributes and interaction with the user.
  50. The built-in libraries (other than Base) were written using the same
  51. API as JAR libraries can use, so they aptly demonstrate the range of
  52. functionality that the JAR libraries can support.</p>
  53. <p>Some JAR libraries are distributed without any information about
  54. which Java class to start with. When loading such a JAR, Logisim
  55. will prompt you to type a class name. This class name should be provided
  56. by whoever distributed the JAR file to you.</p>
  57. </ul>
  58. <p>To remove a library, choose Unload Library... from the Project
  59. menu. Logisim will prevent you from unloading libraries that contain
  60. components used in a circuit, that appear in the toolbar, or that
  61. are mapped to a mouse button.</p>
  62. <p>Incidentally, a library technically contains tools, not
  63. components. Thus, in the Base library you'll find the Poke Tool
  64. (<img src="../../../../en/icons/poke.gif" width="16" height="16">), the Edit Tool
  65. (<img src="../../../../en/icons/select.gif" width="16" height="16">), and other tools that don't
  66. correspond directly to individual components.
  67. Most libraries, though, contain only tools for adding individual
  68. components; all built-in libraries other than the Base library
  69. are like this.</p>
  70. <p><strong>Next:</strong> <a href="attr.html">The attribute table</a>.</p>
  71. </body>
  72. </html>