aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
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 /ice40/arch.cc
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 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index eff1d9b9..3934e8f0 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -659,7 +659,12 @@ delay_t Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, de
// -----------------------------------------------------------------------
-bool Arch::place() { return placer1(getCtx()); }
+bool Arch::place()
+{
+ Placer1Cfg cfg;
+ cfg.constraintWeight = placer_constraintWeight;
+ return placer1(getCtx(), cfg);
+}
bool Arch::route()
{