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

Improve logging for the yosys toolchain #285

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

nathanaelhuffman
Copy link
Collaborator

The yosys toolchain was mostly slapped together as proof of concept. After using it in anger for a bit I've found some missing functionality around the logs we're exposing so this exposes more of the correct logs, like we'd like to get warnings from the ghdl synthesizer, the yosys log and the next pnr log with area and timing.

The ghdl thing is a bit strange in that it logs warnings to stderr when run as a plugin in yosys but the warnings don't make it into the log file, probably due to how yosys is logging things. I've captured the stderr there and written it to a file, and printed it to stderr so that when we get a non-zero exit you see the errors in the terminal.

Copy link
Collaborator

@Aaron-Hartwig Aaron-Hartwig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for further fleshing this flow out!

@nathanaelhuffman nathanaelhuffman merged commit 8021536 into main Feb 13, 2025
8 checks passed
@nathanaelhuffman nathanaelhuffman deleted the want-yosys-logs branch February 13, 2025 16:56
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