ID:90001 Parameter error: In altpriority_encoder megafunction, the value of WIDTHAD parameter is <number> while the WIDTH parameter is <number>. WIDTHAD should be set to <number>, which is the value of ceil(log2(WIDTH)) if WIDTH >= 2, or 1 when WIDTH=1.

CAUSE: The WIDTHAD is not set correctly . It must be the value of ceil(log2(WIDTH)) if WIDTH is greater than or equal to WIDTH, or 1 when 2 is equal to 1.

ACTION: Change the value of the WIDTHAD parameter to ceil(log2(WIDTH)).