feat(docs): Vivado closure kit -- the multicycle constraint that kills the seed-lottery (Refs #1764) - #1908
Merged
Merged
Conversation
…s the seed-lottery (Refs #1764) The root-cause arc concluded the seed-lottery is a global placement effect of the open flow's timing-relaxed placement; the cure is a timing-driven P&R that can hear a multicycle constraint. nextpnr-xilinx XDC supports only create_clock, so it cannot; Vivado can. Adds docs/vivado_closure/ with an XDC (create_clock 200 MHz + set_multicycle_path 16 on the shared-core rf->rf through-core paths, which are genuinely multicycle -- captured once per cen*settle ~2560 cycles), a batch build tcl, and a README. Converts the documented open-toolchain limitation into a solved problem with the right instrument; prerequisite for nets > XOR. Refs #1764 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
The root-cause investigation concluded the seed-lottery is a global placement effect of the open flow's timing-relaxed placement — every local register-based fix failed. The cure is not another register; it is telling a timing-driven place-and-route the truth about the path. nextpnr-xilinx's XDC supports only
create_clock, so it cannot express this; Vivado can.Adds
docs/vivado_closure/:bpseq_vivado.xdc—create_clockat 200 MHz plusset_multicycle_path 16on the shared-corerf → rf(throughGftSmul/GftSadd) paths. That path is genuinely multicycle — the microsequencer captures its result only once percen × settle(~2560) cycles — so Vivado closes it deterministically and the lottery disappears.vivado_build.tcl— batch synth → opt → place → phys_opt → route → bitstream, printing worst setup slack (expect ≥ 0).README.md— run instructions and the rationale.This converts the documented open-toolchain limitation into a solved problem with the right instrument, and is the prerequisite for training nets larger than XOR (where open-flow seed-search runs out). Vivado does not run on the macOS arm64 dev host, so the kit is authored for the user's Vivado environment. The methodology write-up points to it.
Docs/scripts only. Refs #1764