Skip to content

goldenSniperOS/modelsim-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Modelsim on Docker

ModelSim Version 16 GUI Running under docker container

Steps for Linux:

First you need to exec the xauth list on your host terminal. The aprox result will be:

<hostname-of-machine>/unix: MIT-MAGIC-COOKIE-1 <some number here>

Then exec echo $DISPLAY. The result will be :1 or :0

Run the container with the following command:

sudo docker run -i -t --name modelsim --net=host -e DISPLAY -v /tmp/.X11-unix goldensniper/modelsim-docker bash

Now inside the container exec the following command:

xauth add <hostname-of-machine>/unix:<no-of-display> MIT-MAGIC-COOKIE-1 <some number here>

Where the third arg is the result of xauth list command on your host and <no-of-display> is the $DISPLAY host machine value.

Finally exec vsim and enjoy. :)

About

Dockerfile for ModelSim Version 16 GUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages