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

13.2 EDK - "ERROR:HDLCompiler:443 - "sysmon_adc_core.vhd" Line 250: Function int_to_string does not always return a value"


I am attempting to implement a EDK based design usingXPS SYSMON ADC core. While synthesizing the design, the following error occurs:

"ERROR:HDLCompiler:443 "hw/XilinxProcessorIPLib/pcores/xps_sysmon_adc_v3_00_a/hdl/vhdl/sysmon_adc_core.vhd" Line 250: Function int_to_string does not always return a value.

ERROR:EDK:546 - Aborting XST flow execution!

INFO:EDK:2246 - Refer to synthesis/xps_sysmon_adc_0_wrapper_xst.srp for details"

How can I resolve this error?


This was a warning in XST that has been changed to an error starting in 13.2.

To work around the error, perform the following steps:

1. Copy the xps_sysmon_adc_v3_00_a version of XPS Sysmon ADC to the local projects pcore directory.

2.Change the "sysmon_adc_core.vhd" file to editable and open.

3.Find "function int_to_string"

4. In the above function, change the following code:

a.Original code:

if (C_FAMILY = "virtex5")then
return "1";
elsif(C_FAMILY = "virtex6")then
return internal_dck_ratio;
end if;

b.Change it to:

if (C_FAMILY = "virtex5")then
return "1";
return internal_dck_ratio;
end if;

5.Save and restart XPS.

AR# 41254
Date Created 07/05/2011
Last Updated 05/19/2012
Status Active
Type Known Issues
  • Virtex-6 LXT
  • Virtex-6 LX
  • XPS SYSMON Analog Digital Converter (ADC)