Skip to content

Commit 6309262

Browse files
authored
Merge branch 'parallaxsw:master' into main
2 parents 794e042 + b8b67ba commit 6309262

File tree

18 files changed

+461
-752
lines changed

18 files changed

+461
-752
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ compiled locally. Derivative works are supported as long as they
6363
adhere to the GPL license requirements. However, OpenSTA is not
6464
supported by a public community of developers as many other open
6565
source projects are. The copyright and develpment are exclusive to
66-
Parallax Software. Contributors must signing the Contributor License
67-
Agreement (doc/CLA.txt) when submitting pull requests.
66+
Parallax Software.
6867

6968
Removing copyright and license notices from OpenSTA sources (or any
7069
other open source project for that matter) is illegal. This should be
@@ -257,8 +256,12 @@ Contributions that claim 4% performance improvements in OpenROAD flow
257256
scripts will largely be ignored. Small performance improvements
258257
simply do not justify the time requied to audit and verify the changes.
259258

260-
Contributions that add dependencies on external libraries like boost
261-
will not be accepted.
259+
Contributions that add dependencies on external libraries like boost,
260+
abseil and Intel TBB will not be accepted.
261+
262+
As the author of OpenSTA I vastly prefer writing code to reviewing
263+
code. I don't have the patience to go round after round to correct
264+
code formatting that is not consistent with the rest of the code.
262265

263266
## Authors
264267

dcalc/GraphDelayCalc.cc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -621,10 +621,15 @@ GraphDelayCalc::findVertexDelay(Vertex *vertex,
621621
DrvrLoadSlews
622622
GraphDelayCalc::loadSlews(LoadPinIndexMap &load_pin_index_map)
623623
{
624+
size_t slew_count = graph_->slewCount();
624625
DrvrLoadSlews load_slews(load_pin_index_map.size());
625626
for (auto const [pin, index] : load_pin_index_map) {
626627
Vertex *load_vertex = graph_->pinLoadVertex(pin);
627-
load_slews[index] = graph_->slews(load_vertex);
628+
SlewSeq &slews = load_slews[index];;
629+
slews.resize(slew_count);
630+
Slew *vertex_slews = load_vertex->slews();
631+
for (size_t i = 0; i < slew_count; i++)
632+
slews[i] = vertex_slews[i];
628633
}
629634
return load_slews;
630635
}
@@ -633,11 +638,12 @@ bool
633638
GraphDelayCalc::loadSlewsChanged(DrvrLoadSlews &load_slews_prev,
634639
LoadPinIndexMap &load_pin_index_map)
635640
{
641+
size_t slew_count = graph_->slewCount();
636642
for (auto const [pin, index] : load_pin_index_map) {
637643
Vertex *load_vertex = graph_->pinLoadVertex(pin);
638-
const SlewSeq slews = graph_->slews(load_vertex);
639-
const SlewSeq &slews_prev = load_slews_prev[index];
640-
for (size_t i = 0; i < slews.size(); i++) {
644+
SlewSeq &slews_prev = load_slews_prev[index];;
645+
const Slew *slews = load_vertex->slews();
646+
for (size_t i = 0; i < slew_count; i++) {
641647
if (!delayEqual(slews[i], slews_prev[i]))
642648
return true;
643649
}

0 commit comments

Comments
 (0)