tmg: Fix argument order in run method
Router 2 expects "update_route_delays" to be the first argument to `tmg.run`.
This commit is contained in:
parent
8e84006ee7
commit
38d2a4b844
@ -45,11 +45,11 @@ void TimingAnalyser::setup(bool update_net_timings, bool update_histogram, bool
|
|||||||
topo_sort();
|
topo_sort();
|
||||||
setup_port_domains();
|
setup_port_domains();
|
||||||
identify_related_domains();
|
identify_related_domains();
|
||||||
run(update_net_timings, update_histogram, update_crit_paths, true);
|
run(true, update_net_timings, update_histogram, update_crit_paths);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TimingAnalyser::run(bool update_net_timings, bool update_histogram, bool update_crit_paths,
|
void TimingAnalyser::run(bool update_route_delays, bool update_net_timings, bool update_histogram,
|
||||||
bool update_route_delays)
|
bool update_crit_paths)
|
||||||
{
|
{
|
||||||
reset_times();
|
reset_times();
|
||||||
if (update_route_delays)
|
if (update_route_delays)
|
||||||
|
@ -77,8 +77,8 @@ struct TimingAnalyser
|
|||||||
TimingAnalyser(Context *ctx);
|
TimingAnalyser(Context *ctx);
|
||||||
|
|
||||||
void setup(bool update_net_timings = false, bool update_histogram = false, bool update_crit_paths = false);
|
void setup(bool update_net_timings = false, bool update_histogram = false, bool update_crit_paths = false);
|
||||||
void run(bool update_net_timings = false, bool update_histogram = false, bool update_crit_paths = false,
|
void run(bool update_route_delays = true, bool update_net_timings = false, bool update_histogram = false,
|
||||||
bool update_route_delays = true);
|
bool update_crit_paths = false);
|
||||||
|
|
||||||
// This is used when routers etc are not actually binding detailed routing (due to congestion or an abstracted
|
// 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
|
// model), but want to re-run STA with their own calculated delays
|
||||||
|
Loading…
Reference in New Issue
Block a user