router: Enable clock skew analysis during routing

This commit is contained in:
Rowan Goemans 2024-09-19 15:24:45 +02:00 committed by myrtle
parent 8ee2c5612c
commit 5488cd994b
2 changed files with 8 additions and 1 deletions

View File

@ -124,6 +124,8 @@ struct Router1
Router1(Context *ctx, const Router1Cfg &cfg) : ctx(ctx), cfg(cfg), tmg(ctx)
{
timing_driven = ctx->setting<bool>("timing_driven");
tmg.setup_only = false;
tmg.with_clock_skew = true;
tmg.setup();
tmg.run();
}

View File

@ -102,7 +102,12 @@ struct Router2
Context *ctx;
Router2Cfg cfg;
Router2(Context *ctx, const Router2Cfg &cfg) : ctx(ctx), cfg(cfg), tmg(ctx) { tmg.setup(); }
Router2(Context *ctx, const Router2Cfg &cfg) : ctx(ctx), cfg(cfg), tmg(ctx)
{
tmg.setup_only = false;
tmg.with_clock_skew = true;
tmg.setup();
}
// Use 'udata' for fast net lookups and indexing
std::vector<NetInfo *> nets_by_udata;