Logisim: Open source digital logic simulator

[Spi Waterwing] wrote in to make sure that we were aware of Logisim, a Java-based open source digital logic simulator. We’ve used Atanua quite a bit in the past but hadn’t heard of this program. It seems to have a pretty big educational following and right off the bat it’s got a feature we’ve always wanted, the ability to build your own ‘black box’ logic devices. That is to say you can build your own circuit out of logic gates and then package it into a part to be plopped into your next design. What it doesn’t have is the series logic chips that we’re used to with Atanua, but you can build your own with the black box feature if you really need that kind of functionality.

So grab a copy and try building that binary calculator project from last month.

Comments

  1. Apexys says:

    You can do the logic chip simulation with Hades.
    But a cool programm!
    Apexys

  2. Doc Oct says:

    Played with this awhile back. Thanks for the post, I forgot what the name of this program was. I had a little simplistic cpu I made in it. Pretty fun.

  3. Necromant says:

    Hm… Nice stuff, but I’ll stick to verilog =)

  4. Garthok says:

    Middle Tennessee State University has been using it for a couple of years, we built a RSC (rather simple computer) for one of my classes. MTSU switched to it from another program because it is easier to use and cross platform compatible.

  5. normaldotcom says:

    Looks pretty decent… some students at the university I attend built a logic simulator we use for our classes, it’s quite nice (and isn’t written in Java): http://sourceforge.net/projects/cedarlogic/

  6. FishPond007 says:

    In my engineering school we used DigSim : http://www.cs.umbc.edu/~chang/cs313.s02/digsim/DigSim.shtml

  7. Wolfin says:

    Compared to Quartus, this thing is a breeze. Thanks a lot, Spi!

  8. Alex says:

    I’ve had to use this for a couple of my CS/EE classes. Nothing about it is particularly great, but it beats the heck out of some of the other free tools out there.

  9. mdonoughe says:

    My school used… um… Digital Works. It’s a really old Windows program with very little functionality. I think the reason some schools still use it is because it doesn’t have so many features that can be used to cheat on homework.

  10. delta says:

    nice tool, but afair it got quite slow as the designs grew bigger…

  11. Eric says:

    You can get a library of 7400 series chips from the same site.

    http://ozark.hendrix.edu/~burch/logisim/links.html

  12. Pilotgeek says:

    My highschool used this software. It’s pretty nice.

  13. John says:

    Yeah, Logisim’s great. We used it in my Computer Organization class at my university. We were able to build and simulate a “fully” functional processor from the base logic gates on up. It also makes abstraction really easy.

  14. eecs says:

    i used this in a class to make a basic MIPS processor, if any ones bored heres the project:

    http://inst.eecs.berkeley.edu/~cs61c/su10/assignments/proj2/index.html

  15. leadacid says:

    Back in my day, we used LogicSim, a Macintosh (OS 7 only!) application. Essentially its claim to fame was being a logic simulator that let you package up items into successively more complex objects. So you’d start with your ORs and NANDs and such, then build up an adder, then a full adder, then a math module, then a logic module, etc. until you had a “CPU”.

    The only downside was the host PC memory limitations. System 7 only let you play with around a few thousand transistors/logic objects before it ran out of memory. Host OS speed was an issue at that point too. You had to do weird stuff to compensate for gate delay native to the emulated gates themselves, then factor in the host PC’s speed and RAM issues.

    We ended up using it in our CPU design classes in school and between all of us (mind you this is 2003) got it running in some weird emulation mode on OSX on a G4 which really helped. One guy made a full 8-bit Z80 CPU emulation. It worked, but was slow.

    It had the most intuitive drag and drop interface I’ve ever used with auto-wire connections and grouping, etc. Your circuits became beautiful after it did autorouting. :-)

  16. CutThroughStuffGuy says:

    Is it just me or does logisim sounds kinda dirty?

  17. Jesper says:

    Does any of the listed programs support the possibility of creating the gate circuit if the input is boolean logic?

    Thanks in advance

  18. GT says:

    My university uses BrandonSim. A version of Logism that sucks less. =P

  19. Spi Waterwing says:

    @Apexys: Hades looks nice- I’ll be checking that out.

    @Eric: Aha! Thanks for the pointer. I’m still probably creating my own to match the pinouts of the chips we use in lab, but good to have that library.

    @Necromant: Oh sure, get all professional on us. :-P Sure, for production designs, I’d love VeriLog, but our intro course isn’t doing anything with HDL.

    @CutThroughStuffGuy: Loj-ih-sim, as in logic simulation. S, not Z. :-P

    @Jesper: Not sure what you mean- like, create a gate that you can program with an arbitrary expression? Logisim has a minimally-documented library system that can be used for extensions, but you’d have to write some code yourself.

    GT: I assume you mean http://code.google.com/p/gt-logisim/ ? Looks neat, I’ll check it out.

  20. Simon says:

    Does anyone remember that DOS one with the blue background? I spent days making a very slow CPU in that when I was about 15.

  21. Brandon says:

    I am the creator of “Brandonsim”. I made my own fork of logisim because logisim did not have features that we needed for the class I TA.

    (A little note there are two GT Logisims one is made by me and the other is made by 3 students as a senior design project)

    I created my fork over the summer of last year. I and Carl Burch (the lead developer of logisim) had a couple of chats over email (with bug fixes and ideas) and he did improve the program quite a bit last fall.

    We are currently using the official version in the class I TA and he fixed all of the bugs and added everything we asked for. So his version has substantially fewer bugs than my version and has more features.

    This program is really cool and I have made JAR file libraries for it which you can make components in Java. Its pretty straightforward too if you look at the example code given.

    If you want some examples of cool things JAR components I’ve made and what logisim can do. I’ve recently given an assignment to the students I TA to make a state machine to control a “Guess Your Number” machine

    Here are a few screenshots the last one is if they messed up (note the image name)

    http://img265.imageshack.us/i/guessv.png/

    http://img97.imageshack.us/i/guess2n.png/

    http://img227.imageshack.us/i/boredom.png/

    I have also done the datapath for the LC3 in logisim most of the components are JAR library components

    http://img146.imageshack.us/i/lc3.png/

    Logisim is well put together however there are still a few bugs in this version but they are really hard to replicate.

    The pluses over what we used to use logicworks is that its open source (FREE!).
    Its cross platform.
    Easy to use.
    And if something doesn’t do what you like you are free to write your own in as a JAR file library. Its pretty fast or at least I have not built something big enough to where speed is an issue.

    Also Carl Burch is a great developer he did listen to most of the ideas I sent them and had them implemented in reasonable amount of time. If you find any bugs with the official version just send it to him and he will fix it!

  22. Brandon says:

    Haha sorry about the spelling errors and grammar mistakes in my above post >_<

    @Jesper Do you mean take an arbitrary truth table and have logisim make a circuit for it? If so then logisim has that feature. Its called Combinational Analysis.

  23. Hobgoblin says:

    At UWA we have a program like this one that is part of the course for electronic engineering. It’s not very good, a bunch of quirks and bugs, but still it was usable… -ish.

    http://robotics.ee.uwa.edu.au/retro/

    Mind you, it seems just about every other university has their one logic sim from the looks of it.

  24. FoxxCommand says:

    Ahhhhhhhhhhhhhhhhhhh i need an Android version of this

  25. FDP says:

    Logism is a fun little piece of software (and it keeps getting better). It lacks many of the features that would make it a practical design tool, but it is a fantastic learning environment (I entered almost every circuit I learned about for a year into it, really changes the textbook experience).

    Hades has more features, but unfortunately it is severely buggy and the interface isn’t nearly as intuitive. I pretty much gave up on Hades the first time it crashed and took a huge design with it.

    I’d love to see the Xilinx ISE gain some of the features of these realtime tools, that would be the most useful route to go.

  26. SIM_user says:

    This is an incredible software with awsome animations. Exactly what I was looking for!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 98,361 other followers