Skip to content

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