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

abc: Warn about replacing undef bits #3894

Merged
merged 1 commit into from
Sep 5, 2023
Merged

Conversation

povik
Copy link
Member

@povik povik commented Aug 16, 2023

A suggestion inspired by #3893

@nakengelhardt
Copy link
Member

I don't think this should be a warning; we only use warnings in Yosys when there's a real problem with the user code. This feels like the kind of "Warning: I was able to optimize your design somewhat" messages that lead people to completely ignore warnings. It would fit better as a regular log message IMO.

@povik
Copy link
Member Author

povik commented Aug 28, 2023

OK, I was expecting some pushback on this. We don't want to turn this into insert vendor tool here, after all. Changed it to an ordinary log message.

@povik
Copy link
Member Author

povik commented Aug 28, 2023

Though I feel we could make the decision that proper synthesis scripts should never leave undef bits for ABC to find, at which point the warning would be justified.

@povik povik merged commit e995ddd into YosysHQ:master Sep 5, 2023
@povik povik deleted the abc-undef-warn branch October 9, 2023 09:54
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