aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-11-20 10:11:21 +0000
committerGitHub <noreply@github.com>2018-11-20 10:11:21 +0000
commit0fb7735e45de4c9564c8e691e365034fb81ac7a8 (patch)
treeeae5bf5a128a99043d63d5156fbc43cb2537375b /common/placer1.h
parent04c5ed45bb6d21f88a8faa29600f53e13d6b3f0d (diff)
parentd6fd0e7e5b3d0d7eef4013c1b0547a3066b0a485 (diff)
downloadnextpnr-0fb7735e45de4c9564c8e691e365034fb81ac7a8.tar.gz
nextpnr-0fb7735e45de4c9564c8e691e365034fb81ac7a8.tar.bz2
nextpnr-0fb7735e45de4c9564c8e691e365034fb81ac7a8.zip
Merge pull request #130 from smunaut/issue_127
common/placer1: In random pick, only use grid if there is more than 64 BELs
Diffstat (limited to 'common/placer1.h')
-rw-r--r--common/placer1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/placer1.h b/common/placer1.h
index 55db1fa5..7305f4b1 100644
--- a/common/placer1.h
+++ b/common/placer1.h
@@ -28,6 +28,7 @@ struct Placer1Cfg : public Settings
{
Placer1Cfg(Context *ctx);
float constraintWeight;
+ int minBelsForGridPick;
};
extern bool placer1(Context *ctx, Placer1Cfg cfg);