I am trying to compile the simulation libraries on a Linux 64-bit OS with this command:
compile_simlib -simulator modelsim -language vhdl -family zynq -directory simlib -force verbose
It fails with these errors:
When I try to open the '.cxl.modelsim.version' file as suggested I get the error below:
-bash-4.1$ cat .cxl.modelsim.version
What is causing this error and how do I fix it?
By default, compile_simlib performs the simulator compilation in 64-bit mode.
On Linux, ModelSim DE runs as a 32-bit binary only (even on 64-bit Linux). Therefore the default mode is not working.
To resolve the error, you need to add the -32bit switch to the compile_simlib command to run the compilation in 32-bit mode.
Simulation libraries can be successfully compiled for ModelSim SE and Questa in the default 64-bit mode.
The issue is resolved in Vivado 2016.3.