aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-02-13 11:39:31 +0000
committerGitHub <noreply@github.com>2020-02-13 11:39:31 +0000
commite0b4f0ee63072f0e5aa86b4fa9ca1f488ae57790 (patch)
tree6fe3cd378c7315ad66d85711c3c42b814d1f64cc /common/placer1.h
parentbb8af6ff8bb836b1baf851095c48aadd6b451aa3 (diff)
parent2c7d2f9e0c850590f306139a4eaa9135b0f2a254 (diff)
downloadnextpnr-e0b4f0ee63072f0e5aa86b4fa9ca1f488ae57790.tar.gz
nextpnr-e0b4f0ee63072f0e5aa86b4fa9ca1f488ae57790.tar.bz2
nextpnr-e0b4f0ee63072f0e5aa86b4fa9ca1f488ae57790.zip
Merge pull request #393 from YosysHQ/dave/xilinx-place-backport
Backporting some placer changes from nextpnr-xilinx
Diffstat (limited to 'common/placer1.h')
-rw-r--r--common/placer1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/placer1.h b/common/placer1.h
index 1356db3e..cf66151c 100644
--- a/common/placer1.h
+++ b/common/placer1.h
@@ -27,13 +27,14 @@ NEXTPNR_NAMESPACE_BEGIN
struct Placer1Cfg
{
Placer1Cfg(Context *ctx);
- float constraintWeight;
+ float constraintWeight, netShareWeight;
int minBelsForGridPick;
bool budgetBased;
float startTemp;
int timingFanoutThresh;
bool timing_driven;
int slack_redist_iter;
+ int hpwl_scale_x, hpwl_scale_y;
};
extern bool placer1(Context *ctx, Placer1Cfg cfg);