Answers Database


2.1i COREGEN: "ERROR: Error locating library for class" after installing IP update


Record #7817

Product Family: Software

Product Line: Coregen

Product Part: Coregen

Product Version: 2.1i

Problem Title:

2.1i COREGEN: "ERROR: Error locating library for class" after installing IP update


Problem Description:
Urgency: Standard

After using UNZIP to extract a CORE Generator IP update to your Xilinx directory, you may see errors similar to the following when trying to call up a Core:

   ERROR: Error locating library for class
   com.xilinx.ip.mult_vgen_v1_0.mult_vgenvht_v1_0GUI.
   ERROR: Error loading library for class
   com.xilinx.ip.mult_vgen_v1_0.mult_vgenvht_v1_0GUI
   ERROR: Could not load/define class file
   com.xilinx.ip.mult_vgen_v1_0.mult_vgenvht_v1_0GUI.


Solution 1:

c_ip1.zip, c_ip2.zip, workstations:

The C_IP1 and C_IP2 IP updates were originally supplied only as .ZIP files.
Using certain later versions of UNZIP to extract these archives on UNIX workstations may fail due to lack of support in this program for certain algorithms.

As a workaround, instead of directly extracting the C_IP1.zip or C_IP2.zip file, extract the .tar.gz file from the Xilinx ftp site at

ftp://ftp.xilinx.com/pub/swhelp/coregen/c_ip2.tar.gzInternet Link



Solution 2:

PCs, workstations:

Try extracting the .zip archive to a temporary directory, then
copying the extracted file structure over your Xilinx or Foundation
installation directory.



Solution 3:

Machines running on Novell networks:

The CORE Generator C_IP updates should not be extracted over Novell networks, and the application should not be installed on a Novell network drive. Novell has an 8.3 naming restriction on directory and file names, and the directories associated with CORE Generator cores far exceed this limit.



Solution 4:

UNIX workstations:

This problem has also seen to be caused by a system using "gnutar".

When gnutar is used to untar the update files, the directories are extracted
incorrectly and file locations are corrupt.

in this case, do not use gnutar. Use the default tar program provided with
the UNIX OS.



Solution 5:

In C_IP4, the following messages may be seen when trying to generate a Virtex Parallel Multiplier:

"ERROR: Error locating library for class com.xilinx.ip.mult_vgen_v1_0.mult_adderstage_vgen_v1_0$virtex.
[Loaded /XILINXM2.1I/coregen/lib/com/xilinx/encore/coremgr/exception/LoadLibraryException.class]
ERROR: Error loading library for class com.xilinx.ip.mult_vgen_v1_0.mult_adderstage_vgen_v1_0$virtex
ERROR: Could not load/define class file com.xilinx.ip.mult_vgen_v1_0.mult_adderstage_vgen_v1_0$virtex.
ERROR: An internal error has occurred. Please call Xilinx support.
ERROR: Sim has a problem implementing the selected core. Implementation netlist will not be generated.
[Loaded /XILINXM2.1I/coregen/lib/com/xilinx/encore/coregen/exception/GenerateException.class]
ERROR: SimGenerator: Failure of Sim to implement customization parameters core xmult6
WARNING: Core xmult6 did not generate product ImpNetlist."

In the C_IP4 release, the Virtex Parallel Multiplier was updated with new data
files, but the the associated .upd file in $XILINX/coregen/ip was named incorrectly. (The .upd file for a core is a temporary empty file included in an IP update which CORE Generator System 2.1i uses as a "signal" to update resources.lib, the CORE Generator table of installed IP. It is deleted after Coregen starts up and performs the resources.lib update.) In the C_IP4 release, the multiplier .upd file was mistakenly named as "mult_vgenvht_v1_0.upd" instead of "mult_vgen_v1_0.upd".

The mismatch between the .UPD file name and the actual internal name of the core as reflected in the core's corresponding subdirectory name prevents CORE Generator from updating resources.lib with the location of the new files for the multiplier.

To fix this problem with the multiplier, you must create an empty file by the name of "mult_vgen_v1_0.upd" in $XILINX/coregen/ip/xilinx. After doing this, you (or your system administrator, on networked workstation environments) must restart the CORE Generator application so that it can update $XILINX/coregen/ip/resources.lib. You should then be able to generate the multiplier core.




Solution 6:

UNIX Workstations:

There is a problem with the C_IP updates up to and including C_)P4 in terms of the write permissions. Specifically, almost all of the files are installed with read-only permissions. As a result, you may experience problems if you try to install a new CORE Generator IP Update over an installation that already had a previous IP update installed over it.

As a workaround try adding write permissions on your $XILINX/coregen directory
with the following command:

    chmod -R u+w $XILINX/coregen

Then reinstall the IP update and restart CORE Generator.

If this does not work, try removing your CORE Generator installation completely in $XILINX/coregenm reinstall CORE Generator to $XILINX, and then install only
the latest IP update over this installation.




End of Record #7817 - Last Modified: 02/03/00 15:39

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!