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

Fix bug when setting Verific runtime string flags. #4734

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

mikesinouye
Copy link
Contributor

What are the reasons/motivation for this change?
The setting of Verific runtime string flags does not work within Yosys as it encapsulates the value in quotes.

Explain how this is achieved.
Temp string s that is preexisting is correctly passed into Verific RuntimeFlags call.

If applicable, please suggest to reviewers how they can test the change.
Attempting to change the value of a Verific string RuntimeFlag will fail before this change.

@mikesinouye
Copy link
Contributor Author

Hey @povik, if you get a moment can you review this PR?

Copy link
Member

@povik povik left a comment

Choose a reason for hiding this comment

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

Looking at the different verific -cfg modes it's clear passing in the stripped string was the intention, and the correct thing to do

@povik povik merged commit bbb6bbd into YosysHQ:main Nov 14, 2024
26 checks passed
@mikesinouye
Copy link
Contributor Author

Thanks Martin

@mikesinouye mikesinouye deleted the verific branch November 14, 2024 18:50
@povik
Copy link
Member

povik commented Nov 14, 2024

Sure Mike, I am not the maintainer of the Verific integration but here it's clear enough

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