Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with Mac? #23

Open
louis030195 opened this issue Jan 22, 2024 · 3 comments
Open

How to use with Mac? #23

louis030195 opened this issue Jan 22, 2024 · 3 comments

Comments

@louis030195
Copy link

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?

@wonderfullook
Copy link
Collaborator

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

@mrLSD
Copy link

mrLSD commented Feb 11, 2024

@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

@Bestoa
Copy link

Bestoa commented Oct 2, 2024

Here is my solution(Gowin EDA on the MAC Apple silicon, no programmer and GAO):

  1. Setup a Ubuntu X86 docker on Mac Apple Silicon;
  2. Forward the Ubuntu X to XQuartz on Mac;
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants