Compare builds
gowin_compareCompare two Gowin EDA builds to report resource deltas, fMax changes, introduced, fixed, or persisting violations, and bitstream body match. Use it to see what a change cost.
Instructions
Diff two builds: resource deltas, fMax change per clock, which violations were introduced, fixed, or persist, and whether the two .fs bitstreams have the same body. Use this to see what a change actually cost. Builds on different devices are reported but not classified (safe is null).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"before": "<before>",
"after": "<after>"
},
"name": "gowin_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | New build path. | |
| before | Yes | Baseline build path. | |
| format | No | Output format. Default text: a compact rendering, returned as the only content. json: the full JSON as text and as structuredContent. | |
| afterName | No | When several builds share one impl/pnr/, pick this one by name (the <name> of <name>.rpt.txt). Default: the most recent, with the others listed under siblings. | |
| beforeName | No | When several builds share one impl/pnr/, pick this one by name (the <name> of <name>.rpt.txt). Default: the most recent, with the others listed under siblings. |