aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-04 08:32:42 +0200
committerGitHub <noreply@github.com>2018-08-04 08:32:42 +0200
commit65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (patch)
treed54ab5bb7926e7965cf23bb066c126bfeaa39565 /common/placer1.h
parentaffc6da1af7afccba1da8cdf3b9e57a01b1fb5e5 (diff)
parent2215ace1dcc9d16f3661c8f95dff56f5f582b6bc (diff)
downloadnextpnr-65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29.tar.gz
nextpnr-65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29.tar.bz2
nextpnr-65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29.zip
Merge pull request #23 from daveshah1/use_placeconstr
Making use of relative constraints
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