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

PIL2 Library #49

Merged
merged 8 commits into from
Sep 19, 2023
Merged

PIL2 Library #49

merged 8 commits into from
Sep 19, 2023

Conversation

hecmas
Copy link

@hecmas hecmas commented Sep 15, 2023

The PIL2 library now fully supports the arguments that were used in PIL1:

  1. Multiset equalities checks:
multiset_require(int opid, expr sel, expr cols[])

multiset_provide(int opid, expr sel, expr cols[])
  1. Lookup checks:
lookup_require(int opid, expr mul_count, expr cols[])

lookup_provide(int opid, expr mul_count, expr cols[])
  1. Range checks:
range_check(int opid, expr sels[], expr cols[], int min, int max)
  1. Connections with two different (but compatible) interfaces:

    • Interface where the user uses either the update_one_cell() or the update_multiple_cells() method to define the permutation "on the fly" and when it is done, executes the connect() method to perform the connection argument. The user also needs to execute init() at the beginning.

      connection_init(int opid, expr cols[])
      
      connection_update_one_cell(int opid, expr cols1[], int rows1[], expr cols2[], int rows2[])
      
      connection_update_multiple_cells(int opid, expr cols[], int rows[][])
      
      connection_connect(int opid) 
      
    • Interface where the user knows both the inputs (placed in require) and the permutation (placed in provide) of the argument.

      connection_require(int opid, expr cols[])
      
      connection_provide(int opid, expr cols[])
      

@cla-bot cla-bot bot added the cla-signed label Sep 15, 2023
@hecmas hecmas requested a review from zkronos73 September 15, 2023 16:12
@hecmas hecmas linked an issue Sep 18, 2023 that may be closed by this pull request
4 tasks
@hecmas hecmas merged commit f2f0a37 into feature/pil2 Sep 19, 2023
1 check passed
@hecmas hecmas deleted the feature/pil2-stl branch October 18, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standard library for PIL2
1 participant