-
Notifications
You must be signed in to change notification settings - Fork 57
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
Multiclock simulation broken #28
Comments
Apparently when the two clocks need to change at the same time (here, at 7.5us), at timestamp 7.5, the scheduled events are at 7.5 and 10, with a delta of 1e-10. Since 7.5-min(7.5, 10)=0 <= 1e-10, a You probably already know this :)
|
I actually did not have a chance to look into this. Do you happen to have a patch? |
No, I just noted the immediate cause of the error, not the root cause, since I have no idea how the simulator works. Still looking into that. |
I just removed the check. I know nothing about how the simulator works, but the comment mentions logic loops. These clocks seem to be implemented as two processes with no inputs, so maybe the check should be done minus any processes which are clocks? |
Mm, not sure, sorry. I don't remember much about the simulator, and I've focused most of my mental effort on a future complete redesign. |
In any case, even with that change, it doesn't seem like anything associated with the negative edge of the clock changes in the simulator (see #236), so now there are two problems :) |
Repro:
The text was updated successfully, but these errors were encountered: