Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 277 to 316 of 396 · Next page · Previous page · First page · Last page

To the peeps who made a discord server dedicated to this simulator, can u pls send a server invite that doesnt expire, and btw my discord is 29#1731, hit me up.

(1 edit)

There needs to be a way to edit chips easily. The only way I've found is to create a chip with the exact same name and close and reopen the project

Could you make something like that about networking/data transformation/data representation or something similar?

btw awesome content!

why is it using so much gpu?  im on a laptop core i5-8250u , UHD 620 . its like 90% gpu usage.

Deleted 2 years ago

i tried making a Carry look ahead adder and somehow i made it slower than a ripple carry adder

time to go back to the drawing board

(1 edit)

I made a button!!!

The adder is part of the video he put on this itch page

Why so complicated? Input IS button... I cant understand, but you made funny thing.

Also, "and" operator does this thing much faster.

who here want me to show or teach or find someone to teach about the basic CPUs

here a basic tutorial on CPUs

no big memory in this Just the Absolute basics

https://discord.gg/9BQRzfqX

"The invitation has expired"

https://discord.gg/fZH5n5uZ

Gus please click the invite I can’t send one out ever single day

just make it so it never expires

this simulator gotten a little annoying  i tried 5 times to make a main memory BUT IT STILL DOSENT WORK no matter what i do or how careful i plan they don't work can you please make things work without connecting all the dots up Thank you

(1 edit)

i will set up a tutorial on igmur.com (image tutorial) on how basic CPUs work but can you please tell us when or what is going to be in the next update when its small if its a big one you can keep it a surprise if you want but please tell us something.

can you please tell me how to make ram?

do you know the game battleship it’s like that but first you need to know about how to do encoders and decoders. first is decoders what that do is take a 2bit and up binary input (without 2s compliment) and put out a single output per section. 0000 input turns on the 0 output 0001 turns on the  1 output and 0010 turns on the 2 output and etc. with a 4 bit input you’ll get 16 outputs total each 16 outputs represent a number through 0-15.

A simple clock you can turn on and off

(3 edits)

ya well the clock here docent has a 50/50 tempo it has a random speed from slow to high tempo constantly

Another clock which seems to be steadier is this:

ok ill just clock it by hand sense its more reliable till he adds a clock to the simulator 

Deleted 3 years ago
Deleted 3 years ago

Also you can create 2 output clock if you get one signal before left "not" and after left "note". It would be helpful sometimes. For example i used it in fibonacci sequence calculating, when i needed to rewrite result in another register per tick.

the ability to zoom out or scroll would be nice

Unfortunately this doesn't seem to be working on the new M1 Macbook Pro. The buttons on the top and the settings under CREATE all disappear when clicked.

Okay, so a few problems. Solid GUI, but come on man why can't you delete anything? Like, you can delete individual instances of a certain gate, but if you put a typo in the name or something there's nothing you can do except restart the whole project or learn to live with it. Speaking of, if you did make a mistake in a project and have to start over, you can't delete the old project. Plus, maybe instead of starting with AND and NOT you could just start with NAND or NOR, since you can make every logic gate out of either of those as a starting point.

all gates (including NAND and NOR gates) can be made with the AND and NOT gates but its much more complicated for no reason if you went the other way meaning starting with the AND gate and the NOT gate makes it both simple and diverse.

How is it complicated? It's no more complicated than making OR from AND and NOT gates. Look, the way I see it is there's two potential goals here, start simple for beginners (in which case it makes sense to also include OR, the other basic gate) or build your way up from nothing (in which case building everything from NAND or NOR would be better).

(+1)(-1)

If there is a feature missing that you like then make it. He made it open source on Github.  I cant stand when people put out a project for free and everybody acts all entitled without lifting a finger to help.

He's posting it on itch.io for donations, I assume that means he eventually intends to make money on it. I'm not gonna do his work for him and contribute to  a project for someone else to make money on. I contribute to Open Source projects that aren't monetized. Besides, it's in alpha, I'm giving my feedback, so apparently all feedback is entitlement now?  Plus, how is it entitlement to want a feature as basic as deletion? Look you can get off your high-horse and stop being a dick to people requesting features in a product that is in alpha specifically to get feedback.

Donations doesn't mean monetization, that's the entire damn purpose of donating; it's if you really like what someone's done and want to support them. I'm sure that at least some of your "not monetized" open source projects you've contributed to have a donation system.

