Resource usage
gowin_resourcesExtract resource usage from a Gowin EDA build report for one build, including logic, CLS, registers, BSRAM, DSP, I/O banks, and clock resources. Parse text or JSON by project path.
Instructions
Full resource usage for one build: logic, CLS, registers, BSRAM, DSP, I/O banks and clock resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | 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. | |
| path | Yes | Path to the build: the project directory, its impl/ directory, impl/pnr/ itself, or the .rpt.txt. Either kind of slash. | |
| format | No | Output format. Default text: a compact rendering, returned as the only content. json: the full JSON as text and as structuredContent. | |
| includeBanks | No | Include the I/O bank and clock resource tables. Default true. |