forked from The-OpenROAD-Project/OpenSTA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApiChanges.txt
108 lines (82 loc) · 3.47 KB
/
ApiChanges.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# OpenSTA, Static Timing Analyzer
# Copyright (c) 2024, Parallax Software, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
This file summarizes STA API changes for each release.
Release 2.4.0 2023/01/19
-------------------------
The Network API and associated containers now 'const' the network class objects.
The Network API now requires network objects to have and "id" function that
returns an ObjectId (unsigned int) that is unique to the object among objects
of the same type.
virtual ObjectId id(const Instance *instance) const = 0;
Object IDs are used for comparing and hashing network objects.
If network Ids are not available in the host application database object pointers
can be cast to intptr_t. Using pointers as object Ids can result in memory layout
dependent results that are inconsistent from run to run or across host systems.
Many Network and Sta class functions now return collections rather than pointers
to temporary collections that the caller would have to delete.
Release 2.3.1 2022/06/12
-------------------------
LibertyCellTimingArcSetIterator has been removed.
Use range iteration as shown below:
for (TimingArcSet *arc_set : cell->timingArcSets())
for (TimingArcSet *arc_set : cell->timingArcSets(from, to))
TimingArcSetArcIterator has been removed.
Use range iteration as shown below:
for (TimingArc *arc : arc_set->arcs())
LibertyCellSequentialIterator has been removed.
for (Sequential *seq : cell->sequentials())
Release 2.1.1 2020/12/13
-------------------------
Report::error, Report::warn functions now take a unique message ID as a first argument.
InternalError has been renamed Report::cricical.
Release 2.1.0 2020/04/05
-------------------------
All public headers files have been moved to include/sta.
The following iterators have been removed.
Use range iteration on the returned collection shown next to them instead.
LibertyCellInternalPowerIterator cell->internalPowers()
LibertyCellLeakagePowerIterator cell->leakagePowers()
Release 2.0.18 2020/02/15
-------------------------
The following iterator functions are deprecated:
TimingArcSet::timingArcIterator()
Sdc::clockIterator()
Use the iterator class constructor instead. This avoids new/deletes of
the iterators by stack allocating them. For example,
Instead of
TimingArcSetArcIterator *arc_iter = arc_set->timingArcIterator();
while (arc_iter->hasNext()) {
TimingArc *arc = arc_iter->next();
}
delete arc_iter;
use the following:
TimingArcSetArcIterator arc_iter(arc_set);
while (arc_iter.hasNext()) {
TimingArc *arc = arc_iter.next();
}
StaException renamed to Exception
Release 2.0.17 2019/11/11
-------------------------
Network::setVertexIndex renamed to setVertexId
Network::vertexIndex renamed to vertexId
TransRiseFall renamed to RiseFall
TransRiseFallBoth renamed to RiseFallBoth
Release 2.0.0 2018/06/11
-------------------------
Initial release.
# Local Variables:
# mode:text
# End: