aboutsummaryrefslogtreecommitdiffstats
path: root/common/place/parallel_refine.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-04-17 20:33:15 +0100
committerGitHub <noreply@github.com>2022-04-17 20:33:15 +0100
commitd76a6093ae68d094d6fbf4f1f2c4e7f69f0818d2 (patch)
tree4a03c9c9900f5f266bc0f199fea842b034a349b0 /common/place/parallel_refine.h
parent895aa01e391445ad8bdcfc40d091cda2f783cbb1 (diff)
parent61b3e2e1ffbf0c0438c734a04d9d86d75668677e (diff)
downloadnextpnr-d76a6093ae68d094d6fbf4f1f2c4e7f69f0818d2.tar.gz
nextpnr-d76a6093ae68d094d6fbf4f1f2c4e7f69f0818d2.tar.bz2
nextpnr-d76a6093ae68d094d6fbf4f1f2c4e7f69f0818d2.zip
Merge pull request #976 from YosysHQ/gatecat/dp-rework
Move general parallel detail place code out of parallel_refine
Diffstat (limited to 'common/place/parallel_refine.h')
-rw-r--r--common/place/parallel_refine.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/place/parallel_refine.h b/common/place/parallel_refine.h
index 556317cd..a6c8b469 100644
--- a/common/place/parallel_refine.h
+++ b/common/place/parallel_refine.h
@@ -20,18 +20,16 @@
#ifndef PARALLEL_REFINE_H
#define PARALLEL_REFINE_H
+#include "detail_place_cfg.h"
#include "nextpnr.h"
NEXTPNR_NAMESPACE_BEGIN
-struct ParallelRefineCfg
+struct ParallelRefineCfg : DetailPlaceCfg
{
ParallelRefineCfg(Context *ctx);
- bool timing_driven;
int threads;
- int hpwl_scale_x, hpwl_scale_y;
double lambda = 0.5f;
- float crit_exp = 8;
int inner_iters = 15;
int min_thread_size = 500;
};