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
12 changes: 8 additions & 4 deletions src/Silisizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,19 @@ int Silisizer::silisize(const char *workdir) {
for (int cur_iter = 0; true; cur_iter++) {
// Run timer to get violating paths (one per endpoint)
std::cout << "Running timer..." << std::endl;

sta::StringSeq group_names; // empty = report all path groups

sta::PathEndSeq ends = sta_->findPathEnds(
/*exception from*/ nullptr, /*exception through*/ nullptr,
/*exception to*/ nullptr, /*unconstrained*/ false, /*corner*/ nullptr,
/*exception to*/ nullptr, /*unconstrained*/ false, /*scenes*/ sta_->scenes(),
/*min_max*/ sta::MinMaxAll::max(),
/*group_count*/ 10000, /*endpoint_count*/ 1,
/*unique_pins*/ true,
/*unique_edges*/ true,
/*min_slack*/ -1.0e+30, /*max_slack*/ 0.0,
/*sort_by_slack*/ false,
/*groups->size() ? groups :*/ nullptr,
/*groups->size() ? groups :*/ group_names,
/*setup*/ true, /*hold*/ false,
/*recovery*/ false, /*removal*/ false,
/*clk_gating_setup*/ false, /*clk_gating_hold*/ false);
Expand Down Expand Up @@ -286,9 +289,10 @@ int Silisizer::silisize(const char *workdir) {
}

// Remove escape characters from JSON output
static std::string jsonName(const char *s) {
static std::string jsonName(std::string_view s) {
std::string out;
for (; *s; ++s) if (*s != '\\') out.push_back(*s);
out.reserve(s.length());
for (char c : s) if (c != '\\') out.push_back(c);
return out;
}
Comment thread
akashlevy marked this conversation as resolved.

Expand Down
2 changes: 1 addition & 1 deletion third_party/OpenSTA
Submodule OpenSTA updated 503 files
Loading