diff options
Diffstat (limited to 'common/timing.h')
-rw-r--r-- | common/timing.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/timing.h b/common/timing.h index c5799b41..6548757b 100644 --- a/common/timing.h +++ b/common/timing.h @@ -97,9 +97,13 @@ struct TimingAnalyser public: TimingAnalyser(Context *ctx) : ctx(ctx){}; void setup(); - void run(); + void run(bool update_route_delays = true); void print_report(); + // This is used when routers etc are not actually binding detailed routing (due to congestion or an abstracted + // model), but want to re-run STA with their own calculated delays + void set_route_delay(CellPortKey port, DelayPair value); + float get_criticality(CellPortKey port) const { return ports.at(port).worst_crit; } float get_setup_slack(CellPortKey port) const { return ports.at(port).worst_setup_slack; } float get_domain_setup_slack(CellPortKey port) const |