I downloaded it and accidentally put on the highest graphics. It crashed and now when i open it it instantly crashes. I have reinstalled it five times and restarted my computer. Can someone please help. On mac btw

(3 edits)

Does this work on Windows 32-bit? I am using a 32-bit Windows tablet. When I try to open an application that says "Digital Logic Sim", it says that this is not compatible for my computer. It is in the Digital Logic Sim (windows) folder. I extracted the folder. I have 2.14 GB free.

(1 edit) (+1)

I built a small 4-bit CPU that is really hard to program, because it heavily relies on swapping registers. It's basically a river-crossing puzzle. :)

If you want to try it out here's the Github link: https://github.com/gschwaer/Swappy/blob/main/Readme.md

(2 edits)

you don't need that many registers all you need a is main memory and 2 accumulators for the processing, a 2nd larger main memory for Control unit and memory data registers, also known as MDR or multiple like Cache, Cache is THE main memory that is between the CPU and RAM what it dose is that it take HUGE chunks of memory at once (mostly 4 eight bit registers at once) then send it to the CPUs memory and control unit. it also sends data back to ram or to main bus. (about the memory input from ram to cache is much bigger than that IRL)

Thanks for your suggestions.

Why "that many registers"? I only have two. They are in the SWAPR4. (Btw, all the 4s refer to word size.)

I do not use a main memory, but two stacks (+1 for consts) and one code memory (in CMD4) instead.  If you only have 4 bit as the instruction word, you don't want to waste a lot on immediates for offsets, nor with only 16 instructions on two word instructions. I don't understand what you wanted to imply regarding caches, surely in this simulator and on this level of CPU memory access latency plays not a role (compare with CPU in "the early days" like the 6502).

Yes, it's not a "classic" architecture, but I thing in might be Turing complete (assuming the stacks and program RAM would be infinite ;) ). I went for this arch because I wanted to test the individual chips well before putting them together (editing is not possible atm).

Merry Christmas! :)

(1 edit)

I’ll show you the setup because you only need 2 accumaltors and 4 registers nothing special 

Dude, what you're saying makes/made no sense, you can't really show him anything, since it's his custom arch. His architecture is great for what can be done in this game.

How'd you add those displays to it?

It was video editing, they werent actually there.

actually you can press the + key while hovering over the input/output bar to add them. you can also select the word size by pressing it again until you have the desired size.

hi
I have watched your videos are really great.

but now I want to download this software.

But i m having a problem downloading it. once I download the software and extract the zipped files and then open it it shows a pop-up message that this is not compatible with my computer.

could you please tell me how to solve that problem?

(1 edit)

Are you sure you downloaded the correct version for your operation sistem?

If you downloaded the correct version, I dont know whats happening, try to talk with Sebastian.

oh yeah you are right thank you for helping me😊.

thank you very much :)

what pc r u on

(+1)

has anyone managed to mod this to make the icons smaller or something along those lines?

Triple andTriple And : Following this logic you can do many more and.

More than three input "and" operators are useless.

how to download this??????????????????????????

(+1)

Click on the big red "Download now" button. You will get the source files, bc this is itch.io.


You can then unpack the .zip. 

You will find the Executable at:

Folder/Digital Logic Sim (windows)/Digital Logic Sim/Digital Logic Sim.exe
Deleted 3 years ago
Deleted 3 years ago
(1 edit)

this is really slow on mac,

82% cpu

(+1)

It would be interesting to see this simulator for android

Its uncomfortable to play on PC without zooming. Android gameplay would be worse.

I'm having a bug with the data latch. If you make it into a chip, it doesn't function correctly in chip form.

you are BEST!!! How do I make simple CPU

(+2)

I recommend you to watch ben eater's tutorials. https://www.youtube.com/playlist?list=PLowKtXNTBypGqImE405J2565dvjafglHU

(+1)

who here wants to start a discord community?

it would be nice

lets do it

(1 edit)

ok what’s your discord name so I can send a link to you to the discord server

Furkan#8728

i sent it

Can you post the invite link here so everyone can just join?

Foxfire_13#9726

i sent it

https://discord.gg/9BQRzfqX

make an invite that doesnt expire pls

btw, 29#1731 is my discord pls send me an invite

to do so i need to set up a bot that delete and sends a new message for the links and links expire every 24 hours for discord

