Skip to content

Commit

Permalink
change --flat_routing true|false to -flat_routing on|off, such change…
Browse files Browse the repository at this point in the history
…s requested by a new vpr
  • Loading branch information
w0lek committed Sep 26, 2024
1 parent cd656b8 commit 012ddcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Compiler/CompilerOpenFPGA_ql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 012ddcd

Please sign in to comment.