FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6379 Discussions

Cannot run program "vsim"

Altera_Forum
Honored Contributor II
1,779 Views

Hi, 

 

When I try to verify a demo design in DSP Builder, I am getting the following error:  

"Cannot run program "vsim":....The system cannot find the file specified". 

 

But I have set the path of vsim.exe in the "File\Set Path" of MATLAB window. I can open the Modelsim by typing the command vsim.exe from the directory where it is present through the command window.  

 

If I type vsim in the MATLAB window, it says "undefined variable or function". 

 

Can anyone please help regarding this? 

 

Thanks.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
628 Views

is it set in your system path?

0 Kudos
Altera_Forum
Honored Contributor II
628 Views

Thanks for the reply. 

 

Do you mean in the Environment Variables? 

 

I set the following: 

Variable: vsim 

Value: C:\altera\12.0\modelsim_ae\win32aloem
0 Kudos
Altera_Forum
Honored Contributor II
628 Views

Thanks Tricky. I could able to run it now.

0 Kudos
Altera_Forum
Honored Contributor II
628 Views

hai visuma, 

i'm also facing the same problem. 

how did you rectify the issue???? 

regards 

nandak
0 Kudos
Altera_Forum
Honored Contributor II
628 Views

I just set the path in MATLAB and also added the vsim path in System Environment Variable "Path".

0 Kudos
Reply