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

kernel: look up ports when applying clock constraints #1448

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

whitequark
Copy link
Member

prjunnamed does not emit a net alias for toplevel ports. This works fine for constraining IOs but breaks clock constraints. This commit expands clock constraint application code to look up net aliases first, ports second.

As far as I can tell there shouldn't be any issues from this for existing flows.

prjunnamed does not emit a net alias for toplevel ports. This works
fine for constraining IOs but breaks clock constraints. This commit
expands clock constraint application code to look up net aliases first,
ports second.
whitequark added a commit to prjunnamed/prjunnamed that referenced this pull request Jan 30, 2025
Roundtrip tested with the Glasgow `uart` applet, with these nextpnr
PRs required:
- YosysHQ/nextpnr#1447
- YosysHQ/nextpnr#1448

Co-authored-by: Catherine <[email protected]>
@gatecat gatecat merged commit 7718761 into master Jan 31, 2025
16 checks passed
@gatecat gatecat deleted the cat/constrain-by-port-name branch January 31, 2025 08:30
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

Successfully merging this pull request may close these issues.

2 participants