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

2013.2 Vivado HLS RTL Cosim/Csim fails with message "Couldn't reserve space for cygwin's heap" on Win 7 64 bit OS

Description

On Running RTL Co-simulation or C Simulation in Vivado HLS on a Windows 7 64 bit machine, it fails with the message below:
 
Starting C simulation ...
C:/Xilinx/Vivado_HLS/2013.2/Win_x86/bin/vivado_hls_bin.exe C:\training\hls\completed\lab4\dct\dct_prj\solution3\csim.tcl
@I [LIC-101] Checked out feature [HLS]
@I [HLS-10] Running 'C:/Xilinx/Vivado_HLS/2013.2/Win_x86/bin/vivado_hls_bin.exe'
            for user 'LZHR2X' on host 'ustc1wnrnd00lxh' (Windows NT_intel version 6.1) on Thu Oct 03 11:54:30 -0400 2013
            in directory 'C:/training/hls/completed/lab4/dct'
@I [HLS-10] Opening project 'C:/training/hls/completed/lab4/dct/dct_prj'.
@I [HLS-10] Opening solution 'C:/training/hls/completed/lab4/dct/dct_prj/solution3'.
@I [SYN-201] Setting up clock 'default' with a period of 10ns.
@I [HLS-10] Setting target device to 'xc7k70tfbg484-2'
m.AllocationBase 0x0, m.BaseAddress 0x60E90000, m.RegionSize 0x170000, m.State 0x10000
C:\Xilinx\Vivado_HLS\2013.2\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x60E90000 <0x1610000>) in child, Win32 error 0
m.AllocationBase 0x0, m.BaseAddress 0x60E90000, m.RegionSize 0x170000, m.State 0x10000
C:\Xilinx\Vivado_HLS\2013.2\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x60E90000 <0x1610000>) in child, Win32 error 0
make: *** [C:/training/hls/completed/lab4/dct/dct_prj/solution3/csim/build/obj/.dir] Error 1
@E [SIM-1] CSim file generation failed: compilation error(s).

    while executing
"csim_design -setup"
    (file "C:\training\hls\completed\lab4\dct\dct_prj\solution3\csim.tcl" line 8)
@I [LIC-101] Checked in feature [HLS]

Solution

This issue is related to the Operating System and has been highlighted in various online forums.
 
The tested solution is:
 
1. Go to the link: http://support.code-red-tech.com/CodeRedWiki/VirtualAllocPointerNull and download the msys-1.0.dll file (the downloaded zip file is attached)
 
2. Now, go to the directory <Vivado_HLS_Home>\msys\bin and look for the file msys-1.0.dll file. Rename it to msys-1.0_old.dll.
 
3. Copy over the downloaded .dll file to the location specified in Step 2.
 
4. Open a command prompt and browse to the directory <Vivado_HLS_Home>\msys\bin and type sh.exe. It should take you to the shell : 
C:\Xilinx\Vivado_HLS\2013.2\msys\bin>sh.exe
sh.exe-3.1$
5. Now, open Vivado HLS and run csim or RTL cosim without any cygwin errors.

Other solutions include:
 
1. Rebooting the system after installing the tool.
1. Disabling the Anti-Virus temporarily.
2. Add the executable <Vivado_HLS_Home>\msys\bin\sh.exe to the exceptions in your Antivirus.
3. Increase the Virtual Memory of your machine.


Attachments

Associated Attachments

Name File Size File Type
msys-1.0.zip 319 KB ZIP
AR# 58113
Date Created 10/23/2013
Last Updated 10/22/2014
Status Active
Type Error Message
Tools
  • Vivado Design Suite - 2013.2