Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Cannot Combine Traces

A topic by Justinknew created Dec 29, 2022 Views: 504 Replies: 3
Viewing posts 1 to 4
(+2)

I'm not sure if I'm missing something, but it seems like setting two traces to the same output causes the output to flash. Additionally, setting two traces to the same input to a circuit causes flashing as well, and I cannot create an OR gate that avoids this flashing, and thus cannot create any circuit that requires an OR gate or combining two traces. It seems like I'm the only one experiencing this bug so I suppose it might be my machine but I'd just like to report this bug. I'm on Windows 10 btw.

You can fix this by making OR gates with tri states buffers by connecting each input to both inputs of a tri-states buffer and connecting the output of each tri-state buffer in the output.

It will only output the same output as when a pin is disconnected or 1.  So, it won't repeatedly flash, because the flash is caused by the interaction between signal 1 and signal (Connected and 0)
I have the same problem as you so I think it has to do with our machines, but I don't know for sure.
I think it's not intentional, but at least you will be able to use the sim until Sebestian fixes the bug .

I agree there is something strange when linking multiple inputs to an output.

Alternatively you can make an "or" gate with not(and(not(a),not(b)))

Kinda weird that one of the most simple gates in logic is so difficult to make. Especially because the old version didn't even allow connecting multiple wires to the same input. At that point an OR gate should just be part of the default chips.

And thanks for the idea on how to make an OR for now. I tried it differently and only got it flicker worse than the obvious (A|B)->O xD