Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D latch not working #82

Open
thewhynow opened this issue Jul 8, 2023 · 3 comments
Open

D latch not working #82

thewhynow opened this issue Jul 8, 2023 · 3 comments

Comments

@thewhynow
Copy link

thewhynow commented Jul 8, 2023

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!

Screen.Recording.2023-07-08.at.12.26.19.AM.mov
@crispeeweevile
Copy link

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

@gschwaer
Copy link

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: gschwaer/Swappy#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. 😬

@CDWimmer
Copy link

Possibly related to #48 which is now (apparently) resolved - waiting on an actual release though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants