tq-alt: added

main
Rejeesh Kutty 2015-06-04 10:51:01 -04:00
parent 6548bcd71f
commit 886c24f597
1 changed files with 16 additions and 0 deletions

16
projects/scripts/adi_tquest.tcl Executable file
View File

@ -0,0 +1,16 @@
set worst_path [get_timing_paths -npaths 1 -setup]
foreach_in_collection path $worst_path {
set slack [get_path_info $path -slack]
}
if {$slack > 0} {
set worst_path [get_timing_paths -npaths 1 -hold]
foreach_in_collection path $worst_path {
set slack [get_path_info $path -slack]
}
}
if {$slack < 0} {
return -code error [format "ERROR: Timing Constraints NOT met!"]
}