Skip to content

Commit b849e7f

Browse files
authored
Merge pull request #7222 from gadfort/rm-psm-libs
psm: remove dpl and pad as dependencies for psm
2 parents 12bfc8e + 2b2ed26 commit b849e7f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/psm/include/psm/pdnsim.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#include <optional>
99
#include <string>
1010

11-
#include "dpl/Opendp.h"
1211
#include "odb/dbBlockCallBackObj.h"
12+
#include "odb/dbCompare.h"
1313

1414
namespace odb {
1515
class dbDatabase;
@@ -28,6 +28,9 @@ class Logger;
2828
namespace rsz {
2929
class Resizer;
3030
}
31+
namespace dpl {
32+
class Opendp;
33+
}
3134

3235
namespace psm {
3336
class IRDropDataSource;

src/psm/src/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ target_link_libraries(psm
4040
rsz_lib
4141
Eigen3::Eigen
4242
gui
43-
pad
4443
Boost::boost
4544
)
4645

@@ -70,7 +69,6 @@ if (Python3_FOUND AND BUILD_PYTHON)
7069
PUBLIC
7170
odb
7271
psm
73-
dpl_lib
7472
)
7573

7674
endif()

src/psm/src/pdnsim.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "db_sta/dbNetwork.hh"
1313
#include "db_sta/dbSta.hh"
14+
#include "dpl/Opendp.h"
1415
#include "heatMap.h"
1516
#include "ir_network.h"
1617
#include "ir_solver.h"
@@ -257,6 +258,7 @@ void PDNSim::addDecapMaster(dbMaster* decap_master, double decap_cap)
257258
{
258259
opendp_->addDecapMaster(decap_master, decap_cap);
259260
}
261+
260262
// Return the lowest layer of db_net route
261263
odb::dbTechLayer* PDNSim::getLowestLayer(odb::dbNet* db_net)
262264
{

0 commit comments

Comments
 (0)