UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 44507

13.3 XST - "ERROR:HDLCompiler:1828 - "<*>.v" Line <*>: Translate_on found outside a translate_off block"

Description

Beginning with the13.3 release, XST will produce the following error message when it finds Translate_onwithout an interveningtranslate_off block:

ERROR:HDLCompiler:1828 - "<*>.v" Line <*>: Translate_on found outside a translate_off block
INFO - You can change the severity of this error message to warning using switch -change_error_to_warning "HDLCompiler:1828"

Solution

Takethe following piece of code as an example:

module top (a, b, out);
input a, b;
output out;
// synthesis translate_on
wire out;
// synthesis translate_on
assign out = a ^ b;
endmodule

In the above piece of code, the two translate_on directives without an intervening translate_off directive causes the compiler to error out with the following error message:

ERROR:HDLCompiler:1828 - "top.v" Line 4: Translate_on found outside a translate_off block
INFO - You can change the severity of this error message to warning using switch -change_error_to_warning "HDLCompiler:1828"

AR# 44507
Date Created 10/14/2011
Last Updated 05/19/2012
Status Active
Type Error Message