-
Notifications
You must be signed in to change notification settings - Fork 178
Using ClockSignal in platform.add_clock_constraint #542
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
Comments
That's not possible--the |
I'd like to recommend enhancing the error message for this case, or else explaining in more detail here for future reference. Even with your comment above, it's not immediately obvious to me why cs = ClockSignal()
s = Signal()
m.d.comb += s.eq(cs)
plat.add_clock_constraint(s, 25e6) does. |
Throwing some spaghetti at the wall for the error message:
Thoughts? |
Currently one cannot use a
ClockSignal
inplatform.add_clock_constraint
:fails with
It be nice to be able to use a
ClockSignal
directly inplatform.add_clock_constraint
.The text was updated successfully, but these errors were encountered: