Open thewhynow opened 1 year ago
unless this is a challenge, could you simplify your system? It's kind of over complicated due to using mostly base logic gates
more chips is almost always better than less
I have the same issue. I built a fairly complicated chip (CPU4
) which works fine when editing it, but when using it as a chip it shows no output. See here: https://github.com/gschwaer/Swappy
Related Issue: https://github.com/gschwaer/Swappy/issues/1
I recreated the chip of @thewhynow and it worked fine, so I assume it's very hard to replicate. Potentially even rebuilding the same chip again may yield a working result (?, I did not verify this with my chip, since that is a lot of work).
@crispeeweevile The logic is not the problem. As @thewhynow showed, it works when editing and does not as a chip. This should not depend on the logic no matter how complicated (except for the #70 issue, which is not the case here). I can see the exact same behavior with my CPU4
chip.
@thewhynow Can you share your Project? I mean zip the folder in $config-directory$/unity3d/Sebastian Lague/Digital Logic Sim/SaveData/$project-name$
. It would be interesting if we could play around with the broken chip and figure out what's wrong. Your example is way better suited than mine for that. :grimacing:
Possibly related to #48 which is now (apparently) resolved - waiting on an actual release though
I'm going to leave some videos below, but I have made a d latch using the sim, and when I set it to be its own chip, it does not work. It works fine Inside the editing mode, but when I use it as its own chip, it doesn't work. Like the output just never shows. I am on macOS Monterey.
Edit: whats even more confusing is that they work inside already created chips. This is really weird wondering if anyone could help me. thanks!
https://github.com/DigitalLogicSimCommunity/Digital-Logic-Sim-CE/assets/126124913/8dcc23c3-ecfb-4df1-b8c3-b46d7f52e4b0