現在実行されている実行可能ファイルを識別するには $::TimeQuestInfo(nameofexecutable)
、Synopsys Design Constraints(.sdc)ファイル内からコマンドを使用できます。この方法を使用すると、次 の .sdc の例に示すように、特定の実行ファイルに対して異なる .sdc の割り当てまたはファイルを指定できます。
#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
}
異なる実行可能ファイル名の例として、分析と合成、フィッター用のquartus_fit、Time Customization タイミング・アナライザーのquartus_staがquartus_mapされています。