Description
To identify which executable is currently running you can use the $::TimeQuestInfo(nameofexecutable)
command from within a Synopsys Design Constraints (.sdc) file. This method can be used to specify different .sdc assignments or files for specific executables as shown in the following .sdc examples:
#Identify which executable is running:
set current_exe $::TimeQuestInfo(nameofexecutable)
if {$current_exe == "quartus_fit" } {
#Apply .sdc assignments for Fitter executable here
} else {
#Apply .sdc assignments for non-Fitter executables here
}
if { ! [string equal "quartus_sta" $::TimeQuestInfo(nameofexecutable)] } {
#Apply .sdc assignments for non-TimeQuest executables here
} else {
#Apply .sdc assignments for TimeQuest executable here
}
Examples of different executable names are quartus_map for Analysis & Synthesis, quartus_fit for Fitter, and quartus_sta for the TimeQuest timing analyzer.