mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
commit 98fa3639bd0e07f4e315578b50266972bbb7ac7d Author: James Cherry <cherry@parallaxsw.com> Date: Sat Feb 8 14:17:29 2025 -0800 Edge::setArcDelayAnnotated Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d4628351d788c68ed948751374adee1bba6ca6ea Author: James Cherry <cherry@parallaxsw.com> Date: Sat Feb 8 09:27:33 2025 -0800 leaks Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cee843b81df89c0f7bc51a76a34422009f49b046 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Feb 7 10:22:00 2025 -0800 arcDelayAnnotated Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2a080cb4a3425e9b0a98d90315d23b87c755ebaa Author: James Cherry <cherry@parallaxsw.com> Date: Fri Feb 7 09:34:16 2025 -0800 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6b85cebe290cb9f1c7fabe06fcec42dd7c060550 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 16:12:42 2025 -0800 readme Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 01d4481280b08e98cc311dc37a3eeb1cfc928902 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 16:12:33 2025 -0800 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit e7c62097f948450ed46c0ac577bd3636cf5be625 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 16:12:19 2025 -0800 Search no virtuals Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 761212fc0a593d47422dc7716b7e28f593647a64 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 15:13:36 2025 -0800 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd64f685c7fe2b3e85e3194008fae67a23650110 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 12:31:38 2025 -0800 Graph::removeDelayAnnotated Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a1b79b09178ba8bdf0ec9486d84fcff68c2a1f2e Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 12:19:32 2025 -0800 Edge::arc_annotated_delays_ Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6b8b44ebd1e3a483ccfaa08f08c5fa8b60c72f90 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Feb 6 08:48:49 2025 -0800 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ee939bf4015fe3d78860b3e615ec7defa395b2bf Author: James Cherry <cherry@parallaxsw.com> Date: Wed Feb 5 18:14:04 2025 -0800 pass fast regressions Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f25b505d8507046638dbb30772d721547b3f8941 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Feb 5 15:54:39 2025 -0800 pass all but 1 regression Signed-off-by: James Cherry <cherry@parallaxsw.com> commit acd3abf0512f5ecbe83025eb5facfa5a594ca9fa Author: James Cherry <cherry@parallaxsw.com> Date: Wed Feb 5 12:23:02 2025 -0800 rm ArrayTable compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 1a65f9da1814b8664062fe7ecf684acc42ee6933 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Feb 4 16:26:34 2025 -0800 keep prev tag arrays until search is finsihed Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
72 lines
2.1 KiB
C++
72 lines
2.1 KiB
C++
// OpenSTA, Static Timing Analyzer
|
|
// Copyright (c) 2025, 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/>.
|
|
//
|
|
// The origin of this software must not be misrepresented; you must not
|
|
// claim that you wrote the original software.
|
|
//
|
|
// Altered source versions must be plainly marked as such, and must not be
|
|
// misrepresented as being the original software.
|
|
//
|
|
// This notice may not be removed or altered from any source distribution.
|
|
|
|
#pragma once
|
|
|
|
#include <limits>
|
|
|
|
#include "ObjectId.hh"
|
|
#include "Set.hh"
|
|
#include "Vector.hh"
|
|
#include "MinMax.hh"
|
|
#include "Transition.hh"
|
|
#include "Delay.hh"
|
|
|
|
namespace sta {
|
|
|
|
using std::vector;
|
|
|
|
// Class declarations for pointer references.
|
|
class Graph;
|
|
class Vertex;
|
|
class Edge;
|
|
class VertexIterator;
|
|
class VertexInEdgeIterator;
|
|
class VertexOutEdgeIterator;
|
|
class GraphLoop;
|
|
class VertexSet;
|
|
|
|
typedef ObjectId VertexId;
|
|
typedef ObjectId EdgeId;
|
|
typedef Vector<Vertex*> VertexSeq;
|
|
typedef Vector<Edge*> EdgeSeq;
|
|
typedef Set<Edge*> EdgeSet;
|
|
typedef int Level;
|
|
typedef int DcalcAPIndex;
|
|
typedef int TagGroupIndex;
|
|
typedef Vector<GraphLoop*> GraphLoopSeq;
|
|
typedef vector<Slew> SlewSeq;
|
|
|
|
static constexpr int level_max = std::numeric_limits<Level>::max();
|
|
|
|
// 16,777,215 tags
|
|
static constexpr int tag_group_index_bits = 24;
|
|
static constexpr TagGroupIndex tag_group_index_max = (1<<tag_group_index_bits)-1;
|
|
static constexpr int slew_annotated_bits = MinMax::index_count * RiseFall::index_count;
|
|
|
|
// Bit shifts used to mark vertices in a Bfs queue.
|
|
enum class BfsIndex { dcalc, arrival, required, other, bits };
|
|
|
|
} // namespace
|