A downloadable game for Windows, macOS, and Linux

Download NowName your own price

A minimalistic digital logic simulator. You start with an AND and a NOT gate, and from there you can build whatever you want.

I created this as a visualisation tool for my video series on the basics of how computers work, but have released it since a number of people were interested in trying it. May be buggy, and definitely lacking in many features! For something far more complete, take a look at alternatives like logisim.

Source code available here: https://github.com/SebLague/Digital-Logic-Sim

Latest build: v0.25 (6 December 2020)

Download

Download NowName your own price

Click download now to get access to the following files:

Digital Logic Sim 20 MB
Digital Logic Sim 20 MB
Digital Logic Sim 22 MB

Development log

Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 1 to 40 of 297Next pageLast page
(1 edit)

I downloaded the game and I only got 1 folder. Can anyone help me?

I see no way to delete chip names in the bottom menu. Also, a good addition would be a grid or a key to restrict traces to 90 degree paths. Minor additions to an excelent program!

(+1)

I found a way to slow down a timer but don't know how to rebuild it.

could you please post an image of the slowed-down timer so I can have a look at it and maybe tell you how to rebuild it? also that could be pretty useful for some projects!

So I was just wondering if any knew if we could make our own versions and make our versions downloadable. I ask because while I know little about unity I am willing to learn, and with the help of others and help of the internet. I wonder if we could keep updating the sim since it seems like an abended project. So if anyone knows or even willing to help me please comment on this comment.

Fork the source code from his Github mentioned in the description.

I downloaded the simulator and I tried opening it and I got a message saying that my computer wasn't sure if it was free of malware. Did anyone else get that message after you tried to open it on your computer(I have a MacBook pro). 

(+1)

i dont want to pay

Im playing it rn with no issues. Trend Micro maximum says its fine.

https://imgur.com/a/Tupfl2A

how do I make more space to fit my 32 or 16 bit adder chip?

going to see if I can add this feature since it is technically open source 

How to get the decimal showing up  pls help

While moussing over the the sides where you add the input and outputs hit the plus or minus button to add inputs/outputs to your group.

i think i might have broke something.

i created a cricuit and it worked as intended but then i "create" it into a logic gate and it stopped working.

i even put the circuit i made in raw along side the "gate" and the raw circuit still works while the "gate" does not.

if your wondering what my 'Tri_logic' thing is.
it's basically an ... 'and'+'not or'+'exclusive or' all mixed together.

bottom = 'not or'
center = 'and'
top = 'exclusive or'

in this case i was using the 'not or' functionality for a flip_flop which would have been used to created a clock but that when i discovered that the flip_flop wasn't functional XD.

video of the problem.

help i have no idea how to make a Nand

i watched the vid

first place 2 inputs then place an and gate connect the and gate to the 2 inputs then connect the output of the and gate then connect it to a not gate then put an out put and connect the output of the not gate to the output and label this chip a Nand

i made a 32 bit adder but it wont fit

hey i wish that he could add a delete button sometimes i accidentally make something then realize a flaw then i can't remove it so please add a delete feature for some chips

delete is backspace, should probs say that though

(+1)

He means created chips(Where you drag them up from) Im looking for the same thing now as well

The only way I have found to do this is to go into the save files and delete them manually on windows you can get there by going to your "C" drive/main drive going to "Users" going to "App data" than "LocalLow" than "Sebastian Lague"  from here go to the "SaveData" folder here you should see all of your saves from here you can delete those if you want but if you just want to delete the chip than enter the save you wished for it to be deleted in from here you should see all your chips with their names delete the one you want to get rid of than go into the  "WireLayout" folder and delete it there too 

thanks im on linux so I'll have to search the files. At least now I know what file im looking for lol

hey what i meant from when i want to delete chip i want to delete some that could be mistakes that you either dont need again

I bought your software but it doesn't work I  have only 2 logic gate and nothing else

I made a 16 bit register

(+11)

PETITION TO CONTINUE THE VIDEOS

1 UPVOTE = 1 VOTE

made a thing 

(+1)

so i did alllll that work for nothing. it won't fit.

(+1)

sounds like a good feature request to allow scrolling

DATA LATCH. 3 BITS. 6 BITS.

1 bit 2 bit 4 bit 8 bit 16 bit 32 bit 64 bit 128 bit 256 bit 512 BIT 1024 BIT 2028 BIT 4056 BIT 8112 16224 BIT

Anybody got a solution?


So i found the solution. Apparently i needed to open task manager, find digital logic sim, right click and click maximize.

How can i use this? In my windows 7 desktop this is just a folder and if i click it it shows me only may data an the computer, can someone help me?

(OS: Windows 7 Home Professional)

i have got the same problem

Try to find a .exe file named something like 'logicsim.exe' and run it. Make sure to keep it in the folder.

As more components are added to the bench, the simulator starts breaking. I made an upgraded D flip flop in two different projects, one with much more components than the other. Even though it's the same exact flip flop in both projects, it's completely broken in the project with more components. Eventually, the project completely reset itself and I lost my progress. An update would be greatly appreciated. Thanks!

(+1)

is there a way to delete saves

Yes, on your file viewer, go to ~/.config/unity3d/Sebastian Lague/Digital Logic Sim/ if you're on Linux, on Mac: Library/Application Support/com.SebastianLague.DigitalLogicSim/SaveData

(IDK what windows is) and there you can delete the save folders for your different projects

(+3)

it took me a long time to figure it out, but for anyone else using Linux, the save location is "~/.config/unity3d/Sebastian Lague/Digital Logic Sim/"

Hi, please get acquainted and support the discussion on the git hub https://github.com/SebLague/Digital-Logic-Sim/discussions/85

(+5)

I made a 16 bit adder

Nice!

Can you show us some examples of it working? Would be fun to see.

I also did that!

how do you fit the 16bit cip

Hi I found a bug when I open the app in a few sec it go's blank (In windows 7 *64 bit)

Love this tool! Is there a way we can go back into the chips we created to edit/rename pins

(+2)

is there a mod to zoom in and out

(+4)

can we delete chips if we mess up? 

i also tryed to delete it

(+3)

I have made a kilobyte in digital logic sim (1024 bytes or 8132 bits)

(+1)

1024 bytes is 8192 bits

how?

Anyone has link to the discord? Links are expired...

(+1)

Found you videos by accident and love both of them. Thanks for sharing this and I hope you are able to make more videos in the series as they are super clear and have taught me more about electronics than all my tinkering so far! 馃榿 

(+6)

How can you enable slow wire simulation that was in video?

ive always wanted someone to make something like this! amazing!

(+3)(-1)

Is there a library of popular chips that I can download so I don't have to make them myself? (XOR, NAND, OR, etc)

(1 edit) (+1)(-5)

idk, maybe there is some out there


btw, why are you so lazy to do it yourself?

(+2)(-1)

Do you realize how much programmers rely on outside libraries? I don't have time to go through and make all my own stuff if it already exists. it's not laziness, it's efficiency. 

(+1)

I think you can just make them, then copy between save files.

Deleted 55 days ago

You can create one and use it yourself when you make a new project.

(-1)

I know, I'm saying is there an external library of files I can import so I don't have to do all the mundane stuff that thousands of other people have already done

Wich chips do you want? I can fix them

/Vilgot

Just a library of every moderately popular chip

he knows that, you said that earlier. Specify what chips like he鈥檚 asking

(2 edits)

Edit: Now I know how to use it

(+1)

Please finish the series.

Viewing most recent comments 1 to 40 of 297Next pageLast page