11-10-2009 03:48 PM
I need to compile the Xilinx IP cores before I do the simulation with ModelSim. Unfortunately, I've met the "ERROR:Compxlib:267 - COMPXLIB[sim]: Unable to automatically find executables for simulator 'mti_se'" error.
I've double checked the command as below and it looks like the ModelSim path is correct.
"compxlib.exe -s mti_se -l all -o C:/xuan/FPGA_Design/GLINK -p C:/Modeltech_xe_starter/win32xoem -arch virtex5 -lib unisim -lib simprim -lib xilinxcorelib -lib edk -exclude_deprecated -intstyle ise"
But I can't find the "mti_se" director under the "C:\Xilinx\11.1\ISE\verilog" directory.
Does anyone know who to solve this problem?
BTW, my ISE version is 11.3 and ModelSim is 6.3c
Thanks a lot!
02-03-2010 12:12 PM - edited 02-03-2010 12:13 PM
1) Make sure that the Model Tech Simulator field in Edit => Preferences => ISE General => Integrated Tools has the correct path to your ModelSim executable (in my case, it is "C:\modeltech_pe_6.5d\win32pe\modelsim.exe")
2) Also, make sure that under Project > Design Properties that you have the right simulator selected in the Simulator field (in my case, it was Modelsim-PE VHDL).
If you do these 2 steps right, you should NOT see the error that you are seeing.
Best of luck!
11-10-2009 04:36 PM
Hi,
There seems to be two ModelSIm versions in your machine. One ModelSim Starter and other one being ModelSim SE.
But if we look at the compxlib log it seems that the starter is being picked up. The reason is that the path variable of your computer variables
seems to point to Modelsim XE.
I think it is possible to have multiple ModelSim Versions on a single PC. Just make sure that PATH variable is properly set.
C:\Softwares\Modeltech_6.3c\win32;%LMC_HOME%\bin;%LMC_HOME%\lib\pcnt.lib;%PATH%;C:\Modeltech_xe\win32xoem;
The one at the starting path would take preference. If you type vsim in the command line, the ModelSim version that is in the first part would
hopefully launch.
Typing vsim in the command line (Start ==> Run) to see which version will launch
Thanks.
11-10-2009 05:32 PM
Sorry, my bad. I hadn't made it clearly.
There is only one ModelSim on my PC and it's version is ModelSim XE III/Starter 6.3c.
Probably there are something else that I setup wrong?
11-21-2009 07:22 AM
Hi,
1,Launch ISE.
2, Go to Edit => Preferences => ISE General => Integrated Tools.
3, Set the Model Tech Simulator to point to ModelSim starter executable.
Thanks.
11-23-2009 07:30 AM
The "Integrated Tools" points to the ModelSim XE Starter correctly.
Any other ideas?
11-23-2009 06:05 PM
If you are using ModelSim XE (whether Starter or Full) you need not run Compxlib as the Xilinx libraries are already pre-compiled. The simulator will work out of the box.
All you should need to do is select "Simulate Behavioral Model" from the ISE processes to simulate the design.
Hope this helps.
01-15-2010 07:15 AM
Hello! I encounter the same problem as i try to compile the HDL simulation libraries so i could simulate with modelsim!when i try to simulate i get the errors:
# ** Error: ram_xilinx.vhd(26): Library unisim not found.
# ** Error: ram_xilinx.vhd(27): (vcom-1136) Unknown identifier "unisim".
Thata why i try to compile the HDL libraries!THe problem is that when i try to compile them i get this message:
ERROR:Compxlib:267 - COMPXLIB[sim]: Unable to automatically find executables for simulator 'mti_se'.
Simulator 'mti_se' is ignored.
Process "Compile HDL Simulation Libraries" failed
I have set the correct path to the tab menu (edit/preferences/intergrated tools) where we set the simulator path and the directory of the simulator at the process properties!
I'm using Modelsim ModelSim PE Student Edition 6.5a!
I had somehow made it work in the past but now i can't find the way now since i reloaded a new project!
Any ideas please?
Thanks in advance! :-)
02-03-2010 12:12 PM - edited 02-03-2010 12:13 PM
1) Make sure that the Model Tech Simulator field in Edit => Preferences => ISE General => Integrated Tools has the correct path to your ModelSim executable (in my case, it is "C:\modeltech_pe_6.5d\win32pe\modelsim.exe")
2) Also, make sure that under Project > Design Properties that you have the right simulator selected in the Simulator field (in my case, it was Modelsim-PE VHDL).
If you do these 2 steps right, you should NOT see the error that you are seeing.
Best of luck!
03-02-2010 04:24 AM
You were right!!!Thanks a lot! :-)
09-29-2012 01:05 PM
I am using ISE11.1, Model Sim studen edition 10.0C, Xilinx system generator and MATLAB2008b. I generate the verilog code through system generator from MATLAB. When I try to run ( behavioural simulation) this code, I get the same error. I have applied the all sugessions made by you peoples, but still getting the same error. Please suggest me & take me out from this problem.
02-06-2013 01:54 AM
Three years later and this info is still valid. Thank a million. I've been pulling my hair out all evening trying to figure out this one error so that I can finish my homework. You saved me!
09-17-2015 08:38 PM
I had both model sim 14.6 and 14.7 ... installed in my system ... I was running from from 14.6 version and the compxlib was not linking .... But after reading the post of multiple installation my compxlib started linking ... thanks
@htsvn wrote:
Hi,
There seems to be two ModelSIm versions in your machine. One ModelSim Starter and other one being ModelSim SE.
But if we look at the compxlib log it seems that the starter is being picked up. The reason is that the path variable of your computer variables
seems to point to Modelsim XE.
I think it is possible to have multiple ModelSim Versions on a single PC. Just make sure that PATH variable is properly set.
C:\Softwares\Modeltech_6.3c\win32;%LMC_HOME%\bin;%LMC_HOME%\lib\pcnt.lib;%PATH%;C:\Modeltech_xe\win32xoem;
The one at the starting path would take preference. If you type vsim in the command line, the ModelSim version that is in the first part would
hopefully launch.
Typing vsim in the command line (Start ==> Run) to see which version will launch
Thanks.
05-13-2020 08:50 AM
Hi Xilinx people!
I've resurrected an old project and had to install ISE 14.7 and was able to build the project without problems. But I'm now trying to simulate and I've run into this ERROR:Compxlib:267 problem. I've made sure that all the solutions are applied but still see the error, any ideas?? Using modelsim PE. My error is copied below. I'm wondering if the problem is related to the fact that I already have vivado installed on this laptop?
--Ross
C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\unwrapped\compxlib.exe -s mti_pe -l verilog -dir C:/************************************************_fpga/sim/work/work -p C:/modelsim_dlx64_2019.4/win64pe -arch spartan6 -lib unisim -lib simprim -lib xilinxcorelib -lib
edk -exclude_superseded -intstyle ise
------------------------------------------------------------------------------
ERROR:Compxlib - COMPXLIB[sim]: Unable to automatically find executables for simulator 'mti_pe' from the following paths:
C:/modelsim_dlx64_2019.4/win64pe
C:\Xilinx\14.7\ISE_DS\ISE\\lib\nt64
C:\Xilinx\14.7\ISE_DS\ISE\\bin\nt64
C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64
C:\Xilinx\14.7\ISE_DS\ISE\lib\nt64
C:\Xilinx\14.7\ISE_DS\ISE\..\..\..\DocNav
C:\Xilinx\14.7\ISE_DS\PlanAhead\bin
C:\Xilinx\14.7\ISE_DS\EDK\bin\nt64
C:\Xilinx\14.7\ISE_DS\EDK\lib\nt64
C:\Xilinx\14.7\ISE_DS\EDK\gnu\microblaze\nt\bin
C:\Xilinx\14.7\ISE_DS\EDK\gnu\powerpc-eabi\nt\bin
C:\Xilinx\14.7\ISE_DS\EDK\gnuwin\bin
C:\Xilinx\14.7\ISE_DS\EDK\gnu\arm\nt\bin
C:\Xilinx\14.7\ISE_DS\EDK\gnu\microblaze\linux_toolchain\nt64_be\bin
C:\Xilinx\14.7\ISE_DS\EDK\gnu\microblaze\linux_toolchain\nt64_le\bin
C:\Xilinx\14.7\ISE_DS\common\bin\nt64
C:\Xilinx\14.7\ISE_DS\common\lib\nt64
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0\
C:\windows\System32\OpenSSH\
C:\Program Files (x86)\Webex\Webex\Applications
C:\Program Files\Intel\WiFi\bin\
C:\Program Files\Common Files\Intel\WirelessCommon\
C:\modelsim_dlx64_2019.4\win64pe\vsim.exe
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\PuTTY\
C:\Users\C62310\AppData\Local\Microsoft\WindowsApps.
Simulator 'mti_pe' is ignored.
1) I've made sure that the Model Tech Simulator field in Edit => Preferences => ISE General => Integrated Tools has the correct path to your ModelSim executable (in my case, it is "C:\modeltech_pe_6.5d\win32pe\modelsim.exe")
2) I've made sure that under Project > Design Properties that you have the right simulator selected in the Simulator field (in my case, it was Modelsim-PE verilog).
3) I've made sure that my PATH environment variable is correctly pointing to modelsim dir.
4) I only have one simulator installed MTI.
If you do these 2 steps right, you should NOT see the error that you are seeing.
05-13-2020 08:54 AM
oops I copied too much I should have deleted the last line that says:
If you do these 2 steps right, you should NOT see the error that you are seeing.
Also the error message does not say Compxlib:267 just Compxlib:
--Ross
05-13-2020 10:10 AM
I think the real problem is this:
Snip…
C:\Program Files\Common Files\Intel\WirelessCommon\
C:\modelsim_dlx64_2019.4\win64pe\vsim.exe
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
Snip….
The tool added vsim.exe to the correct path and treating that as a path. And BTW vsim is incorrect it should be vlog.
--Ross