Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#3989 from QuantamHD/remove_an…
Browse files Browse the repository at this point in the history
…nealing

mpl: Fixes missing implementation of Annealer
  • Loading branch information
maliberty authored Sep 14, 2023
2 parents 8d31ba8 + 53b650d commit a70c512
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 142 deletions.
137 changes: 0 additions & 137 deletions src/mpl/src/ParquetFP/src/Annealer.h

This file was deleted.

9 changes: 4 additions & 5 deletions src/mpl/src/ParquetFP/src/SolveMulti.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

#include <memory>

#include "Annealer.h"
#include "ClusterDB.h"
#include "CommandLine.h"
#include "FPcommon.h"
Expand Down Expand Up @@ -143,11 +142,11 @@ void SolveMulti::go(void)
if (_params->FPrep == "BTree") {
annealer = new BTreeAreaWireAnnealer(_params, _newDB);
} else if (_params->FPrep == "SeqPair") {
annealer = new Annealer(_params, _newDB);
annealer = new BTreeAreaWireAnnealer(_params, _newDB);
} else if (_params->FPrep == "Best") {
if (_newDB->getNumNodes() < 100 && _params->maxWS > 10.) {
_params->FPrep = "SeqPair";
annealer = new Annealer(_params, _newDB);
annealer = new BTreeAreaWireAnnealer(_params, _newDB);
} else {
_params->FPrep = "BTree";
annealer = new BTreeAreaWireAnnealer(_params, _newDB);
Expand Down Expand Up @@ -358,10 +357,10 @@ void SolveMulti::placeSubBlocks(void)
if (params->FPrep == "BTree") {
annealer.reset(new BTreeAreaWireAnnealer(params, tempDB));
} else if (params->FPrep == "SeqPair") {
annealer.reset(new Annealer(params, tempDB));
annealer.reset(new BTreeAreaWireAnnealer(params, tempDB));
} else if (_params->FPrep == "Best") {
if (tempDB->getNumNodes() < 100 && _params->maxWS > 10.) {
annealer.reset(new Annealer(_params, tempDB));
annealer.reset(new BTreeAreaWireAnnealer(_params, tempDB));
} else {
annealer.reset(new BTreeAreaWireAnnealer(_params, tempDB));
}
Expand Down

0 comments on commit a70c512

Please sign in to comment.