Skip to content

Conversation

jmi2k
Copy link

@jmi2k jmi2k commented Jun 29, 2025

This PR enables support for the Xilinx uarch in nextpnr-himbaechel. It builds the required tools from f4pga/prjxray, but makes use of the prebuilt f4pga/prjxray-db chip database.

I've tested these changes on the linux-x64 workflow and it adds the following build time and tarball size to it:

  • 20m 2s ⟶ 30m 49s
  • 647 MB ⟶ 751 MB

NOTE: the increase in time may be caused by having to rebuild everything from scratch. I'll update this comment when I have better data.

There were some concerns raised on #85 about the increase in build time and tarball size, and I originally planned to keep these changes on a private fork, but I decided to send a PR for the record.

Depends on nextpnr#1509.

There is a problem with the installed fasm2frames tool: it doesn't work properly for some reason I fail to understand at the time of writing. Fixed by adding missing line from the source (thanks Arch User Repository)

@jmi2k jmi2k force-pushed the himbaechel-enable-xilinx-uarch branch 3 times, most recently from 3746d95 to c53f15d Compare June 29, 2025 19:31
@jmi2k jmi2k changed the title [WIP] Enable xilinx uarch for nextpnr-himbaechel Enable xilinx uarch for nextpnr-himbaechel Jun 29, 2025
@jmi2k jmi2k marked this pull request as ready for review June 29, 2025 21:38
@gatecat
Copy link
Member

gatecat commented Jun 30, 2025

I don't think I can support this at this stage. himbaechel-xilinx is right now mostly an experiment for internal PnR development rather than anything intended for end user purposes, although this may change in the future.

@jmi2k
Copy link
Author

jmi2k commented Jun 30, 2025

Sounds reasonable, I'll keep these changes in my fork then. Feel free to close the PR or leave it as is.

May I ask if there's a "mature" OSS toolchain for Xilinx devices? I've seen nextpnr-xilinx which seems to be stale (I assumed efforts moved to himbaechel).

@jmi2k jmi2k force-pushed the himbaechel-enable-xilinx-uarch branch from c53f15d to 4f72e6a Compare July 1, 2025 09:40
@jmi2k jmi2k force-pushed the himbaechel-enable-xilinx-uarch branch from 4f72e6a to 46291bc Compare July 2, 2025 13:32
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

Successfully merging this pull request may close these issues.

2 participants