Skip to content

Commit

Permalink
max_slew/cap/fanout_check slack/limit convenience functions
Browse files Browse the repository at this point in the history
Signed-off-by: James Cherry <[email protected]>
  • Loading branch information
jjcherry56 committed Apr 7, 2022
1 parent ecc1dcc commit 9fb25de
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tcl/Search.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1104,5 +1104,23 @@ proc report_clock_min_period { args } {
}
}


################################################################

# max slew slack / limit
proc max_slew_check_slack_limit {} {
return [eval [sta::max_slew_check_slack] / [sta::max_slew_check_limit]]
}

# max cap slack / limit
proc max_capacitance_check_slack_limit {} {
return [eval [sta::max_capacitance_check_slack] / [sta::max_capacitance_check_limit]]
}

# max fanout slack / limit
proc max_fanout_check_slack_limit {} {
return [eval [sta::max_fanout_check_slack] / [sta::max_fanout_check_limit]]
}

# sta namespace end.
}

0 comments on commit 9fb25de

Please sign in to comment.