Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmoresco committed Oct 22, 2024
1 parent 997457a commit 0111d8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tut/src/Tutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1863,15 +1863,15 @@ Tutorial::placeMacrosCornerMinWL2()
first_time_ = false;
resetIoplacer();
logger_->report("Running IOPlacer");
pPlacer_->run(false);
pPlacer_->runHungarianMatching(false);
double wirelenght = getWeightedWL();
logger_->report("Current wWL = {}", wirelenght);
for (int i = 0; i < 3 ; i++){
logger_->report("Iteration {} starting", i);
unlockMacros();
placeMacrosCornerMinWL();
resetIoplacer();
pPlacer_->run(false);
pPlacer_->runHungarianMatching(false);
double wirelenght2 = getWeightedWL();
logger_->report("Current wWL = {}", wirelenght2);
if (wirelenght <= wirelenght2) {
Expand All @@ -1889,13 +1889,13 @@ Tutorial::placeMacrosCornerMaxWl2()
first_time_ = false;
resetIoplacer();
logger_->report("Running IOPlacer");
pPlacer_->run(false);
pPlacer_->runHungarianMatching(false);
double wirelenght = getWeightedWL();
for (int i = 0; i < 3 ; i++){
logger_->report("Iteration {} starting", i);
placeMacrosCornerMaxWl();
resetIoplacer();
pPlacer_->run(false);
pPlacer_->runHungarianMatching(false);
double wirelenght2 = getWeightedWL();
if (wirelenght < wirelenght2) {
logger_->report("Breaking the Cycle");
Expand Down

0 comments on commit 0111d8e

Please sign in to comment.