Skip to content

Commit 8d0809e

Browse files
committed
Merge remote-tracking branch 'origin' into ant_prints_issue
Signed-off-by: luis201420 <luisemv@precisioninno.com>
2 parents 905ab9e + d69f08d commit 8d0809e

44 files changed

Lines changed: 2898 additions & 462 deletions

Some content is hidden

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

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ OPENROAD_LIBRARY_DEPS = [
104104
"//src/upf:ui",
105105
"//src/utl",
106106
"//src/utl:ui",
107-
"@edu_berkeley_abc//:abc-lib",
107+
"//third-party/abc:abc-lib",
108108
":ord",
109109
] + select(
110110
{

WORKSPACE

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ http_archive(
2525
# This essentially reads as a TODO list of what needs to be upstreamed to BCR
2626
load("@rules_hdl//dependency_support/com_github_quantamhd_lemon:com_github_quantamhd_lemon.bzl", "com_github_quantamhd_lemon")
2727
load("@rules_hdl//dependency_support/com_github_westes_flex:com_github_westes_flex.bzl", "com_github_westes_flex")
28-
load("@rules_hdl//dependency_support/edu_berkeley_abc:edu_berkeley_abc.bzl", "edu_berkeley_abc")
2928
load("@rules_hdl//dependency_support/net_invisible_island_ncurses:net_invisible_island_ncurses.bzl", "net_invisible_island_ncurses")
3029
load("@rules_hdl//dependency_support/net_zlib:net_zlib.bzl", "net_zlib")
3130
load("@rules_hdl//dependency_support/org_gnu_bison:org_gnu_bison.bzl", "org_gnu_bison")
@@ -37,8 +36,6 @@ load("@rules_hdl//dependency_support/tk_tcl:tk_tcl.bzl", "tk_tcl")
3736
# Direct dependencies needed in Openroad
3837
com_github_quantamhd_lemon()
3938

40-
edu_berkeley_abc()
41-
4239
tk_tcl()
4340

4441
# Swig exists in BCR, but in a newer version where we need to test how to make

src/OpenRoad.i

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ set_debug_level(const char* tool_name,
417417
if (id == utl::UKN) {
418418
logger->error(utl::ORD, 15, "Unknown tool name {}", tool_name);
419419
}
420+
if (id == utl::STA) {
421+
getSta()->setDebugLevel(group, level);
422+
}
420423
logger->setDebugLevel(id, group, level);
421424
}
422425

src/cgt/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ cc_library(
4040
"//src/odb",
4141
"//src/sta:opensta_lib",
4242
"//src/utl",
43+
"//third-party/abc:abc-lib",
4344
"@boost.stacktrace",
44-
"@edu_berkeley_abc//:abc-lib",
4545
"@tk_tcl//:tcl",
4646
],
4747
)

src/cut/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ cc_library(
3737
"//src/rsz",
3838
"//src/sta:opensta_lib",
3939
"//src/utl",
40+
"//third-party/abc:abc-lib",
4041
"@boost.bind",
4142
"@boost.config",
4243
"@boost.fusion",
4344
"@boost.lambda",
4445
"@boost.optional",
4546
"@boost.phoenix",
4647
"@boost.spirit",
47-
"@edu_berkeley_abc//:abc-lib",
4848
],
4949
)

src/cut/test/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cc_test(
3737
"//src/sta:opensta_lib",
3838
"//src/tst",
3939
"//src/utl",
40-
"@edu_berkeley_abc//:abc-lib",
40+
"//third-party/abc:abc-lib",
4141
"@googletest//:gtest",
4242
"@googletest//:gtest_main",
4343
],

src/dbSta/include/db_sta/dbSta.hh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ class dbSta : public Sta, public odb::dbDatabaseObserver
208208
bool verbose,
209209
const char* file_name,
210210
const char* stage_name);
211+
void countInstancesByType(odb::dbModule* module,
212+
InstTypeMap& inst_type_stats,
213+
std::vector<dbInst*>& insts);
214+
void countPhysicalOnlyInstancesByType(InstTypeMap& inst_type_stats,
215+
std::vector<dbInst*>& insts);
216+
void addInstanceByTypeInstance(odb::dbInst* inst,
217+
InstTypeMap& inst_type_stats);
211218

212219
void reportTimingHistogram(int num_bins, const MinMax* min_max) const;
213220

@@ -230,14 +237,6 @@ class dbSta : public Sta, public odb::dbDatabaseObserver
230237
Cell* to_cell,
231238
LibertyCell* to_lib_cell) override;
232239

233-
void countInstancesByType(odb::dbModule* module,
234-
InstTypeMap& inst_type_stats,
235-
std::vector<dbInst*>& insts);
236-
void countPhysicalOnlyInstancesByType(InstTypeMap& inst_type_stats,
237-
std::vector<dbInst*>& insts);
238-
void addInstanceByTypeInstance(odb::dbInst* inst,
239-
InstTypeMap& inst_type_stats);
240-
241240
dbDatabase* db_ = nullptr;
242241
Logger* logger_ = nullptr;
243242

src/gpl/src/mbff.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,6 +2483,7 @@ void MBFF::ReadPaths()
24832483
20,
24842484
num_paths_,
24852485
true,
2486+
true,
24862487
-sta::INF,
24872488
sta::INF,
24882489
true,

src/gui/src/staGuiInterface.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ void STAGuiInterface::updatePathGroups()
969969
search->makePathGroups(1, /* group count */
970970
1, /* endpoint count*/
971971
false, /* unique pins */
972+
false, /* unique edges */
972973
-sta::INF, /* min slack */
973974
sta::INF, /* max slack*/
974975
nullptr, /* group names */
@@ -1135,7 +1136,8 @@ TimingPathList STAGuiInterface::getTimingPaths(
11351136
// group_count, endpoint_count, unique_pins
11361137
max_path_count_,
11371138
one_path_per_endpoint_ ? 1 : max_path_count_,
1138-
true,
1139+
true, // unique pins
1140+
true, // unique edges
11391141
-sta::INF,
11401142
sta::INF, // slack_min, slack_max,
11411143
true, // sort_by_slack

src/ifp/include/ifp/InitFloorplan.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class InitFloorplan
126126
int y_offset,
127127
int y_pitch,
128128
int first_last_pitch);
129+
void resetTracks() const;
129130

130131
odb::dbSite* findSite(const char* site_name);
131132

0 commit comments

Comments
 (0)