ClkLatency::findClkDelays unclocked regs resolves #385

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2026-02-24 15:07:33 -08:00
parent b69645ed44
commit 795c190edb
2 changed files with 5 additions and 5 deletions

View File

@ -162,14 +162,14 @@ ClkLatency::findClkDelays(ConstClockSeq &clks,
VertexPathIterator path_iter(clk_vertex, this);
while (path_iter.hasNext()) {
Path *path = path_iter.next();
const ClockEdge *path_clk_edge = path->clkEdge(this);
const Scene *path_scene = path->scene(this);
const Clock *path_clk = path_clk_edge->clock();
if (path_clk_edge
const Clock *path_clk = path->clock(this);
if (path_clk
&& scenes.contains(path_scene)
&& clk_set.contains(path_clk)) {
auto delays_itr = clk_delay_map.find(path_clk);
if (delays_itr != clk_delay_map.end()) {
const ClockEdge *path_clk_edge = path->clkEdge(this);
ClkDelays &clk_delays = delays_itr->second;
const RiseFall *clk_rf = path_clk_edge->transition();
const MinMax *min_max = path->minMax(this);

View File

@ -3107,7 +3107,7 @@ Sta::required(Vertex *vertex,
Slack
Sta::slack(const Net *net,
const MinMax *min_max)
const MinMax *min_max)
{
ensureGraph();
Slack min_slack = MinMax::min()->initValue();
@ -3129,7 +3129,7 @@ Slack
Sta::slack(const Pin *pin,
const RiseFallBoth *rf,
const SceneSeq &scenes,
const MinMax *min_max)
const MinMax *min_max)
{
ensureGraph();
Vertex *vertex, *bidirect_drvr_vertex;