aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report.md
blob: a766bb3dd4abbcc189b0cd5073aeeba07c616803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# JSON Reports

nextpnr can write a JSON report using `--report` post-place-and-route for integration with other build systems. It contains information on post-pack utilization and maximum achieved frequency for each clock domain, and is of the following format:

```
{
    "utilization": {
        <beltype>: {
            "used": <number of bels used in design>,
            "available": <total number of bels available in device>
        }, 
        ...
    },
    "fmax": {
        <clock domain>: {
            "achieved": <computed Fmax of routed design for clock in MHz>,
            "constraint": <constraint for clock in MHz>
        },
        ...
    }
}
```