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# 44558

XST - Severity Change for XST message " WARNING:HDLCompiler:1330" Beginning with ISE 13.3 Software

Description

Beginning with the 13.3 software, Verific XST warning message "WARNING:HDLCompiler:1330 " will be changed to an error message:"ERROR:HDLCompiler:1330" for those cases where a defined functionin amodule does not havea return value assignment.

The error message is as follows:

"ERROR:HDLCompiler:1330 - "function_no_return_1330.v" Line 3: Function left_shift_by_one has no return value assignmentINFO - You can change the severity of this error message to warning using switch -change_error_to_warning "HDLCompiler:1330"

Solution

Take the following piece of code as an example:

module top(output out);

function [1:0] left_shift_by_one;
input in;
/*
left_shift_by_one = in << 1;
*/

end

endfunction;

assign out = left_shift_by_one(1'b1);

endmodule

The Verific XST (prior to version 13.3) would have given the following warning message for the above piece of code:

"WARNING:HDLCompiler:1330 - "function_no_return_1330.v" Line 3: Function left_shift_by_one has no return value assignment

Beginning version 13.3 of XST, this warning is modified to an error without any change to the actual information or message as follows:

"ERROR:HDLCompiler:1330 - "function_no_return_1330.v" Line 3: Function left_shift_by_one has no return value assignment"

In the above sample code, Function left_shift_by_one does not have a return value assignment as it iscommented. As a result, when theXST new parser encounters this code, it produces the HDLCompiler:1330 error message.

You can change the severity of the error message can be changed to warning by using the switch:
-change_error_to_warning "HDLCompiler:1330"

AR# 44558
Date Created 10/20/2011
Last Updated 12/15/2012
Status Active
Type General Article
Tools
  • ISE Design Suite - 13.3