From 012ddcd9a5109d94ef3420a15d01dfe4e6f8b462 Mon Sep 17 00:00:00 2001
From: Oleksandr <apivovarov@quicklogic.com>
Date: Thu, 26 Sep 2024 21:58:41 +0300
Subject: [PATCH] change --flat_routing true|false to -flat_routing on|off,
 such changes requested by a new vpr

---
 src/Compiler/CompilerOpenFPGA_ql.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Compiler/CompilerOpenFPGA_ql.cpp b/src/Compiler/CompilerOpenFPGA_ql.cpp
index 13f56554d..577c169ef 100644
--- a/src/Compiler/CompilerOpenFPGA_ql.cpp
+++ b/src/Compiler/CompilerOpenFPGA_ql.cpp
@@ -3153,13 +3153,13 @@ std::string CompilerOpenFPGA_ql::BaseVprCommand() {
   }
 
   if( QLSettingsManager::getStringValue("vpr", "route", "flat_routing") == "checked" ) {
-    vpr_options += std::string(" --flat_routing true");
+    vpr_options += std::string(" --flat_routing on");
     // if flat_routing is enabled, increase maximum router iterations to give flat router enough
     // time to converage to a legal routing solution
     vpr_options += std::string(" --max_router_iterations 100");
   }
   else if( QLSettingsManager::getStringValue("vpr", "route", "flat_routing") == "unchecked" ) {
-    vpr_options += std::string(" --flat_routing false");
+    vpr_options += std::string(" --flat_routing off");
   }
 
   // parse vpr analysis options