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

ChipScope - Inserter - When I implement a design including a CDC file, I see "java.io.IOException: Cannot run program "coregen".."

Description

When you run implementation on a design that contains a CDC file generation of the ChipScope tool, the cores error out with the following:

Generating cores using CORE Generator. Please be patient as this can take several minutes...
Generating core 1 of 2 icon_pro.ngc...
java.io.IOException: Cannot run program "coregen" (in directory "..."): java.io.IOException: error=12, Cannot allocate memory
at com.xilinx.chipscope.inserter.CoregenProcessInvoker.call(CoregenProcessInvoker.java:139)
at com.xilinx.chipscope.inserter.CoregenProcessInvoker.call(CoregenProcessInvoker.java:101)
at com.xilinx.chipscope.inserter.NewCoreGenerator.generateCore(CoreGenerator.java:479)
at com.xilinx.chipscope.inserter.NewCoreGenerator.generateICONCore(CoreGenerator.java:656)
at com.xilinx.chipscope.inserter.CoreGenerator.generateICONCore(CoreGenerator.java:78)
at com.xilinx.chipscope.inserter.CoreGenerator.generateCoresWithException(CoreGenerator.java:52)
at com.xilinx.chipscope.inserter.InserterApp.insertCores(InserterApp.java:134)
at com.xilinx.chipscope.inserter.InserterApp.main(InserterApp.java:616)
FAILED.

See CoreGen Log /home/davidch/cases/814199_Vincent_Vendramini/watchvhd/_ngo/cs_icon_pro/coregen.log
ERROR:ChipScope: Unable to generate icon_pro.ngc
ERROR:ChipScope: Double-click the testcdc.cdc icon in the sources window to edit and fix the CDC project.

Solution

This will occur when you have another Java based tool open such as Modelsim or PlanAhead. The issue is related to the amount of contiguous memory available to java on your system. There are two possible workarounds:
1 - Close the other tool. This will deallocate memory and likely cause the CORE Generator/inserter java process to complete
2 - Switch to a 64-bit system
AR# 34412
Date Created 02/16/2010
Last Updated 02/17/2010
Status Active
Type General Article
Tools
  • PlanAhead - 11.1
  • PlanAhead - 11.2
  • ChipScope Pro - 11.1
  • More
  • ChipScope Pro - 11.2
  • ISE Design Suite - 11.1
  • ISE Design Suite - 11.2
  • ISE Design Suite - 11.3
  • ISE Design Suite - 11.4
  • Less