File: report.md

package info (click to toggle)
nextpnr 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 45,032 kB
  • sloc: cpp: 218,128; python: 24,276; ansic: 10,907; pascal: 1,328; sh: 849; makefile: 563; vhdl: 44; objc: 42; tcl: 41
file content (22 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (3)
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>
        },
        ...
    }
}
```