YosysHQ / apicula

Project Apicula 🐝: bitstream documentation for Gowin FPGAs
MIT License
446 stars 64 forks source link

Cant find how to compile for tang nano 20k #243

Closed H4-b closed 2 months ago

H4-b commented 2 months ago

The tang nano 20k board is marked as supported by the project, by there is no example like for other boards and trying to use it like the primer 20k doesn't work :

tang_nano_20k

i cant seem to find how to get the version number of apicula, but it's from the latest release of oss-cad-suite (2024-04-27)

What am i doing wrong? Is it just an outdated version?

yrabbit commented 2 months ago

The apicula kit is full of examples: https://github.com/YosysHQ/apicula/blob/master/examples/himbaechel/Makefile.himbaechel

only they use nextpnr-himbaechel, which you can probably install from the master branch. Or you can wait until it works as part of oss-cad-suite https://github.com/YosysHQ/nextpnr/pull/1315#pullrequestreview-2025164708

H4-b commented 2 months ago

Hello! Thank you for your quick response. I found that the oss-cad-suite from lushaylabs has nextpnr-himbaechel (and a pull request to the main branch). I just tested it and it seems to work just fine for now. Thank you for the examples, i didn't think to dive in the folders of the examples.

pepijndevos commented 2 months ago

We should really delete the old target asap

yrabbit commented 2 months ago

We should really delete the old target asap

Well the process is started: https://github.com/YosysHQ/nextpnr/pull/1318

pepijndevos commented 2 months ago

I don't think we really depend on nextpnr. Since the old target isn't getting any new features they can continue to build nextpnr-gowin with the latest supported release.

yrabbit commented 2 months ago

Yes, our problems start when they build nextpnr-gowin only ;)