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

10.1 CORE Generator - ERROR:sim - CreateVHDLStructuralModel : Could not read S:/coregen/tmp/_cg/srio_v4_1/rio_log_io_v4_1.ngc


Generating an IP core on a Samba-mounted drive to a Linux network machine results in the following error at the end of generation:

"The failure: ERROR:sim - CreateVHDLStructuralModel : Could not read S:/<project Name>/tmp/_cg/srio_v4_1/rio_log_io_v4_1.ngc"

S: is a samba mapping.

Creating the same IP core on a local drive works fine.


A small number of newer IP cores utilize Tcl scripts during core generation. IP cores using the Tcl script flow fail on a Linux Samba mount.

There is a Tcl code bug that prevents the command "file readable" from returning the proper value when run from Windows to a Linux box over a Samba mount. The core is actually generated in a temporary directory, but the "file readable" check, which ascertains whether the '.ngc" file is present, fails and generates an error.

Bug tracking items have been filed with the Tcl consortium to fix the underlying issue. However, Xilinx has also implemented a fix for this issue in the first service pack for 10.1. The "fix" replaces the command "file readable" with "file exists" everywhere it occurs in scripts located under the "$Xilinx\coregen\tcl" directory.

The latest 10.1 Service Pack available at:

The first service pack containing the fix is 10.1 Service Pack 1.
AR# 30613
Date 07/28/2010
Status Archive
Type General Article