Running Modelsim commands on Linux that is installed on Windows PC.

Status
Not open for further replies.

Tajira

Newbie level 6
Joined
Apr 13, 2016
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Germany
Activity points
1,429
Hello guys,

I adopted the following procedure to install Linux on Windows

How to enable Linux on Windows .



I have installed modelsim 2020.1 on my windows machine. I want to run commands like vlib and vcom on the Linux shell that I have enabled using some options within Windows(procedure link given above). I was looking for some help in this regard, as the windows bash shell doesn't seem to be recognizing these commands.



I ran the same commands on Cygwin, Windows Powershell, and Windows command line. These three interfaces are recognising Modelsim Batch mode commands.



How may I run my already installed Modelsim that is installed on Windows machine, on the Linux that is also installed on the same Windows machines(After enabling Windows System for Linux)?



Thanks in advance
 

@tahirsengine1

I want to run commands like vlib and vcom on the Linux shell that I have enabled using some options within Windows(procedure link given above).

ModelSim TCL commands will run the same way for Windows and Linux. They are just TCL commands and have nothing to do with the OS.
You can just create a TCL file or DO file with your collection of ModelSim commands and run that file both in Win or Linux.

However due to the wierd nature of your tool environment, be careful on how you are specifying the paths to the ModelSim executables.

A better solution in my opinion is to use an Ubuntu Docker Image on Windows and install all your EDA tools under the Docker image.
 

    Tajira

    Points: 2
    Helpful Answer Positive Rating
WSL is a barebones virtual machine running Linux.
You can't run Windows programs using the Linux kernel, the programs have to be compiled to run on Linux itself.

If you want to take advantage of the shell scripting of Linux then install the Linux version of Modelsim on WSL.
 

    Tajira

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…