aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-01 05:59:34 +0000
committerDavid Shah <davey1576@gmail.com>2018-08-01 05:59:34 +0000
commitb1a99789224774f640558b7b26fd2385b4f249db (patch)
tree5fb3aa360c2d0e4e625e4deafcc10f36d6420f9f /common/timing.h
parent474aa3470abb9a9bbbae137574542a6e5ac190a0 (diff)
parent94161e646d0384bde9401d3dbd1a76244abd9d23 (diff)
downloadnextpnr-b1a99789224774f640558b7b26fd2385b4f249db.tar.gz
nextpnr-b1a99789224774f640558b7b26fd2385b4f249db.tar.bz2
nextpnr-b1a99789224774f640558b7b26fd2385b4f249db.zip
Merge branch 'redist_slack' into 'master'
Update budgets throughout placement and routing See merge request SymbioticEDA/nextpnr!16
Diffstat (limited to 'common/timing.h')
-rw-r--r--common/timing.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/timing.h b/common/timing.h
index 025e4a76..d0159d5c 100644
--- a/common/timing.h
+++ b/common/timing.h
@@ -24,8 +24,12 @@
NEXTPNR_NAMESPACE_BEGIN
-// Assign "budget" values for all user ports in the design
-void assign_budget(Context *ctx);
+// Evenly redistribute the total path slack amongst all sinks on each path
+void assign_budget(Context *ctx, bool quiet = false);
+
+// Perform timing analysis and return the minimum path slack,
+// optionally, print out the fmax and critical path
+delay_t timing_analysis(Context *ctx, bool print_fmax = false, bool print_path = false);
NEXTPNR_NAMESPACE_END