aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/post_place.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/post_place.cc')
-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();
}