Answers Database


2.1i COREGEN, C_IP2: "Shrink method not supported" or "ERROR: Could not load/define class file xxxxxx" / "ERROR locating library "


Record #7711

Product Family: Software

Product Line: LogiCore

Product Part: Coregen IP Modules

Problem Title:

2.1i COREGEN, C_IP2: "Shrink method not supported" or "ERROR: Could not load/define class file xxxxxx" / "ERROR locating library "



Problem Description:

Urgency:   hot

General Description:

UNIX:
~~~~
The following error may be seen when using UNZIP v5.32 to extract the
C_IP2 update:

   "Shrink method is not supported"

If you subsequently try to call up the Variable Parallel Multiplier GUI
and click on the Register Options button, the following error appears:

"# ERROR: Could not load/define class file
com.xilinx.ip.mult_vgen_v1_0.RegOptsDialog"

If you subsequently try to generate the multiplier, additional
errors are seen:

# ERROR: Could not load/define class file
com.xilinx.ip.baseblox_v1_0.C_LUT_REG.
# 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.

You may also see:

"ERROR locating library for class xxxx" when clicking on the Register Options
button.

The problem appears to be an overwrite permissions problem associated with
version 5.32 of the UNZIP program on the UNIX platform. v5.32 requires a
separate LZH compression algorithm license and a "USE_SHRINK" environment
setting before it can extract certain elements in the C_IP2.zip update, which is archived using WinZip.

PC
~~~~
The "ERROR: Could not load/define class file" has also
been seen on the PC. If this is the case, please see
Solution 3 for possible solutions.


Solution 1:

C_IP2, UNIX platforms:
Obtain a copy of the update that has been tar'd and gzip'd
instead of being archived using the WINZIP program.:

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

C_IP3:
The tar.gz format archive for this release should be downloaded for workstation platforms.



Solution 2:

If you cannot access the tar.gz archive for workstation platforms:

An earlier version of UNZIP for workstations, v5.12, does not have this problem. This older version can be used if available.

If UNZIP v5.12 is unavailable, try extracting the C_IP2 archive on a PC
using WinZip to a temporary location first, then copying the extracted files over to $XILINX on your UNIX platform.



Solution 3:

PC's:

"ERROR: Could not load/define class file"
This error has been seen if there are multiple copies of the same data files in the same directory. When you try to generate a module in the CORE Generator,
the inability to load or define the class file may be seen as a result of this duplication.

To determine whether there are duplicate files present try restarting Coregen
and paying close attention to the startup messages in the Coregen console window. If there is a problem with duplicate data files (more than one data file with the same name), you will see a message about "duplicate core resources". The cause of this problem is described in http://www.xilinx.com/techdocs/7861.htm.




End of Record #7711 - Last Modified: 12/13/99 20:38

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