(+1)

most of the computer logic I learned is from minecraft lol

(+1)

you mean redstone???

I know this is old, but I wanna say you come across as a dick here. You knew, and they knew, exactly what they were talking about.

(1 edit) (-1)

If wires could be combined at the output of a gate like it would at the inputs, then OR will be the simplest gate of the Sim.

Its a headache to use OR every time I want to combine 2 wires at the output. It would be nice if we could combine the wires at the output. Pls add some code that would OR all the wires that are intersecting at the output.


P.S. I'm a university freshman, and I don't even have  pocket money. And the best I could contribute to you is through Brave's BAT [I sent u 10]. Amazing work!

(+2)

it will be shorted , and it wont work properly in real life , 

Sometimes modules that work in design phase might be dead after you create them. You need to do whole design phase all over again. Here is an example of that happening twice in a row.You can see the module named "INCREMENT" became dead and I created the same module as "INC" at the very begining of the video. then I design and test "PCOUNTER" module. Unfortunitly that died after creating as well.

I recorded this with nvidia shadowplay so only a small portion of designing "INCREMENT" module is here at the begining. actual length of this video is 20min.

You should not use NOT gate by itself because it wont update and will always output 0 once you create a chip

I sent most of the information I know about basic ALUs did you find anything useful?

(+1)

I was very busy today I couldn't write a respond I'm sorry about that. 

Since I'm a highschool graduate who prepares for local univercity exam I haven't taken any lessons other than my own reading and research. With my knowlage I designed a circuit and a language for it in previus days.

I have read everyhing you said many times yesterday. Pretty much everything you said was completely new to me. Now I need to rework my circuit and language design.

Neither the circuit nor lanugage is mature yet but I want to share some papers with you to give you some idea how it looks like. 

Your info really helped me improve ALU. Thank you very much for your effort. Being in a cominity really helps people to improve in a topic so just like you said, I look forward to start a discord comminity too.

(2 edits) (+1)

well I’m not a master at it I learned all my stuf from YouTube and Minecraft red stone if you whant I can show you the Minecraft tutorials to understand how the cpu works or I can draw the basic layout of a Alu and cpu

Hi!

How do I find the save file on mac? 

~Library/Application Support/Sebastian Lague/Digital Logic Sim/SaveData

(1 edit)

What about for linux? (I know this is unrelated)

Does anyone know how to delete chips or entire projects? I have a few projects that are corrupted

(+1)

C:\Users\user_name\AppData\LocalLow\Sebastian Lague\Digital Logic Sim\SaveData\project_name

Delete project

Or open project and delete chip, then open "WireLayout" and delete file with name your chip

(+1)

The absolute Chad Guy Leroy created a version with an edit chip menu.

Here's the fork: https://github.com/gml16/Digital-Logic-Sim

Looks interesting, how do i compile it?

You load it on Visual Studio Code and spend the next followinghours understanding how to compile a JAR file.

Or, you write an email to the guy, like i did, asking him to make  a compiled release!

I'm loving this simulation, but I found an experience breaking bug that happens when you names 2 chips the same thing. It reverts the save to a former state and doesn't save any progress from that point forward. Hope this helps others avoid this.

(1 edit) (+2)

I just finished ALU and RAM. I'm now very close to finally be able to run this cpu. When I finish I want to share the files here. I have spent about 12 hours now on this simulator and I haven't noticed any bug. Just be careful when you delete modules from %appdata% since if you delete a module that you forgot you used in another module previusly working parts that contained removed module will stop working with no notification. Biggest drawback is the fact that we have limited area to work on but I feel like I got used to it after the first 5-6 hour. My previus comment was about clocks but you can make clocks with adjustable frequancy and pulses with different durations. adjusting them is not that ideal but I don't think anymore that is a problem since I never used a clock or pulse so far. Obviusly I need at least one clock but I belive a manuel input would be actually better then a clock module. That way I can use a autoclicker and be able to preciesly change frequancy. 

Dude, you're nuts. (good nuts)

kodbilen can i show you an easier way to use ALUs without making multiple different ALUs with different functions

Sure, of course I would love to learn. You might write or share material as a reply to this comment. 

Deleted 3 years ago
(3 edits)

