fix(fpga-build): assert chipdb/device agreement before P&R - #2234
Merged
Conversation
nextpnr routes against whatever database it is handed; a mismatched pair survives P&R and dies two steps later in fasm2frames as 'Part None not found' (#2225). Fail at fpga-build start when an explicit --chipdb filename disagrees with --device, and derive the default chipdb path from --device instead of hardcoding the 100T filename -- the hardcode is exactly how the 200T default flip survived P&R. Negative control: planted mismatch bails instantly with both names and the consequence; a matched pair proceeds. Closes #2231.
gHashTag
enabled auto-merge (squash)
August 19, 2026 14:32
…greement # Conflicts: # docs/NOW.md
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Contributor
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.
Closes #2231. The left-open item from #2225: fail fast where the cause is, not two steps later in fasm2frames. Default chipdb path now derives from --device. Verified by planted-mismatch negative control. docs/NOW.md updated.
🤖 Generated with Claude Code