Skip to content

Instantly share code, notes, and snippets.

@pcornier
Last active September 22, 2022 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcornier/aaaaee3356f6feaa4774eeab53c27910 to your computer and use it in GitHub Desktop.
Save pcornier/aaaaee3356f6feaa4774eeab53c27910 to your computer and use it in GitHub Desktop.
Quartus - Pocket - WSL2

Docker + WSL2 + VcXsrv

compile from WSL2:

docker run -it --rm -v ~/FPGA/_Pocket/core-template/src/fpga:/build raetro/quartus:pocket quartus_sh --flow compile ap_core.qpf

run Quartus GUI:

docker run -it --rm -v ~/FPGA/_Pocket/core-template/src/fpga:/build -e DISPLAY="$(netsh.exe interface ipv4 show addresses Wi-Fi | head -n 4 | grep -oP [0-9.]+)":0 raetro/quartus:pocket quartus

install.bat in src/fgpa:

%QUARTUS_ROOTDIR%\bin64\quartus_pgm -m JTAG -o p;output_files\core.sof@2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment