04-17-2014
10:59 PM
- last edited on
07-04-2018
02:38 AM
by
florentw
Hi,
I'm trying to run a simulation in ModelSIM 10.1b from Vivado.
I have run the following command to add unisim libraries to sim environments
compile_simlib -simualtor modelsim
Even after that, while running simulation I get the "unisim.vcomponets not found"error.
#################################################################################
# ** Error: (vcom-11) Could not find unisim.vcomponents.
#
# ** Error: D:/Asan Jasima/IndoAust/Sim/CellOS_V1.0_Apr11/cpri_ip_example/cpri_ip_example.srcs/sources_1/imports/example_design/support/cpri_ip_csl_synchronizer.vhd(65): (vcom-1195) Cannot find expanded name "unisim.vcomponents".
#
# ** Error: D:/Asan Jasima/IndoAust/Sim/CellOS_V1.0_Apr11/cpri_ip_example/cpri_ip_example.srcs/sources_1/imports/example_design/support/cpri_ip_csl_synchronizer.vhd(65): Unknown expanded name.
# ** Error: D:/Asan Jasima/IndoAust/Sim/CellOS_V1.0_Apr11/cpri_ip_example/cpri_ip_example.srcs/sources_1/imports/example_design/support/cpri_ip_csl_synchronizer.vhd(67): VHDL Compiler exiting
# ** Error: D:/modelsim_dlx_10.1b/win32pe/vcom failed.
#########################################################################################
Is there any other commands/libraries to be added.
Thanks,
Asan
04-17-2014 11:25 PM - edited 04-17-2014 11:26 PM
Hi,
Setting compile_simlib main output directory to 'D:\Asan Jasima\IndoAust\Sim\CellOS_V1.0_Apr11\CellOS_XC7Z030.cache\compile_simlib'.
Use compile_simlib -directory to specify the location where the compiled libraries have to be stored.
The current output location had spaces in it so please specify a different location.
Thanks,
Deepika.
04-17-2014 11:06 PM
Hi Asan,
Are you able to see unisim folder in the compiled library location?
If yes, follow below steps:
1. After modelsim gui invokes, click on the library tab
2. Navigate and select unisim in the libaries list
3. Right-click and select refresh
4. Run the .do file again,
Thanks,
Vinay
04-17-2014 11:08 PM
I did the same and the issue is not resolved.
it shows unisim library like this:
unisim(empty)
Does this give any clue?
04-17-2014 11:12 PM
Hi,
Can you attach your compile_simlib.log file?
Thanks,
Deepika.
04-17-2014 11:16 PM
Please let me know where to find the log file. I searched in the vivado project folder. couldn't find
04-17-2014 11:17 PM
Hi,
From where did you run compile_simlib command?
Run pwd command to know the present working directory. The log file will be seen at the same location.
Thanks,
Deepika.
04-17-2014 11:19 PM
04-17-2014 11:21 PM
04-17-2014 11:23 PM
Hi,
Try compiling the libraries again by removing the space in the directory path.
Thanks,
Vinay
04-17-2014 11:25 PM - edited 04-17-2014 11:26 PM
Hi,
Setting compile_simlib main output directory to 'D:\Asan Jasima\IndoAust\Sim\CellOS_V1.0_Apr11\CellOS_XC7Z030.cache\compile_simlib'.
Use compile_simlib -directory to specify the location where the compiled libraries have to be stored.
The current output location had spaces in it so please specify a different location.
Thanks,
Deepika.
04-17-2014 11:46 PM
Deepika's response gave me a clue.i.e, access to this folder "D:/Asan"?
A folder's name contained a "space" inbetween and it delimited the path with that. and hence searching in the wrong path.
Now I replaced space with dot and it worked.
Thank you all for your responses.
04-17-2014 11:48 PM
Great. Please close the thread by marking the answer.
Thanks,
Deepika.
12-17-2014 02:38 PM
Thanks for giving an example of the invocation of the compile_simlib command. I tried this command several times based on what I found in UG900 and got an error regarding an unknown simulator. I never did find the document that mentioned the need for the -simulator modelsim option. I figured Vivado would take this information from the project settings.
12-17-2014 07:29 PM