adi_tquest.tcl: Check recovery and and removal timing

In addition to setup and hold also check recovery and removal, they are
just as important.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2018-06-12 15:59:58 +02:00 committed by Lars-Peter Clausen
parent 80cfe2675d
commit dd912e1fb8
1 changed files with 14 additions and 0 deletions

View File

@ -13,6 +13,20 @@ if {$slack > 0} {
}
}
if {$slack > 0} {
set worst_path [get_timing_paths -npaths 1 -recovery]
foreach_in_collection path $worst_path {
set slack [get_path_info $path -slack]
}
}
if {$slack > 0} {
set worst_path [get_timing_paths -npaths 1 -removal]
foreach_in_collection path $worst_path {
set slack [get_path_info $path -slack]
}
}
if {$slack < 0} {
set sof_files [glob *.sof]
foreach sof_file $sof_files {