Is it possibe to assign an int variable to an int parameter or not

In reply to assert_yourself:

parameter are meant to be constant.
To achieve overriding instantiate the module with different parameter value.