aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:43:53 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:43:53 -0700
commitd66edf522348d1475f1b65d79804f37a751274b3 (patch)
tree4b881ed0409bae10ac553dc5fe1771feb228712e /common/placer1.h
parent3d5dcda12c80175f5bfb2c2615de9cb5fadacb90 (diff)
parent65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (diff)
downloadnextpnr-d66edf522348d1475f1b65d79804f37a751274b3.tar.gz
nextpnr-d66edf522348d1475f1b65d79804f37a751274b3.tar.bz2
nextpnr-d66edf522348d1475f1b65d79804f37a751274b3.zip
Merge branch 'master' into slack_redist_freq
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