aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report.md
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-07-30 14:29:55 +0100
committerGitHub <noreply@github.com>2021-07-30 14:29:55 +0100
commitef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d (patch)
tree41f9aec86a1d468a0302243c8f6c567d46c666b6 /docs/report.md
parent8466985bc709d6c2e0e6f5f030abec119ae2305a (diff)
parentd2007a386c1a2db7917d7048ea6206ae1218d141 (diff)
downloadnextpnr-ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d.tar.gz
nextpnr-ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d.tar.bz2
nextpnr-ef1fbfc651ea328dfb703c3b79d5b9ea123f2f0d.zip
Merge pull request #787 from YosysHQ/gatecat/report
Add JSON utilisation and timing report
Diffstat (limited to 'docs/report.md')
-rw-r--r--docs/report.md22
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>
+ },
+ ...
+ }
+}
+```