Skip to content

Commit a02d71f

Browse files
Merge pull request The-OpenROAD-Project#7184 from osamahammad21/dpl-dpo-merge
Merge DPL and DPO
2 parents 52d795d + 7d4a430 commit a02d71f

File tree

160 files changed

+3254
-5113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+3254
-5113
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ CheckOptions:
6565

6666
# All modules but sta
6767
# Exclude build as there is too much noise from swig generated code
68-
HeaderFilterRegex: "(?!build/.*)/(ant|cts|dbSta|dft|dpl|dpo|drt|dst|fin|gpl|grt|gui|ifp|mpl|mpl2|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*"
68+
HeaderFilterRegex: "(?!build/.*)/(ant|cts|dbSta|dft|dpl|drt|dst|fin|gpl|grt|gui|ifp|mpl|mpl2|odb|ord|pad|par|pdn|ppl|psm|rcx|rmp|rsz|stt|tap|upf|utl)/.*"
6969

7070
# Not currently handling identifier naming
7171
# WarningsAsErrors: "*"

BUILD.bazel

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,6 @@ tcl_encode(
444444
namespace = "stt",
445445
)
446446

447-
tcl_encode(
448-
name = "dpo_tcl",
449-
srcs = [
450-
"src/dpo/src/Optdp.tcl",
451-
],
452-
char_array_name = "dpo_tcl_inits",
453-
namespace = "dpo",
454-
)
455-
456447
tcl_encode(
457448
name = "upf_tcl",
458449
srcs = [
@@ -805,20 +796,6 @@ tcl_wrap_cc(
805796
],
806797
)
807798

808-
tcl_wrap_cc(
809-
name = "dpo_swig",
810-
srcs = [
811-
"src/dpo/src/Optdp.i",
812-
":error_swig",
813-
],
814-
module = "dpo",
815-
namespace_prefix = "dpo",
816-
root_swig_src = "src/dpo/src/Optdp.i",
817-
swig_includes = [
818-
"src/dpo/src",
819-
],
820-
)
821-
822799
tcl_wrap_cc(
823800
name = "dft_swig",
824801
srcs = [

bazel/build_helper.bzl

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ OPENROAD_BINARY_SRCS_WITHOUT_MAIN = [
8686
#Distributed
8787
":dst_swig",
8888
":dst_tcl",
89-
#Dpo
90-
":dpo_swig",
91-
":dpo_tcl",
9289
#Pad
9390
":pad_swig",
9491
":pad_tcl",
@@ -151,8 +148,6 @@ OPENROAD_LIBRARY_HDRS_INCLUDE = [
151148
"src/rmp/include/rmp/*.h",
152149
#Distributed
153150
"src/dst/include/dst/*.h",
154-
#Dpo
155-
"src/dpo/include/dpo/*.h",
156151
#pad
157152
"src/pad/include/pad/*.h",
158153
#dft
@@ -243,9 +238,6 @@ OPENROAD_LIBRARY_INCLUDES = [
243238
#Distributed
244239
"src/dst/include",
245240
"src/dst/include/dst",
246-
#Dpo
247-
"src/dpo/include",
248-
"src/dpo/include/dpo",
249241
#pad
250242
"src/pad/include",
251243
#utl
@@ -291,7 +283,11 @@ OPENROAD_LIBRARY_SRCS_INCLUDE = [
291283
"src/rsz/src/*.h",
292284
#OpenDP
293285
"src/dpl/src/*.cpp",
286+
"src/dpl/src/*.cxx",
294287
"src/dpl/src/*.h",
288+
"src/dpl/src/**/*.h",
289+
"src/dpl/src/**/*.cpp",
290+
"src/dpl/src/**/*.cxx",
295291
#finale
296292
"src/fin/src/*.cpp",
297293
"src/fin/src/*.h",
@@ -345,10 +341,6 @@ OPENROAD_LIBRARY_SRCS_INCLUDE = [
345341
#Distributed
346342
"src/dst/src/*.cc",
347343
"src/dst/src/*.h",
348-
#Dpo
349-
"src/dpo/src/*.cpp",
350-
"src/dpo/src/*.cxx",
351-
"src/dpo/src/*.h",
352344
#pad
353345
"src/pad/src/*.cpp",
354346
"src/pad/src/*.h",

docs/src/scripts/md_roff_compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"dbSta",
5353
"dft",
5454
"dpl",
55-
"dpo",
5655
"drt",
5756
"dst",
5857
"fin",

include/ord/Design.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ namespace drt {
6767
class TritonRoute;
6868
}
6969

70-
namespace dpo {
71-
class Optdp;
72-
}
73-
7470
namespace fin {
7571
class Finale;
7672
}
@@ -160,7 +156,6 @@ class Design
160156
cts::TritonCTS* getTritonCts();
161157
dft::Dft* getDft();
162158
dpl::Opendp* getOpendp();
163-
dpo::Optdp* getOptdp();
164159
drt::TritonRoute* getTritonRoute();
165160
fin::Finale* getFinale();
166161
gpl::Replace* getReplace();

include/ord/OpenRoad.hh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ namespace dpl {
5555
class Opendp;
5656
}
5757

58-
namespace dpo {
59-
class Optdp;
60-
}
61-
6258
namespace fin {
6359
class Finale;
6460
}
@@ -144,7 +140,6 @@ class OpenRoad
144140
cts::TritonCTS* getTritonCts() { return tritonCts_; }
145141
dbVerilogNetwork* getVerilogNetwork() { return verilog_network_; }
146142
dpl::Opendp* getOpendp() { return opendp_; }
147-
dpo::Optdp* getOptdp() { return optdp_; }
148143
fin::Finale* getFinale() { return finale_; }
149144
tap::Tapcell* getTapcell() { return tapcell_; }
150145
mpl::MacroPlacer* getMacroPlacer() { return macro_placer_; }
@@ -234,7 +229,6 @@ class OpenRoad
234229
rsz::Resizer* resizer_ = nullptr;
235230
ppl::IOPlacer* ioPlacer_ = nullptr;
236231
dpl::Opendp* opendp_ = nullptr;
237-
dpo::Optdp* optdp_ = nullptr;
238232
fin::Finale* finale_ = nullptr;
239233
mpl::MacroPlacer* macro_placer_ = nullptr;
240234
grt::GlobalRouter* global_router_ = nullptr;

src/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ add_subdirectory(rsz)
251251
add_subdirectory(stt)
252252
add_subdirectory(gpl)
253253
add_subdirectory(dpl)
254-
add_subdirectory(dpo)
255254
add_subdirectory(fin)
256255
add_subdirectory(ppl)
257256
add_subdirectory(rmp)
@@ -307,7 +306,6 @@ target_link_libraries(openroad
307306
ord
308307
gpl
309308
dpl
310-
dpo
311309
fin
312310
rsz
313311
ppl
@@ -398,7 +396,6 @@ if (Python3_FOUND AND BUILD_PYTHON)
398396
tap_py
399397
cts_py
400398
drt_py
401-
dpo_py
402399
fin_py
403400
rcx_py
404401
rmp_py

src/Design.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,6 @@ drt::TritonRoute* Design::getTritonRoute()
273273
return getOpenRoad()->getTritonRoute();
274274
}
275275

276-
dpo::Optdp* Design::getOptdp()
277-
{
278-
return getOpenRoad()->getOptdp();
279-
}
280-
281276
fin::Finale* Design::getFinale()
282277
{
283278
return getOpenRoad()->getFinale();

src/Main.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ using std::string;
6262
X(tap) \
6363
X(cts) \
6464
X(drt) \
65-
X(dpo) \
6665
X(fin) \
6766
X(par) \
6867
X(rcx) \

src/OpenRoad.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "db_sta/dbSta.hh"
2424
#include "dft/MakeDft.hh"
2525
#include "dpl/MakeOpendp.h"
26-
#include "dpo/MakeOptdp.h"
2726
#include "dst/MakeDistributed.h"
2827
#include "fin/MakeFinale.h"
2928
#include "gpl/MakeReplace.h"
@@ -93,7 +92,6 @@ OpenRoad::~OpenRoad()
9392
deleteIoplacer(ioPlacer_);
9493
deleteResizer(resizer_);
9594
deleteOpendp(opendp_);
96-
deleteOptdp(optdp_);
9795
deleteGlobalRouter(global_router_);
9896
deleteRestructure(restructure_);
9997
deleteTritonCts(tritonCts_);
@@ -160,7 +158,6 @@ void OpenRoad::init(Tcl_Interp* tcl_interp,
160158
ioPlacer_ = makeIoplacer();
161159
resizer_ = makeResizer();
162160
opendp_ = makeOpendp();
163-
optdp_ = makeOptdp();
164161
finale_ = makeFinale();
165162
global_router_ = makeGlobalRouter();
166163
restructure_ = makeRestructure();
@@ -196,7 +193,6 @@ void OpenRoad::init(Tcl_Interp* tcl_interp,
196193
initIoplacer(this);
197194
initReplace(this);
198195
initOpendp(this);
199-
initOptdp(this);
200196
initFinale(this);
201197
initGlobalRouter(this);
202198
initTritonCts(this);

0 commit comments

Comments
 (0)