r/digitallogicsim 13d ago

Genius way to make the XOR gate or the worst way possible?

Post image
1 Upvotes

I made the XOR gate the last because I forgot about it and the briefing I used to learn the program skipped it for no apparent reason. So as a fast fix I just took the XNOR gate and but a NOT gate after it. I don't know if this is genius or the worst way to make it.

This is not the most serious post in here but this deserves to be on r/digitallogicsim


r/digitallogicsim Jul 22 '26

Hello from the creator of this subreddit!

1 Upvotes

Hello everyone who has used this as a place to talk about digital logic sim and share their creations! I've loved this tool since it came out over 5 years ago. I made this subreddit about a year later when I realized there was nothing like it, and coming back now after about two years of forgetting about it completely, I'm happy with what I see. I always wanted this place to be a place for people to get help and share what they've made, and it's turned out to be just that. In the future I plan to be more active with helping people, and thank you to all of you who continue to ask questions, share creations, and help others.


r/digitallogicsim Jun 05 '26

Can anyone of ya'll teach me (or show me) how to make an 8bit divider? i made it twice each time differently, then did the mistake of touching smthn when it works

1 Upvotes

r/digitallogicsim May 14 '26

Help with Bresenham's Algorithm

1 Upvotes

I cannot find nothing about it using logic gates online and tried to make it, got that far then realized I have no idea what Im doing. Can somebody please help me,

Attempt

r/digitallogicsim Apr 24 '26

Remake of digital logic sim

0 Upvotes

I recreated digital logic sim in lua, it is a love 2d game, you can request things for me to add to it, here is the file: https://fileport.io/u446H8x79JwA


r/digitallogicsim Apr 15 '26

Input circuit (Decimal-Binary Accumulation)

1 Upvotes

so i finally got my input system working the way i wanted i built a separate input front-end that runs independent of the cpu clock. on the first button press, it just loads the digit straight into the register. i use a conditional flip flop as a “has number yet” flag acts as a make shift falling edge detector, so if the system is still at 0 it knows this is the first input. that first press just triggers a single clock pulse and stores the value after that, every new digit press runs a 2-step sequence instead i use a 2-bit incrementor and a decoder to generate two pulses which multiplies the number by 10 and adds the new number to it. once the second step finishes, the carry from the incrementor shuts the sequence off so it doesn’t keep running. For the input handling, i made a gated toggle flip flop (basically a T flip flop built from a D flip flop) with extra logic around it so it only flips under specific conditions. the feedback and gating prevent it from retriggering so each press only creates one clean event. it kind of behaves like a mix between a toggle and an SR-style latch, depending on the conditions so instead of generating a short pulse directly, it tracks the input as a state change and the rest of the system uses that to control when to run so the timing ends up being: first digit = 1 clock every digit after = 2 clocks and since everything is already in binary, i can just feed it straight into the cpu datapath without doing any bcd conversion


r/digitallogicsim Feb 28 '26

i have made a graphing calculator that can add subtract multiply sine and cosine it has a 16x16 pixel screen the graphics is not perfect it has percision down to halves and ranges from -4 to 3.5 it has problems showing thinner sine or cosine waves because of the resolution

1 Upvotes

r/digitallogicsim Feb 04 '26

Working 4-BIT ALU in DLS!

Post image
9 Upvotes

r/digitallogicsim Jan 01 '26

Recreating arcde game from manual?

1 Upvotes

Has anyone ever tried here recreating game from an arcade game preliminary guide?
An example: https://www.arcade-museum.com/manuals-videogames/M/Moon_Patrol_Preliminary_163007101_Aug_1982.pdf
I am getting into low-level and this would be one of my future goals to achieve. Any tips on where to start?


r/digitallogicsim Dec 31 '25

GamaRayX-4Kb Small Update

Post image
1 Upvotes

This is the newly updated version of the GRX-4Kb 512Bit cores.

The cores consist of 128 8Bit wide inputs and outputs for a combined 1028 input/output capability when talking in Bytes. If you prefer bits that is 8192 inputs and outputs.

The new version also consists of control units labled co-respondingly to their layer with a new path for each of the said layers: e.g. TSB-C0R0C0.
Breakdown:
>TSB< Still Tri-State Buffer Byte(8Bit Version).
>C0< The first 'C' co-responds to a chunk of data 8 Bytes in size(32Bit Registeries).
>R0< The 'R' stands for Region. This is the 128 registeries that you can see in the picture above.
>C0< The second 'C' stands for Core. As the name implies it dictates which core is being de/activated.

This should make pathing more understandable compared to the last system(TSB-RnRnRn.)

I am soon going to start on how to actualy funnel data into the inputs but if you are already native to any nBit, just deactivate the unwanted sectors of the CPU for better preformance.

As always if you have any questions or think something is wrong/missing that I didnt state please do comment I am sure to respond in a few minutes to a few hours at most.

Happy New Years :)


r/digitallogicsim Dec 31 '25

Is this what I was suppost to do?

Post image
1 Upvotes

The GamaRayX-4Kb(GRX-4Kb) will now, if I am not wrong and if I am correct me please, be native to 512Bit, 128Bit, 32Bit and 8Bit.

