Take the following piece of code as an example:
module top(input [3:0] in, output out);
parameter p1 = 3;
parameter p2 = 3;
assign out = in / (p1 - p2);
In the above example, there are two parameters, p1 and p2 with same values and the input value is divided by (p1 p2), that is, divided by 0. This triggers the 13.3 XST parser to produce the HDLCompiler:226 error message. You can change the severity of this error message to warning by using the switch: -change_error_to_warning "HDLCompiler:226".
The Verific XST software (prior to version 13.3) would have given the following warning message for the above piece of code:
"WARNING:HDLCompiler:226 - "test_226.v" Line 8: Attempt to divide by 0; returning x"
Beginning with version 13.3 of XST, this warning condition is modified to an error condition without any change to the actual information or message as follows:
"ERROR:HDLCompiler:226 - "test_226.v" Line 8: Attempt to divide by 0; returning x"