ClkLatency::findClkDelays unclocked regs resolves #385
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
b69645ed44
commit
795c190edb
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue