Add Flow API and nextpnr support for Cologne Chip GateMate FPGAs#489
Open
GMM-7550 wants to merge 2 commits into
Open
Add Flow API and nextpnr support for Cologne Chip GateMate FPGAs#489GMM-7550 wants to merge 2 commits into
GMM-7550 wants to merge 2 commits into
Conversation
olofk
reviewed
Dec 18, 2025
Owner
olofk
left a comment
There was a problem hiding this comment.
Thanks for this! A few things that need to be fixed and I would appreciate some simple tests also. Looks great otherwise.
| }}, | ||
| "nextpnr": {"deps": ["yosys"], | ||
| "fdto": {"arch": "gatemate", | ||
| "nextpnr_options": ["--router router2"], |
Owner
There was a problem hiding this comment.
Is this option strictly needed? We try to avoid hardcoding any options unless necessary since that makes it harder for users to change to another value.
| "-lib", | ||
| "ccag", | ||
| " ".join(self.tool_options.get("p_r_options", "")), | ||
| "$(NEXTPNR)", |
Owner
There was a problem hiding this comment.
I think it's better to just have nextpnr-himbaechel here directly. This allows us to run a containerized version of nextpnr through the EDALIZE_LAUNCHER mechanism like we can do with the other nextpnr versions already.
| commands.add(command, [cfg_target], [synth_out]) | ||
|
|
||
| commands.set_default_target(targets) | ||
| commands.add_var("GMPACK := $(shell which gmpack)") |
Owner
There was a problem hiding this comment.
Use gmpack directly. We can use an EDALIZE_LAUNCHER to override the name if we want instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cologne Chip GateMate FPGA support is updated from the proprietary p_r tool to nextpnr and migrated from the old Tool API to the Flow API