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

6.1i COREGen - Launching COREGen 5.1i_IP1 or later causes error: "java.exe - DLL Initialization Failed..." (Launched from ISE, COREGen does not open and error does not occur)


Keywords: CORE Generator, Java, ddraw.dll, dynamic link, library, initialization

Urgency: Standard

General Description:
The following error occurs when I attempt to launch the CORE Generator GUI on a Windows NT platform in 5.1i_IP:

"java.exe - DLL Initialization Failed.
Initialization of the Dynamic Link Library C:\WINNT\System32\ddraw.dll failed. The process is terminating abnormally."


This is a known problem for certain systems using the Windows NT platform. This problem has also been observed on Win2000. In 5.1i_IP, the coregen.bat file was changed to allow CORE Generator to use more memory (-Xmx1048m), which can lead to the above error.

To work around this issue, edit "$XILINX/bin/nt/coregen.bat" as follows:

Change the line:
"%java_exec%" -Xmx1048m -Xms10m -DRunner="%Runner%" -DXILINX="%XILINX%" -DMYXILINX="%MYXILINX%" -cp "%CLASSPATH%" com.xilinx.encore.coregen.main.Coregen -c "%COREGEN%" %1 %2 %3 %4 %5 %6 %7 %8 %9


"%java_exec%" -Xmx524m -Xms10m -DRunner="%Runner%" -DXILINX="%XILINX%" -DMYXILINX="%MYXILINX%" -cp "%CLASSPATH%" com.xilinx.encore.coregen.main.Coregen -c "%COREGEN%" %1 %2 %3 %4 %5 %6 %7 %8 %9

This essentially decreases the memory heap size that Java can use on your machine. If you begin to experience problems with generating larger cores, you might need to increase this number slightly.

For more information, please see (Xilinx Answer 9244).
AR# 16709
日期 02/07/2006
状态 Archive
Type 综合文章