aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-04 11:29:11 +0000
committergatecat <gatecat@ds0.me>2021-03-04 11:29:11 +0000
commit1ff2023f32320ffe8bf588d96a2cb8427ccbc618 (patch)
treefde50233b3056a44a1c340434f05565a93c7a75e /nexus
parent5f6aaa2475774af2b0bd70f0bc013c975bcfe844 (diff)
downloadnextpnr-1ff2023f32320ffe8bf588d96a2cb8427ccbc618.tar.gz
nextpnr-1ff2023f32320ffe8bf588d96a2cb8427ccbc618.tar.bz2
nextpnr-1ff2023f32320ffe8bf588d96a2cb8427ccbc618.zip
timing: Replace all users of criticality with new engine
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r--nexus/post_place.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/nexus/post_place.cc b/nexus/post_place.cc
index 65676188..b712aea3 100644
--- a/nexus/post_place.cc
+++ b/nexus/post_place.cc
@@ -28,9 +28,9 @@ NEXTPNR_NAMESPACE_BEGIN
struct NexusPostPlaceOpt
{
Context *ctx;
- NetCriticalityMap net_crit;
+ TimingAnalyser tmg;
- NexusPostPlaceOpt(Context *ctx) : ctx(ctx){};
+ NexusPostPlaceOpt(Context *ctx) : ctx(ctx), tmg(ctx){};
inline bool is_constrained(CellInfo *cell)
{
@@ -139,7 +139,7 @@ struct NexusPostPlaceOpt
void operator()()
{
- get_criticalities(ctx, &net_crit);
+ tmg.setup();
opt_lutffs();
}