aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr_types.h
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 /common/nextpnr_types.h
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 'common/nextpnr_types.h')
-rw-r--r--common/nextpnr_types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/nextpnr_types.h b/common/nextpnr_types.h
index bbf61934..1cae3dbe 100644
--- a/common/nextpnr_types.h
+++ b/common/nextpnr_types.h
@@ -217,6 +217,18 @@ struct ClockConstraint
DelayPair period;
};
+struct ClockFmax
+{
+ float achieved;
+ float constraint;
+};
+
+struct TimingResult
+{
+ // Achieved and target Fmax for all clock domains
+ dict<IdString, ClockFmax> clock_fmax;
+};
+
// Represents the contents of a non-leaf cell in a design
// with hierarchy