aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-04 10:32:07 +0200
committerClifford Wolf <clifford@clifford.at>2018-08-04 10:32:07 +0200
commit96291f17aac62f9b58370c67e4eeff71adc848c1 (patch)
treea957f13f0dacfa4ac0066f2f872ed4d06dba7e61 /common/placer1.h
parent8d372b86f3aed86c7a8ef7869e92335bd965c2ae (diff)
parentf5a1b93f0e9348437ece7fb7d46ac69af98536d0 (diff)
downloadnextpnr-96291f17aac62f9b58370c67e4eeff71adc848c1.tar.gz
nextpnr-96291f17aac62f9b58370c67e4eeff71adc848c1.tar.bz2
nextpnr-96291f17aac62f9b58370c67e4eeff71adc848c1.zip
Merge branch 'master' of github.com:YosysHQ/nextpnr into lutperm
Diffstat (limited to 'common/placer1.h')
-rw-r--r--common/placer1.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/common/placer1.h b/common/placer1.h
index 477fae56..d8f64b84 100644
--- a/common/placer1.h
+++ b/common/placer1.h
@@ -23,7 +23,12 @@
NEXTPNR_NAMESPACE_BEGIN
-extern bool placer1(Context *ctx);
+struct Placer1Cfg
+{
+ float constraintWeight = 10;
+};
+
+extern bool placer1(Context *ctx, Placer1Cfg cfg);
NEXTPNR_NAMESPACE_END