aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr_types.h
diff options
context:
space:
mode:
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