diff options
author | gatecat <gatecat@ds0.me> | 2021-03-09 08:48:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 08:48:12 +0000 |
commit | 326b34887cdf82dc834382f4bf35d120bd4173dd (patch) | |
tree | bb346955c661bf96b51e309a3f1030c27ac1bb07 /nexus | |
parent | 0f17e80eef2a4c0e417b65efa559481f83831f00 (diff) | |
parent | 8a4bf3a7805080db2c8f2e797a0f12aad7c99f5d (diff) | |
download | nextpnr-326b34887cdf82dc834382f4bf35d120bd4173dd.tar.gz nextpnr-326b34887cdf82dc834382f4bf35d120bd4173dd.tar.bz2 nextpnr-326b34887cdf82dc834382f4bf35d120bd4173dd.zip |
Merge pull request #609 from YosysHQ/gatecat/sta-v2
Use new timing engine for criticality
Diffstat (limited to 'nexus')
-rw-r--r-- | nexus/post_place.cc | 6 |
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(); } |