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

Support for Gowin boards #298

Open
k0055t opened this issue Aug 9, 2022 · 4 comments
Open

Support for Gowin boards #298

k0055t opened this issue Aug 9, 2022 · 4 comments

Comments

@k0055t
Copy link

k0055t commented Aug 9, 2022

Gowin FPGA chips have open source toolchain support. Boards as sipeed tang nano 9k are cheap and powerfull, but proprietary chinese IDE is drawback. Would it be possible to add support for them? They use seperate branch of nextpnr. There is article about using them with open source toolchain: https://www.geeklan.co.uk/?p=2919

@wireboy5
Copy link
Contributor

wireboy5 commented Aug 6, 2024

Hi @k0055t, I have an iCESugar-nano that I have been happily using with apio, and I just recently purchased a Sipeed Tang Nano 20k. so I decided to take a crack at this.

Luckily, nextpnr-himbaechel is now no longer on a separate branch, and supports some of the Gowin boards via Apicula. It is also included in oss-cad-suite, which is a huge plus. In theory, it should not be hard at all to add other Sipeed boards using Gowin FPGAs supported by Apicula, but I only have the Nano 20k to test with. The PR is #390 if you are interested.

@Patronics
Copy link
Contributor

@k0055t, based on the changes in wireboy5's PR, I've attempted to add support for the other boards in the Tang Nano lineup with PR #411. Unfortunately, I don't have any of the Tang Nano boards to test it with, but if you're able to test it with any of them I'd be happy to fix any issues you find!

@zapta
Copy link
Collaborator

zapta commented Sep 8, 2024

As a side note, the next release of apio will allow to have custom boards.json and fpgas.json in the project directory. If exist, they will superceed to stock ones.

self.boards = self._load_resource(BOARDS_JSON, allow_custom=True)

@Patronics
Copy link
Contributor

Some additional follow-up now that some hardware to test with has arrived, I have confirmed that my pull request works as intended with the Tang Nano 9k :)

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

No branches or pull requests

5 participants