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

add $divfloor support to write_smt2 #3335

Merged
merged 1 commit into from
May 25, 2022

Conversation

programmerjake
Copy link
Contributor

Fixes: #3330

Also adds a simple test that $divfloor and $modfloor actually work correctly, though it does require yices to run...

@jix
Copy link
Member

jix commented May 24, 2022

The additions to write_smt2 look good to me. Making yices a hard dependency for make test is not an option though. If you push only the first commit I can merge this and add the test to sby instead. There the complete oss-cad-suite including several SMT solvers is available to the tests.

@programmerjake
Copy link
Contributor Author

I moved the test to YosysHQ/sby#161, does it look good now?

@jix jix merged commit 8e9471c into YosysHQ:master May 25, 2022
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.

$divfloor not supported by write_smt2
2 participants