The explorer pane
The navigation panel has two functions. It can present the circuits being simulated in the view simulation or as here the circuits in the top of the list and the lower libraries represented by folder icons. These libraries include tools you can use in your projects. |
To access the components of a library just open the library with a double-click the corresponding folder or a click on the tiny key then select the tool with a right-click on the tool. Then move the mouse cursor over the canvas and a ghost drawing of the tool will follow the mouse cursor until you make the last click on the surface to drop it to the chosen location.
Below, I have opened the Gates library and selected the NAND tool from it. You can see that Logisim now stands ready to add NAND gates into the circuit.
If you look through the choices in the Gates library, you'll notice that there was no need for us to develop a XOR circuit earlier: It's built into Logisim.
When you create a project, it automatically includes several libraries:
- Wiring: Components that interact directly with wires.
- Gates: Components that perform simple logic functions.
- Plexers: More complex combinational components, like multiplexers and decoders.
- Arithmetic: Components that perform arithmetic.
- Memory: Components that remember data, like flip-flops, registers, and RAM.
- Input/Output: Components that exist for the purpose of interacting with the user.
- TTL: The classic TTL components of the 74 family in their DIL case.
- TCL: I did not document for the moment
- HDL-IP: I did not document for the moment BFH mega function: I did not document for the moment
- Input/Output-Extra: I did not document for the moment
- System On Chip components: Components found embedded in some FPGAs
Libraries
Logisim allows you to add more libraries, too, using the menu | Project | → | Load Library | or by left-clicking on the root folder of the project explorer. You can see that Logisim has three categories of libraries.
- Built-in libraries are libraries that are distributed with Logisim. These are documented in the Library Reference.
- Logisim libraries are projects built within Logisim and saved to the disk as a Logisim project. You can develop a set of circuits in a single project (as described in the Subcircuits section of this guide) and then use that set of circuits as a library for other projects.
-
JAR libraries are libraries that are developed in Java but not distributed with Logisim. You can download JAR libraries that others have written, or you can write your own as described in the JAR Libraries section of this guide. Developing a JAR library is much more difficult than developing a Logisim library, but the components can be much fancier, including things like attributes and interaction with the user. The built-in libraries (other than Base") were written using the same API as JAR libraries can use, so they aptly demonstrate the range of functionality that the JAR libraries can support.
Some JAR libraries are distributed without any information about which Java class to start with. When loading such a JAR, Logisim will prompt you to type a class name. This class name should be provided by whoever distributed the JAR file to you.
To remove a library, choose menu | Project |→| Unload Library ... |. Logisim will prevent you from unloading libraries that contain components used in a circuit, that appear in the toolbar, or that are mapped to a mouse button.
It is also possible to do this by pressing a click-left on the library to disable.
Next: Toolbars.