diff options
author | gatecat <gatecat@ds0.me> | 2021-07-29 12:52:33 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-07-29 12:53:23 +0100 |
commit | d2007a386c1a2db7917d7048ea6206ae1218d141 (patch) | |
tree | f72fd1f1cce3b9549f052ce9ac19075469499998 /docs | |
parent | 4ac00af6fadc0405867fdac84229d2cda390c108 (diff) | |
download | nextpnr-d2007a386c1a2db7917d7048ea6206ae1218d141.tar.gz nextpnr-d2007a386c1a2db7917d7048ea6206ae1218d141.tar.bz2 nextpnr-d2007a386c1a2db7917d7048ea6206ae1218d141.zip |
common: Add JSON timing and utilisation report
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/report.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/report.md b/docs/report.md new file mode 100644 index 00000000..a766bb3d --- /dev/null +++ b/docs/report.md @@ -0,0 +1,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> + }, + ... + } +} +``` |