#.........................................# Parameters #................#
#
set DESIGN     {.ReplaceProjectName}
set DESIGNFILE ".ReplaceProjectName.ReplaceACTELDesignerDBExt"
#
#.......................................................................#

#
# Open Existing Design
#
if { [catch { open_design $DESIGNFILE } ] } {
    error "Unable to open design : $DESIGNFILE"
}

set isLayoutDone [is_design_state_complete .ReplaceLayoutDoneState]
if { $isLayoutDone == 0 } {
    error "Unable to generate timming report because the place & route wasn''t done"
}
 
#
# Output Timming Report
#
report -type timing "$DESIGN.timing.rpt"
 
#
# Save Design
#
save_design $DESIGNFILE
 
#
# Close Design
#
close_design

return 0
# end of file .ReplaceTCLScriptName

