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

[packing] [WIP] Implementation of #packing annotations #239

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

btwj
Copy link
Contributor

@btwj btwj commented Apr 23, 2024

This PR adds support for #packing annotations, including support for concatenation and packing applications, but no support for #solve annotations.

The idea is that packing expressions are flattened into a FlattenedExpr form, containing a bit pattern and assignments. These FlattenedExpr's can be concatenated or applied to obtain scalar assignments, interval assignments and bit patterns for each variant. These pre-existing constraints are fed into the original solver.

Issues:

  • No way of reporting errors at this stage of compilation (the verifier can't catch everything, some things should fail)

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.

1 participant