add tns and wns commands and clock gating

This commit is contained in:
Benzi
2026-10-18 16:12:45 -04:00
parent 11da994094
commit 7dd9a8b69e
3 changed files with 13 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
# Get total negative slack for loaded design
proc sj_get_tns {} {
set path [report_timing -collection -max_paths 1]
get_db $path .slack
}
# Get worst negative slack for loaded design
proc sj_get_wns {} {
set path [report_timing -collection -max_paths 1]
get_db $path .worst_delay
}