fmcomms2: Update c5soc system_timing script

main
Adrian Costina 2014-12-10 17:54:11 +02:00
parent 6ac774a9dd
commit 86ad9213e0
1 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,16 @@
report_timing -detail path_only -npaths 20 -file timing_impl.log
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} {
use_this_invalid_command_to_crash
}