From dd912e1fb8b9b7c67535738a217e1fea61049570 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 12 Jun 2018 15:59:58 +0200 Subject: [PATCH] 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 --- projects/scripts/adi_tquest.tcl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/projects/scripts/adi_tquest.tcl b/projects/scripts/adi_tquest.tcl index a8f5d4a7f..3212f8b3c 100644 --- a/projects/scripts/adi_tquest.tcl +++ b/projects/scripts/adi_tquest.tcl @@ -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 {