This Docker container is meant to synthesize bitstreams for Gowin FPGAs (like the Tang Nano 9K) using LiteX.
Especially useful on newer Macs.
NOTE: To get decent performance, turn on Rosetta in Docker preferences.
$ docker build . \
-t gowin-docker:latest
$ docker run --rm \
--platform linux/amd64 \
--mac-address xx:xx:xx:xx:xx:xx \
-v "${HOME}/gowin_E_YOURLICENSE.lic:/data/license.lic" \
-it gowin-docker:latest
NOTE: Change the MAC address to fit with the licensee's MAC address.