aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-07-28 12:50:21 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-07-28 12:50:21 -0700
commite0517caf1aeb520733edb49f13b4ef61923d41f1 (patch)
tree8854c54c3545f376f040fd10a9b15f712c42c5a4 /common/timing.h
parent0be236ce05c90a5853b3285e0556737f663999c3 (diff)
downloadnextpnr-e0517caf1aeb520733edb49f13b4ef61923d41f1.tar.gz
nextpnr-e0517caf1aeb520733edb49f13b4ef61923d41f1.tar.bz2
nextpnr-e0517caf1aeb520733edb49f13b4ef61923d41f1.zip
Refactor
Diffstat (limited to 'common/timing.h')
-rw-r--r--common/timing.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/timing.h b/common/timing.h
index a1e12ab3..de4f7bbe 100644
--- a/common/timing.h
+++ b/common/timing.h
@@ -30,7 +30,9 @@ void assign_budget(Context *ctx);
// Evenly redistribute the total path slack amongst all sinks on each path
void update_budget(Context *ctx);
-void compute_fmax(Context *ctx, bool print_fmax = false, bool print_path = 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