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

YT playlist for community creations Sticky

A topic by Sebastian Lague created Apr 17, 2025 Views: 6,315 Replies: 87
Viewing posts 21 to 43 of 43 · Previous page · First page
(-1)

I am trying to create as many 74 logic chips as i can from my TTL cookbook. can i share the library once i have finished so other people designing a 74 logic based cpu can use my chips?

(+1)

What do you mean? This is the post to share videos, not asking questions.

(1 edit) (+2)

Inspired by the guy two posts above me, I decided to also build my own version of Conway's Game of Life:

Developer

Awesome!

HEREs MY VID MY VIDEO

Its the same one thats added to the playlist right?

yes

(-1)

HERES another vid 

if anyone needs this: for a very very fast clock you can take 2 not gates: the first out feeds to the second out, and first and second out go to the output to create a flickering stage.

Or a xor gate, the output goes into it self while the other input is fed by a not or a input

(-1)

heres a 3rd vid. This time in v0
(-1)

another one

I have made a 7-segment-display tutorial

(1 edit) (+1)

I've been working on this one for a while now. PONG!

I have more details in this thread: https://itch.io/t/4920753/pong-8-bit-computer

Seb, if you want to use any part of this for your program or videos, go ahead.

Developer(+1)

Extremely cool, thanks for sharing!

how can you make output wires diffrently from normal

If you mean the color, just right-click on the output.

Thanks!

Right+Click on an I/O pin to change the name or the color of the wire that connects to it. The same can be done for the output pin of a chip, but only the wire color.

Thanks!

NEW VIDEO WITH SCROLLING HERE IT IS youtube.com/watch?v=reX6NL3gVyU

(1 edit)

new vid 

also can you add my other vids

I made the BCD you made in your old video (visualizing data) and improved upon it (and also modernized it) (since V2 doesn't have an actual negative sign and instead turns the display blue which doesn't really show that the number is negative), I made my own negative sign using the G segment.

I have found one flaw in my design. I didn't actually account the fact that the number might not actually be negative while in two's compliment. I did address this. I'll share an updated video later.

After playing around with your Buzzer chip, I got a general idea of how it works now.

Lowest note (0): A0 (27.5 Hz), Highest note (255): A#7 (3729.310092 Hz), each value steps up by 1/3 of a semitone (meaning 3 = A#0, 6 = B0, 9 = C0, and so on). The buzzer sound seems to be a simple square wave too...

This gives me an idea, which may take me a while to make...

I made a piano, from c4 to c5

Cool. I have something bigger in mind. ;)

Not really a showcase of something I build in the Sim, but rather an Upgrade on the Sim itself, but I think it's still kinda neat:

My pull request is here.

I did some testing and found that I'm able to play multiple buzzer noises at once. I also took the liberty of converting all of the different note names to hexadecimal to make it easier for me to encode a short tune...

Unfortunately, I'm on a Mac, where I am unable to record my internal audio since QuickTime doesn't even support it. It can only record external audio. And I'm not the kind of person who would download alternate software just to be able to do it as they might not even be safe.

I got an idea that might just work... I'm gonna use my phone to record the audio, and the Mac to capture my screen. Then all I need to do is try and sync them up as best I can.

(+1)

I had to do it. I created Bad Apple with your simulation. 

(+1)

Finally got the video with audio. Video also showcases my updated BCD circuit.

https://youtu.be/jbQVq1o8YEY?si=FiLdHfUe_L5MNpNl

i have a new video 

(2 edits)

I created a simple 4-bit random number generator. I use a 4-bit adder cycle through the numbers from 0-15 and use 4 Data Latches and 4 3-state buffers to output the adder when the enable signal is on. This is my first attempt. 


My own CPU named "N-16" executing Fibonacci sequence (23 Numbers and one overflowed number)

I made a 4-bit CPU for fun here, it just needs RAM but other than that it works pretty good.

( Sorry for the bad video quality, I saved it in 1080p but idk what happened here haha )

Your video quality is fine, it just takes a while for the higher quality part to finish processing.

For the XOR chip, you can actually make one using only 4 NAND chips: the first NAND is connected to both inputs, the second is connected to Input A and the output of the first NAND, the third is connected to Input B and the output of the first NAND, and the outputs of the second and third NAND chips go into the inputs of the final NAND, and the output of that is the final output.

Yes I actually know that, but that was only after I finished the CPU haha ! :D

I'm making Tic-Tac-Toe in DSL.

Yes, you read that right, I'm making a fully functional Tic-Tac-Toe game in Digital Logic Sim. I got the input part figured out. Here's a sample:

Viewing posts 21 to 43 of 43 · Previous page · First page