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

1.1 System Generator for DSP - Running the vcom.do file in MTI causes the error: "Could not open library %XILINX%/vhdl/src/unisims/work..."


Keywords: SysGen, Mathworks, Simulink, blockset

Urgency: Standard

General Description:
I have successfully run "Generate" from System Generator and am trying to
run a functional VHDL simulation using the supplied vcom.do file. When I run
the .do file, I get an error similar to the following:

# ERROR: Could not open library unisim at %XILINX%/vhdl/src/unisims/work:
No such file or directory
# ERROR: C:/MATLABR11/toolbox/xilinx/sysgen/vhdl/synth_reg_w_init.vhd(14):
Library unisim not found.
# ERROR: C:/MATLABR11/toolbox/xilinx/sysgen/vhdl/synth_reg_w_init.vhd(15):
Unknown identifier: unisim


After running System Generator, a vcom.do file (script for ModelSim simulator) is
generated. In this vcom.do There is a line where a %XILINX% variable is listed in the generated vcom.do file.
The user must edit this file and replace %XILINX% with the location of his Xilinx path.
More specifically, the user will need to give the path to both compiled XilinxCoreLib and Unisims
on his/her own machine. This issue is completely documented in the first 3 lines of comments
in the vcom.do file.
AR# 10351
日付 06/22/2004
ステータス アーカイブ
種類 一般