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

Oscillation in Delay after EEPROM - bug? #1188

Open
mengstr opened this issue Aug 24, 2023 · 2 comments
Open

Oscillation in Delay after EEPROM - bug? #1188

mengstr opened this issue Aug 24, 2023 · 2 comments

Comments

@mengstr
Copy link

mengstr commented Aug 24, 2023

This design bugs out with an oscillation when I run it. It seems like I can't hook up a Delay directly to the data of an EEPROM. An Inverter or a Driver between the EEPROM and the Delay makes the problem go away.

delaybug [delaybug.zip](https://github.com/hneemann/Digital/files/12432996/delaybug.zip)
@mengstr mengstr changed the title Oscillation in delay at EEPROM - bug? Oscillation in Delay after EEPROM - bug? Aug 24, 2023
@hneemann
Copy link
Owner

That is an interesting one! Thank you for pointing this out. Although I'm not sure if this is a bug or not.
The problem can also be produced in a simpler way:

delayDebug

This way, an infinite stream of random numbers is fed into the delay gate, which thus never reaches a steady state.
It only occurs when the delay time is set to a value greater than one.
I have to think a bit about this problem before I understand what is best to do.

@mengstr
Copy link
Author

mengstr commented Aug 26, 2023

Yes, I see now that I can put a 1-gate delay infront of the one with the longer delay and it works. For the time being that is less confusing than putting a double inverter or a driver there. :)

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

2 participants