diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-08-18 19:25:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-18 19:25:19 +0200 |
commit | 26be6f9761bba9dff646c6b1d071b149bd26f950 (patch) | |
tree | 2d4f46e149cb7a96f91b801fd830458eea8f79ac /common/placer1.h | |
parent | 1e8e873c9fe4b0fdd69055b0251f9e71db3849c5 (diff) | |
parent | eaf824ca73241014a280b1bd787d8f83e772dd05 (diff) | |
download | nextpnr-26be6f9761bba9dff646c6b1d071b149bd26f950.tar.gz nextpnr-26be6f9761bba9dff646c6b1d071b149bd26f950.tar.bz2 nextpnr-26be6f9761bba9dff646c6b1d071b149bd26f950.zip |
Merge pull request #47 from YosysHQ/settings_propagate
Use settings for placer1 and router1
Diffstat (limited to 'common/placer1.h')
-rw-r--r-- | common/placer1.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/placer1.h b/common/placer1.h index d8f64b84..55db1fa5 100644 --- a/common/placer1.h +++ b/common/placer1.h @@ -20,12 +20,14 @@ #define PLACE_H #include "nextpnr.h" +#include "settings.h" NEXTPNR_NAMESPACE_BEGIN -struct Placer1Cfg +struct Placer1Cfg : public Settings { - float constraintWeight = 10; + Placer1Cfg(Context *ctx); + float constraintWeight; }; extern bool placer1(Context *ctx, Placer1Cfg cfg); |