From 89a9549a873d371169bfc829545eea7f36f2b07e Mon Sep 17 00:00:00 2001 From: Rowan Goemans Date: Thu, 19 Sep 2024 15:24:45 +0200 Subject: [PATCH] router: Enable clock skew analysis during routing --- common/route/router1.cc | 2 ++ common/route/router2.cc | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/common/route/router1.cc b/common/route/router1.cc index a3ebdb60..510065f6 100644 --- a/common/route/router1.cc +++ b/common/route/router1.cc @@ -124,6 +124,8 @@ struct Router1 Router1(Context *ctx, const Router1Cfg &cfg) : ctx(ctx), cfg(cfg), tmg(ctx) { timing_driven = ctx->setting("timing_driven"); + tmg.setup_only = false; + tmg.with_clock_skew = true; tmg.setup(); tmg.run(); } diff --git a/common/route/router2.cc b/common/route/router2.cc index 8dcec6e9..53596c24 100644 --- a/common/route/router2.cc +++ b/common/route/router2.cc @@ -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 nets_by_udata;