scripts: If an altera project doesn't meet timing, rename the sof
parent
343d0472d4
commit
8453d758c2
|
@ -14,5 +14,11 @@ if {$slack > 0} {
|
|||
}
|
||||
|
||||
if {$slack < 0} {
|
||||
set sof_files [glob *.sof]
|
||||
foreach sof_file in sof_files {
|
||||
set root_sof_file [file rootname $sof_file]
|
||||
set new_sof_file [append root_sof_file "_timing.sof"]
|
||||
file rename -force $sof_file $new_sof_file
|
||||
}
|
||||
return -code error [format "ERROR: Timing Constraints NOT met!"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue