diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-28 12:50:21 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-28 12:50:21 -0700 |
commit | e0517caf1aeb520733edb49f13b4ef61923d41f1 (patch) | |
tree | 8854c54c3545f376f040fd10a9b15f712c42c5a4 /common/timing.h | |
parent | 0be236ce05c90a5853b3285e0556737f663999c3 (diff) | |
download | nextpnr-e0517caf1aeb520733edb49f13b4ef61923d41f1.tar.gz nextpnr-e0517caf1aeb520733edb49f13b4ef61923d41f1.tar.bz2 nextpnr-e0517caf1aeb520733edb49f13b4ef61923d41f1.zip |
Refactor
Diffstat (limited to 'common/timing.h')
-rw-r--r-- | common/timing.h | 4 |
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 |