pluto_hdl_adi/projects/scripts/adi_tquest.tcl

19 lines
453 B
Tcl
Raw Normal View History

2015-06-04 14:51:01 +00:00
report_timing -detail full_path -npaths 20 -file timing_impl.log
2015-06-04 14:51:01 +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]
}
}
if {$slack < 0} {
return -code error [format "ERROR: Timing Constraints NOT met!"]
}