Skip to content

Declaration Variables In Minizinc Model #341

@rocbru

Description

@rocbru

In the 'claasp\components\modular_components.py' in the function: def cp_xor_differential_propagation_constraints(self, model): where you are creating the minizinc model for the differential constrain of the modular addition/substraction.

It is missing the declaration of the output variables, e.g. referring to a component of SPECK modadd_0_1 it is present the declarations of the inputs:

array[0..15] of var 0..1: pre_upper_modadd_0_1_0;
array[0..15] of var 0..1: pre_upper_modadd_0_1_1;

the constrains to merge these two inputs, but not the output i.e. modadd_0_1.

The declararions of the output it is happening outside this method, but it's confusing the developpers to have a compact understanding for the modular addition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions