aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/router1.h')
-rw-r--r--common/router1.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/common/router1.h b/common/router1.h
index 0380adc2..a184cbe7 100644
--- a/common/router1.h
+++ b/common/router1.h
@@ -21,15 +21,18 @@
#define ROUTER1_H
#include "nextpnr.h"
+#include "settings.h"
NEXTPNR_NAMESPACE_BEGIN
-struct Router1Cfg
+struct Router1Cfg : Settings
{
- int maxIterCnt = 200;
- bool cleanupReroute = true;
- bool fullCleanupReroute = true;
- bool useEstimate = true;
+ Router1Cfg(Context *ctx);
+
+ int maxIterCnt;
+ bool cleanupReroute;
+ bool fullCleanupReroute;
+ bool useEstimate;
};
extern bool router1(Context *ctx, const Router1Cfg &cfg);