How to use with Mac?
I'm stuck at the Gowin part which does not seem to run on Mac
ATM I'm looking at how to run Gowin in Docker Ubuntu or in the cloud with port forwarding - if you have any instructions on how to do so?
Maybe opensource fpga toolchain is a good choice to do this, but there may be some bugs if you try this on Gowin device.
https://github.com/YosysHQ/apicula
@louis030195 if you asked about GoWin EDA - it's not supported under Mac. But you easely can use VSCode with LashiLabs extension.
If you ask to synth and burn. Here is my example project for Mac (take a look Makefile): https://github.com/mrLSD/fpga/tree/master/sipeed-tangnano-9k/lcd_screen
Here is my solution(Gowin EDA on the MAC Apple silicon, no programmer and GAO):
- Setup a Ubuntu X86 docker on Mac Apple Silicon;
- Forward the Ubuntu X to XQuartz on Mac;
- Then Gowin EDA could work, but GAO can't. Use OpenFPGALoader instead of the programmer.
Docker setup:
docker run -v ~/.Xauthority:/root/.Xauthority -v ~/Source:/root/Source -e DISPLAY=host.docker.internal:0 -it ubuntu-x bash change the ubuntu-x to your docker image name
Run xhost + localhost on Mac, then the Gowin EDA should be OK.