2015-05-11 14:17:07 +00:00
|
|
|
|
|
|
|
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]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-01 14:59:33 +00:00
|
|
|
##if {$slack < 0} {
|
|
|
|
## use_this_invalid_command_to_crash
|
|
|
|
##}
|