cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jehandad
Participant
Participant
2,581 Views
Registered: ‎06-08-2016

compile_simlib fails to compile libraries for modelsim 10.5c on Vivado 2017.2

Jump to solution

Vivado Version 2017.2

ModelSim version 10.5c (IntelFPGA Pro version) 

 

The command I used to compile Xilinx Libraries is as follows:

compile_simlib -language all -dir ${lib_dir} -simulator modelsim -simulator_exec_path {$modelsim_path} -32bit  -library all -family  kintexu

 

The variables lib_dir and modelsim_path point to valid paths for output and modelsim binaries

 

Here is truncated output indicating the problem:

***********************************************************************************************************************
* COMPILATION SUMMARY *
* *
* Simulator used: modelsim *
* Compiled on: Thu Jul 27 14:55:11 2017 *
* *
***********************************************************************************************************************
* Library | Language | Mapped Library Name | Error(s) | Warning(s) *
*---------------------------------------------------------------------------------------------------------------------*
* secureip | verilog | secureip | 1 | 0 *
*---------------------------------------------------------------------------------------------------------------------*
* unisim | vhdl | unisim | 3 | 0 *
*---------------------------------------------------------------------------------------------------------------------*
* unimacro | vhdl | unimacro | 1 | 0 *
*---------------------------------------------------------------------------------------------------------------------*
* unifast | vhdl | unifast | 1 | 0 *
*---------------------------------------------------------------------------------------------------------------------*
* emc_common_v3_0_5 | vhdl | emc_common_v3_0_5 | 1 | 0 *
*---------------------------------------------------------------------------------------------------------------------*

.

.

.

.

.

 

Looking at similar posts on the forums the first culprit would have been the modelsim version, however that is listed as supported. Help would be much appreciated.

0 Kudos
1 Solution

Accepted Solutions
jehandad
Participant
Participant
4,161 Views
Registered: ‎06-08-2016

By passing the -verbose switch to the compile_simlib command, we can generate log files for the compilation process. These log files indicate that vivado is looking for the modelsim binaries in modelsim_ae/bin/../linuxpe/* directory due to the -32bit switch. By creating a softlink named 'linuxpe' targetting the modelsim_ae/linux directory we can resolve this issue.

View solution in original post

0 Kudos
1 Reply
jehandad
Participant
Participant
4,162 Views
Registered: ‎06-08-2016

By passing the -verbose switch to the compile_simlib command, we can generate log files for the compilation process. These log files indicate that vivado is looking for the modelsim binaries in modelsim_ae/bin/../linuxpe/* directory due to the -32bit switch. By creating a softlink named 'linuxpe' targetting the modelsim_ae/linux directory we can resolve this issue.

View solution in original post

0 Kudos