Skip to content

Dockerize altera's Quartus ii software and run it on macOS

License

Notifications You must be signed in to change notification settings

baleinesurseine/macOsQuartus

Repository files navigation

Run Quartus II on macOS

Intro

Quartus II from Intel/Altera can be installed on Windows and Linux only.

The solution is to install and run Quartus on a Linux distribution running in a docker container. The X11 graphical interface is channeled to the macOS and viewed with XQuartz.

macOS setup for X11

  • Install and run XQuartz
  • From XQuartz Preferences, in the Security tab, make sure "Allow connections from network clients" is enabled. Restart XQuartz if you changed this option.
  • run xhost + localhost in a shell terminal on the host

build docker image

The resulting docker image will have a size ~15G

run Quartus

Run this shell command: docker run --rm -d -e DISPLAY=host.docker.internal:0 --net=host --volume=$HOME/quartus/config:/root --volume=/shared/folder:/macOS quartus

/shared/folder is a folder on macOS side (you can choose whatever folder you need). /macOS/shared/folder is the path of this shared folder inside the docker container, it can be accessed inside Quartus.

$HOME/quartus/configis a folder on macOS side to persist config data (e.g. preferences) generated by quartus.

macOS application

The process of launching XQuartz and runing the docker shell command has been bundled into a macOS Quartus ii.app application. The user's home directory is mapped to /macOS inside the linux container.

This app is only a launcher : it bounces in the dock until Quartz and the linux quartus app are up and running, then it disapears from the dock, since Quartus runs now independently in a docker container.

About

Dockerize altera's Quartus ii software and run it on macOS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published