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

11.3 System Generator for DSP - Why does the design fail to generate when using an IP core? Why do I receive "Error 0001: caught standard exception" during generation?


Keywords: MATLAB, Simulink, CORE Generator, FIFO, file name, length, 8.1, 8.1.01, 8.2, 9.1, 9.1, 10.1, 11.1

Why do I receive the following errors in the error log file when I generate my design?

Summary of Errors:
Error 0001: caught standard exception
Block: Unspecified

Error 0001:

Reported by:

standard exception: XNetlistEngine:
An exception was raised:
com.xilinx.sysgen.netlist.NetlistInternal: couldn't run
c:/xilinx11_1/11.1/ise/bin/nt/coregen.exe: 1 at
line 1027


The problem results from a combination of issues. The Windows command prompt is limited to about 256 characters for a path name. This is a problem because during the generation of a design that uses IP cores, the internally-generated names and directories become quite large and can exceed the Windows maximum.

System Generator for DSP 11.2 and later
Starting in System Generator for DSP 11.2, CORE Generator IP cores will be generated in a temporary location. To see the temporary location where files are being generated (in 11.2 or later), type the following at the MATLAB prompt:

>> getenv('temp')
>> getenv('tmp')

It is possible that you will need to shorten the length of your temporary path to avoid this issue. To update this path, modify your TEMP and TMP environment variables to point to a new location such as "C:\temp".

System Generator for DSP 11.1 and older
To work around this problem, reduce the length of your target directory or the length of the names of your submodules. This might require that you set your target directory to the root of a mounted drive in Windows to ensure that the path length does not become too long.

For example, your target directory might have been:

You could change your target directory to:

For other possible causes of a Standard Exception Error message, see (Xilinx Answer 29430).
AR# 23614
Date 09/22/2009
Status Active
Type General Article