Drawing digital circuits can become a mess very fast which makes testing those even more difficult. Doing it offline is a painful job with all those wires. So, what GUI software is recommended for building digital circuits and testing them?
3 Answers
2022 Update
The original Logisim is currently unmaintained, however Logisim Evolution is now the successor, and still open source and maintained at https://github.com/logisim-evolution/logisim-evolution. It has support for Linux (Deb and RPM), Mac and Windows. It is still purely digital, and easy to run.
Old answer
Logisim is not in the repos, but being a single java jar, should be fairly easy to get going. It is purely digital, without the discrete and analogue components. It is however quite sophisticated - I've been putting together a simulation of a single instruction CPU with it.
Instructions for getting and running it:
Download the .jar file from http://sourceforge.net/projects/circuit/
If you saved the file to
~/apps/logisim-generic-2.7.1.jar
, you can run it from a terminal with:java -jar ~/apps/logisim-generic-2.7.1.jar
To save yourself from typing that the whole time, create the executable
~/bin/logisim
containing#!/bin/sh java -jar ~/apps/logisim-generic-2.7.1.jar
Make it executable:
chmod +x ~/bin/logisim
If
~/bin
existed before, it's already in your$PATH
. Otherwise, re-login to update your$PATH
. From now on, you can start it by running:logisim
If you update logisim later, it's as easy as putting the new file in ~/apps/
and change the filename in ~/bin/logisim
Well, now it's there in the ubuntu 14.04 repositories as well, just type :-
sudo apt-get install logisim
to install it.
-
1Awesome tool, well-maintained and relatively easy to use (read tutorial first). Sep 25, 2011 at 8:53
I used a promising program called KTechLab in the past, the program is KDE 3 based and has not yet been ported to KDE 4 I used it to teach some youngsters electronics both analogue and digital concepts, it is a fine piece of software, even has PIC microcontroller simulation, sadly development seem to be very very slow and after they made an update to it I started having stability problems, I would still encourage you to try it though.
It is in the repositories but I do not know if the stability problems are still there as I have stopped using it.
The links below may be of some use:
http://sourceforge.net/projects/ktechlab/
http://www.linuxjournal.com/content/computer-logic-design-ktechlab
-
It's neither in the natty nor oneiric repos. It looks quite extended, is it easy to use? Sep 23, 2011 at 19:14
-
It is extremely easy to use, see the manual at Wikipedia, you may be able to install by the download from the sourceforge link. sorry I am still using 10.10– SabaconSep 23, 2011 at 21:13
-
I'll give it a go even if the tarball is from November 2009. The git repos are more recent, but I'm not sure which one is the most stable so'll stick to the tarball for now. Sep 23, 2011 at 21:22
You should have had a quick look at the Software Centre, it's always where I look first if I'm trying to find something. I typed in "circuit" and you get a nice list of the follow: KLogic, tkgate & Qucs (the rest just seem to be for making/design PCB's and other stuff). The tkgate one was always my favourite one to use. I suggest giving that a go, along with KLogic, and see how you feel about them.
-
I actually looked at every available software package, but they all seems to be outdated (2009/2010) or not what I'm looking for (not a plain drawing tool, but something that also allows for simulation).
tkgate
looks like I've to learn Tcl first. Is that true? Sep 23, 2011 at 20:20 -
Not actually sure if you need to learn Tcl first... but might be useful. Did you eventually find something that works for you btw?– hazrpgJan 30, 2012 at 13:49
-