Skip to content

Commit 82a37d0

Browse files
committed
sdc ExceptionPathSet*->ExceptionPathSet
commit 277de17b34f4b36b9c889f883872c604b39a7558 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Nov 8 12:53:22 2025 -0700 ExceptionPathSet Set -> std::set Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ce9afb6d29a5532b9b5fdadcdaf48aeaf1ba9c99 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Nov 8 12:17:01 2025 -0700 ExceptionPathSet*->ExceptionPathSet Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
1 parent 8287aec commit 82a37d0

File tree

5 files changed

+230
-191
lines changed

5 files changed

+230
-191
lines changed

include/sta/Sdc.hh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,15 @@ typedef Set<InputDelay*> InputDelaySet;
136136
typedef Map<const Pin*, InputDelaySet*, PinIdLess> InputDelaysPinMap;
137137
typedef Set<OutputDelay*> OutputDelaySet;
138138
typedef Map<const Pin*,OutputDelaySet*, PinIdLess> OutputDelaysPinMap;
139-
typedef UnorderedMap<const Pin*,ExceptionPathSet*> PinExceptionsMap;
140-
typedef Map<const Clock*,ExceptionPathSet*> ClockExceptionsMap;
141-
typedef Map<const Instance*,ExceptionPathSet*> InstanceExceptionsMap;
142-
typedef Map<const Net*,ExceptionPathSet*> NetExceptionsMap;
143-
typedef UnorderedMap<EdgePins, ExceptionPathSet*,
139+
typedef UnorderedMap<const Pin*,ExceptionPathSet> PinExceptionsMap;
140+
typedef UnorderedMap<const Clock*,ExceptionPathSet> ClockExceptionsMap;
141+
typedef UnorderedMap<const Instance*,ExceptionPathSet> InstanceExceptionsMap;
142+
typedef UnorderedMap<const Net*,ExceptionPathSet> NetExceptionsMap;
143+
typedef UnorderedMap<EdgePins, ExceptionPathSet,
144144
PinPairHash, PinPairEqual> EdgeExceptionsMap;
145145
typedef Vector<ExceptionThru*> ExceptionThruSeq;
146146
typedef Map<const Port*,InputDrive*> InputDriveMap;
147-
typedef Map<size_t, ExceptionPathSet*, std::less<size_t> > ExceptionPathPtHash;
147+
typedef Map<size_t, ExceptionPathSet, std::less<size_t>> ExceptionPathPtHash;
148148
typedef Set<ClockLatency*, ClockLatencyLess> ClockLatencies;
149149
typedef Map<const Pin*, ClockUncertainties*> PinClockUncertaintyMap;
150150
typedef Set<InterClockUncertainty*, InterClockUncertaintyLess> InterClockUncertaintySet;
@@ -1018,7 +1018,7 @@ public:
10181018
const PinSet &pathDelayInternalFrom() const;
10191019
bool isPathDelayInternalTo(const Pin *pin) const;
10201020
bool isPathDelayInternalToBreak(const Pin *pin) const;
1021-
ExceptionPathSet *exceptions() { return &exceptions_; }
1021+
ExceptionPathSet &exceptions() { return exceptions_; }
10221022
void deleteExceptions();
10231023
void deleteException(ExceptionPath *exception);
10241024
void recordException(ExceptionPath *exception);
@@ -1043,7 +1043,6 @@ protected:
10431043
void removeLibertyAnnotations();
10441044
void deleteExceptionsReferencing(Clock *clk);
10451045
void deleteClkPinMappings(Clock *clk);
1046-
void deleteExceptionPtHashMapSets(ExceptionPathPtHash &map);
10471046
void makeClkPinMappings(Clock *clk);
10481047
void deletePinClocks(Clock *defining_clk,
10491048
PinSet *pins);

include/sta/SdcClass.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ typedef Set<LibertyPortPair, LibertyPortPairLess> LibertyPortPairSet;
9595
typedef Map<const Instance*, DisabledInstancePorts*> DisabledInstancePortsMap;
9696
typedef Map<LibertyCell*, DisabledCellPorts*> DisabledCellPortsMap;
9797
typedef MinMaxValues<float> ClockUncertainties;
98-
typedef Set<ExceptionPath*> ExceptionPathSet;
98+
typedef std::set<ExceptionPath*> ExceptionPathSet;
9999
typedef PinPair EdgePins;
100100
typedef PinPairSet EdgePinsSet;
101101
typedef Map<const Pin*, LogicValue> LogicValueMap;

0 commit comments

Comments
 (0)