UPGRADE YOUR BROWSER

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

3.1i COREGen - " Xilinx CORE Generator - An error has occurred ...When generating a core, your current working directory..."

Description

Keywords: multiplier, multiply generator, constant coefficient, sequential,
cannot locate, .mif, memory initialization, file

Urgency: Standard

General Description:
When generating one of the following cores:

Sequential and Constant Coefficient Multipliers - part of the Multiplier
(Generator), Version 2.0
Single Port Block Memory, Version 3.0
Dual Port Block Memory, Version 3.0

you may encounter the following error:

"Xilinx CORE Generator - An error has occurred...
---------------------------------------------------------------------------------------------------
When generating a core, your current working directory
/home/working/directory/ should be the same as your Coregen project
/home/project/directory."

Solution

Although the .mif files are no longer accepted by CORE Generator as an input, CORE
Generator does output an MIF file as an intermediate file for generating certain cores.
When CORE Generator is invoked from anywhere other than the project directory, the
intermediate .mif file is written to that starting directory instead of the project directory;
CORE Generator fails to locate it in the project directory, and the error occurs.

To resolve this problem, exit and re-invoke CORE Generator from your project directory.

For PC users:
1. Close CORE Generator.
2. If you have .coe file, be sure it is in your "Current Project" directory.
3. Open a DOS box and "cd" to your "Current Project" directory.
4. Type "coregen" to launch CORE Generator.
5. Generate the core as usual. Specify the .coe file if you need to use it.
(Starting CORE Generator from Start -> Programs Menu or the desktop icon will not work.)

For UNIX users:
1. Close CORE Generator.
2. If you are using a .coe file, be sure it is in your "Current Project" directory.
3. From the command prompt, "cd" to your "Current Project" directory.
4. Type "coregen" to launch CORE Generator.
5. Generate the core as usual. Specify the .coe file if you need to use it.
AR# 10459
Date Created 11/03/2000
Last Updated 08/23/2002
Status Archive
Type General Article