half of an adder with a normal Exclusive ORthis is a interesting X-OR this one can cancel out the x-or function and turn into a normal Or and there are other ways to cancel the xot function but the one here basicly shows you how it’s doing itan full adder using the normal x-or and special x-or and 2 other functions the FC and can look unless due to the OR but the CIN only for carry wile Flood Carry turns on all the carrys at once. edited ok to fix this make shure you make the OR function cancel out the AND gate in the picture below.a group of full adders the Carry out (COUT) is connected into Carry in as a carry to each Full adders except for one thats connected as a function the FC is connected to ALL the FCs of the full adders and OR function is connected to all Full adders too. also known as a Ripple carry adder (RCA) the slowest type of adder out there but good for beginners.inverters basically can take a binary input and flip it. like 1001 to 01101 to 2 inverters are required i prefer 2. one Ripple carry adder and other outputs this time which is the Zero flag (Fz) and the negative flag (Fn) and 2 new inputs for input a and b with all these functions you can add and subtract in binary and do basic logic like NOR, X-OR, AND, OR, NAND, and X-NOR. the reason why not is not in the list be because you can do NOT function but Nor hastily dose the exact same thing so its one less peace of programming you have to worry aboutthats all the basics of the ALU hope you enjoy the info.

the Arithmetic logic unit

Deleted 3 years ago

its in options at the top right between create and exit

(1 edit)

Oh thanks also I can’t figure out how to make RAM

edit: figured it out.

(1 edit)

I found the same sizing issue as you and I have made a version 2x smaller(or bigger depending on how you look at it). so far as I know there are no bugs with my version. I will try to upload it to GitHub.

Can someone please tell me the controls :~;

(+1)

you can read instructions at the main menu.

(1 edit)

Holy crap one terabyte man i just started making 1 kilobyte 

and its 8 bit

(2 edits) (+1)

i made 1tb with memory in this game


will try to make computer processing unit in this game from a ibm pc jr

but need to had selector chip so making 2 tb is easy and add screens to please

I use 256byte*4bit ram and even it makes considerable amount of lag how do you run that without lag issues.

my pc fastttttttttttttttttt

it can run cyperpunk 2077 on 8k 30fps

and 4k 120fps

1 tb!!!!!! can make 1 pt I mean petabyte??????

In theory yeah, but if you don't have an absolut unit of a pc the game will probably crash.

Probably but ill try

You don't know how big 1 terabyte is. In this game, it's hard to get one kilobyte.

This is had a lot of potential i think it can teach kids easily and can help intermetait or advanced people design Full blown CPUs. yes its still in beta but i think this simulator is very good and i love it

but i do see some problems thats very simple and prob be the first things fixed or added for next update.

(4 edits) (+2)

This was exactly what I intended to develop myself for my project. I found this completely randomly while surfing through the internet and this maked me so happy. Thank you very much.

Edit: This lacks capasitors and resistors. If you don't want to implement simple physics even a hard-coded clock module(just like "and" and "not" modules) would work. or maybe an option for imputs to work like a clock with adjustable frequancy. Any of these would greatly improve this app.

Edit Edit: I managed to make a clock with xor gates but frequancy is depent on the update rate of simulation so you cant change it. 

(1 edit)

i thought the exact same thing when i i first started playing the simulator except for compacitors and resistor

You could slow it down by creating a counter and then use the counter to time a latch with the most significant bit tied to the data, so that it is turned on and off as a square wave. You'd still be tied to the refresh rate, but you could use that to easily drive a power of two slow down rate. With a more complicated timer you wouldn't have to limit yourself to powers of two and the latch isn't completely necessary, but it would be the "right way."

It's called Digital Logic Sim for a reason, it simulates digital logic, not capacitors and resistors. I know why you might want them, but it's not an electricity simulation, it's for logic.

i created 2 bytes of ram lmao

and it's banked now

i am having fun with this

i made 3 gigs of ram and i can go further

how do you make ram?

basically like making storage but making it work differnt havent tried it

No, no you didn't. 1 gigabyte is huge compared to 1 byte.

1 gigabyte is ~1 billion bits.

1 byte is 2 nybbles.

1 nybble is 4 bits.

also people who suggest stuff

please dont recommend something that has been recommend a million times

Reccomendations should go in the issue section of the github:

https://github.com/SebLague/Digital-Logic-Sim/issues

Viewing most recent comments 277 to 316 of 396 · Next page · Previous page · First page · Last page