aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/placer_heap.h')
-rw-r--r--common/placer_heap.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/common/placer_heap.h b/common/placer_heap.h
index 5eb8a9ba..75c90c19 100644
--- a/common/placer_heap.h
+++ b/common/placer_heap.h
@@ -27,8 +27,21 @@
#ifndef PLACER_HEAP_H
#define PLACER_HEAP
#include "nextpnr.h"
+#include "settings.h"
NEXTPNR_NAMESPACE_BEGIN
-extern bool placer_heap(Context *ctx);
+
+struct PlacerHeapCfg : public Settings
+{
+ PlacerHeapCfg(Context *ctx);
+
+ float alpha;
+ float criticalityExponent;
+ float timingWeight;
+
+ std::unordered_set<IdString> ioBufTypes;
+};
+
+extern bool placer_heap(Context *ctx, PlacerHeapCfg cfg);
NEXTPNR_NAMESPACE_END
#endif \ No newline at end of file