aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/router1.h')
-rw-r--r--common/router1.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/router1.h b/common/router1.h
index 38552c58..a9e84b6b 100644
--- a/common/router1.h
+++ b/common/router1.h
@@ -24,7 +24,14 @@
NEXTPNR_NAMESPACE_BEGIN
-extern bool router1(Context *ctx);
+struct Router1Cfg
+{
+ int maxIterCnt = 200;
+ bool cleanupReroute = true;
+ bool fullCleanupReroute = true;
+};
+
+extern bool router1(Context *ctx, const Router1Cfg &cfg);
NEXTPNR_NAMESPACE_END