Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Digital Logic Sim

​A minimalistic digital logic simulator · By Sebastian Lague

Is there a way to improve my preformance?

A topic by Ra1ju1 created Apr 15, 2025 Views: 142 Replies: 2
Viewing posts 1 to 2

I made a 4kb ram chip but when I place it down, my steps per second drops to 5. Is there a way to improve this?

Developer(+2)

The simulation needs a lot of optimization for sure. For now though, it helps a lot if you can simplify the chips that are used many times over in the ram. For example, if you have a dlatch made using NOR/AND/NOT gates like I show in my video, you could modify it to instead just use 5 NAND gates. Since NAND gates are built-in, its a lot faster for the simulator to process than custom chips like NOR, etc.

(1 edit) (+1)

That helped and it got it up to 10 steps per second, thank you!