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

3.1i COREGEN - Single and Dual Port Block Memory - Error occurs when generating with a .coe file.

Description

Keywords: COREGen, CORE Generator, single, dual, port, block, memory,
coe,

Urgency: Hot

General Description
When generating a Single or Dual Port Block Memory v3_0 with a .coe file specified,
I encounter the following error:

"Xilinx CORE Generator An Error has occurred...
When generating dual port block memory with a COE file, your current working
directory C:\Xilinx\bin\nt should be the same as your Coregen project
C:\coregen_project\my_project."

Solution

This error occurs because CORE Generator is unable to find the .coe file,
even though the path to the .coe file has been specified appropriately.
CORE Generator is looking for the .coe file in the working directory only,
rather than in the project directory or the location specified by the user.

The working directory is the one from where CORE Generator was launched. If it was
launched from the Start -> Program menu, or from a Foundation or Foundation ISE project,
this is normally C:\Xilinx\bin\nt.

The project directory is the location specified by the user in the CORE Generator
"Current Project."

The workaround is to have the .coe file in the "Current Project" directory, and to
launch CORE Generator from this directory.

For PC users:
1. Close CORE Generator.
2. Be sure to have the .coe file 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 with the .coe file.

For UNIX users:
1. Close CORE Generator.
2. Be sure to have the .coe file 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 with the .coe file.
AR# 10549
Date Created 11/27/2000
Last Updated 08/23/2002
Status Archive
Type General Article