Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
path = src/replace
url = https://github.com/The-OpenROAD-Project/RePlAce.git
branch = openroad
[submodule "src/ioPlacer"]
path = src/ioPlacer
url = https://github.com/The-OpenROAD-Project/ioPlacer.git
[submodule "src/opendp"]
path = src/opendp
url = https://github.com/The-OpenROAD-Project/OpenDP.git
Expand Down
5 changes: 5 additions & 0 deletions include/openroad/OpenRoad.hh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ class dbNetwork;
class Resizer;
}

namespace ioPlacer {
class IOPlacementKernel;
}

namespace FastRoute {
class FastRouteKernel;
}
Expand Down Expand Up @@ -82,6 +86,7 @@ private:
dbVerilogNetwork *verilog_network_;
sta::dbSta *sta_;
sta::Resizer *resizer_;
ioPlacer::IOPlacementKernel *ioPlacer_;
opendp::opendp_external *opendp_;
FastRoute::FastRouteKernel *fastRoute_;

Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ set(OPENDB_WRAP ${CMAKE_CURRENT_BINARY_DIR}/OpenDB_wrap.cc)
set(RESIZER_HOME ${PROJECT_SOURCE_DIR}/src/resizer)
set(OPENDP_HOME ${PROJECT_SOURCE_DIR}/src/opendp)

set(IOPLACER_HOME ${PROJECT_SOURCE_DIR}/src/ioPlacer)

set(FASTROUTE_HOME ${PROJECT_SOURCE_DIR}/src/FastRoute4-lefdef)

set(OPENROAD_WRAP ${CMAKE_CURRENT_BINARY_DIR}/OpenRoad_wrap.cc)
Expand Down Expand Up @@ -70,6 +72,7 @@ add_custom_command(OUTPUT ${OPENROAD_WRAP}
DEPENDS OpenRoad.i InitFloorplan.i
)


################################################################
#
# Library dependencies
Expand Down Expand Up @@ -160,6 +163,7 @@ add_subdirectory(resizer)
add_subdirectory(flute3)
add_subdirectory(replace)
add_subdirectory(opendp)
add_subdirectory(ioPlacer)
add_subdirectory(FastRoute4-lefdef)

################################################################
Expand All @@ -182,6 +186,7 @@ target_link_libraries(openroad
replace
opendp
resizer
ioPlacer
flute
dbSta
OpenSTA
Expand Down
6 changes: 6 additions & 0 deletions src/OpenRoad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
#include "openroad/InitOpenRoad.hh"
#include "InitFlute.hh"


#include "ioPlacer/src/MakeIoplacer.h"

#include "resizer/MakeResizer.hh"
#include "opendp/MakeOpendp.h"
#include "replace/src/MakeReplace.h"
Expand All @@ -43,6 +46,7 @@ extern "C" {
extern int Openroad_Init(Tcl_Interp *interp);
extern int Opendbtcl_Init(Tcl_Interp *interp);
extern int Replace_Init(Tcl_Interp *interp);
extern int Ioplacer_Init(Tcl_Interp *interp);
extern int Fastroute_Init(Tcl_Interp *interp);
}

Expand Down Expand Up @@ -96,6 +100,7 @@ OpenRoad::init(Tcl_Interp *tcl_interp,
db_ = dbDatabase::create();
sta_ = makeDbSta();
verilog_network_ = makeDbVerilogNetwork();
ioPlacer_ = (ioPlacer::IOPlacementKernel*) makeIoplacer();
resizer_ = makeResizer();
opendp_ = makeOpendp();
fastRoute_ = (FastRoute::FastRouteKernel*) makeFastRoute();
Expand All @@ -109,6 +114,7 @@ OpenRoad::init(Tcl_Interp *tcl_interp,
initDbSta(this);
initResizer(this);
initDbVerilogNetwork(this);
initIoplacer(this);
initFlute(prog_arg);
initReplace(this);
initOpendp(this);
Expand Down
1 change: 1 addition & 0 deletions src/ioPlacer
Submodule ioPlacer added at 0a3a28