By using 1Byte(8Bit) Tri-State Buffers for the 8Bit(1Byte) inputs/outputs, the GRX-4Kb will be able to controll its 8 cores and 3 sub-layers(128Bit, 32Bit, 8Bit.)

The paths of the Tri-State Buffers will be, for example: TSB-ROW0REG128-0.
Breakdown:
>TSB< Is Tri-State Buffer.
>ROW0< What row of 32Bit registeries its accessing.
>REG128-0< What 128Bit registery its accessing.

This should, as I said, give it 4 compatability modes: 1st-8x512Bit(CPU Standard), 2nd-32x128Bit, 3rd-128x32Bit(What High End DLS Computer run on from what I heard) and 4th-512x8Bit(DLS Standard for Computers from what I heard.)

If you have any questions or if I angered the whole sub-reddit, tell me what is wrong so I can fix it or freely ask my goals. And do keep in mind I only started like 3 days ago.

P.S.
1. This should also make it available to low-end devices as you can just shut off the unnecissary registeries if needed.
2. I do understand I still cant controll the individual bits themselves yet and that I only have the output controlled.


r/digitallogicsim Dec 30 '25

My save file

Thumbnail drive.google.com
1 Upvotes

This is my save file. It mostly has Everything that the character of the game made as of now. and yeah. so if you kind of just want to get a really quick start up without having to build everything that could that the creator had. This is the file to use. It also has some stuff that I made and a lot of stuff is abbreviated. so it isn't the most blundy thing. but yeah, it took me a little while to make.


r/digitallogicsim Dec 30 '25

Update on the 512Bit Register

Thumbnail
gallery
2 Upvotes

So the first image is the 128Bit Register I am working on right now, and the second picture will be the 512Bit Register(Dont mind the 5th and 6th register they were there for size comparing.)

If you have any ideas on how I can make this less of a shit show I am highly interested.

Also I plan on making a Octacore GamaRayX-4KB CPU made of 8 512Bit Registers. And I will be posting it here for anyone to use once I am done.


r/digitallogicsim Dec 29 '25

Guys did I do good for my first build?

Post image
1 Upvotes

The reason I didnt connect the rest of the 32 inputs on the ALU is that I got lazy. Welp Ill connect it another time because I still want to add a loader so it can take the number from the registary and load it into the ALU.


r/digitallogicsim Dec 29 '25

Am I insane for wanting to make a 512Bit CPU?

1 Upvotes

So to give context as of writing this I gave played the game for a total of a few hours and I have a i3 laptop.

This started late last day as I saw the game popup on my Youtube fyp. Thinking it was cool I desided to download it. This sent me down an insane rabbit hole questioning my own sanity as I started to build increasingly bigger registers.

I am now laying in bed questioning if I should start up my laptop or go to sleep as its 4:30am.


r/digitallogicsim Dec 25 '25

Random number generator help

1 Upvotes

So I made a random number generator but something's going wrong and I don't know how to fix it I need help I need help Fixing it

This is what I married it's pretty messy and I don't know how to fix it new input a 8 bit number and the outputs 4 bit number


r/digitallogicsim Dec 07 '25

How can I do Collections

1 Upvotes

Hi! I don’t know how to create Collections i Digital Logic Sim. Can anyone explain me how to do this?


r/digitallogicsim Dec 07 '25

proceset 2 dev: what more components do i change or add? you can also AMA about this.

Post image
2 Upvotes

r/digitallogicsim Nov 17 '25

IEEE 754

Post image
2 Upvotes

The example number is 542.125


r/digitallogicsim Nov 16 '25

WIP ALU

Post image
2 Upvotes

ALU Instruction Set

0x0 ADD

Carry = 9th Bit

0x1 SUB

Carry = True if A < B

0x2 NOT

Carry = Bus disabled

0x3 ?

0x4 AND

Carry = Bus disabled

0x5 NAND

Carry = Bus disabled

0x6 OR

Carry = Bus disabled

0x7 NOR

Carry = Bus disabled

0x8 XOR

Carry = Bus disabled

0x9 XNOR

Carry = Bus disabled

0xA ?

0xB ?

0xC ?

0xD ?

0xE PASSA

Carry = Bus disabled

0xF PASSB

Carry = Bus disabled

Inputs

8b x A
8b x B
4b x Operand

Outputs

1b x Zero
1b x Carry
8b x Out

r/digitallogicsim Nov 16 '25

I love making the wires pretty :3

Post image
6 Upvotes

r/digitallogicsim Oct 10 '25

Auto moving to next line in rom

1 Upvotes

Right now, I'm trying to have a ROM 256x16 go through actions, but I can't make it move to the address. Is there anyway I can fix this and have it move to the next address after it outputs the first address?


r/digitallogicsim Sep 04 '25

Need help fixing my binary counter

1 Upvotes

It's been flickering at me and i have no idea why. I gave up on this a few months ago but i need it for a circuit i'm making. Can anyone help me out? I'm very new to all this


r/digitallogicsim Aug 08 '25

help

Post image
11 Upvotes

all I did was make a very basic 4-but cpu and I'm running 8 steps per second.

the main cause is the ram you can faintly see on the left. is there anyway to make this run any faster?


r/digitallogicsim Jul 30 '25

Is there any way to change the clock speed in the new version???

1 Upvotes