set func_ssgnp_0p675v_m40c_typical_Ccworst_R2R_WNS = `grep -i Reg2Reg $tile/../sta/func/sta-max-func-ssgnp_0p675v_m40c_typical_Ccworst/reports/pba_proc_qor.rpt | awk '{print $2}'`
set func_ssgnp_0p675v_m40c_typical_Ccworst_M2R_WNS = `grep -i Mem2Reg $tile/../sta/func/sta-max-func-ssgnp_0p675v_m40c_typical_Ccworst/reports/pba_proc_qor.rpt | awk '{print $2}'`
set func_ssgnp_0p675v_m40c_typical_Ccworst_R2M_WNS = `grep -i Reg2Mem $tile/../sta/func/sta-max-func-ssgnp_0p675v_m40c_typical_Ccworst/reports/pba_proc_qor.rpt | awk '{print $2}'`
set x = `awk '{print $func_ssgnp_0p675v_m40c_typical_Ccworst_R2R_WNS + "0" }'`
set y = `awk '{print $func_ssgnp_0p675v_m40c_typical_Ccworst_M2R_WNS + "0"}'`
set z = `awk '{print $func_ssgnp_0p675v_m40c_typical_Ccworst_R2M_WNS + "0"}'`
if (($x >= $y) && ($x >= $z)) then
#unsetenv func_ssgnp_0p675v_m40c_typical_Ccworst_R2A_WNS
setenv func_ssgnp_0p675v_m40c_typical_Ccworst_R2A_WNS `awk '{print $x }'`
else if (($y >= $x) && ($y >= $z)) then
#unsetenv func_ssgnp_0p675v_m40c_typical_Ccworst_R2A_WNS
setenv func_ssgnp_0p675v_m40c_typical_Ccworst_R2A_WNS `awk '{print $y }'`
else if (($z >= $x) && ($z >= $y)) then
#unsetenv func_ssgnp_0p675v_m40c_typical_Ccworst_R2A_WNS
setenv func_ssgnp_0p675v_m40c_typical_Ccworst_R2A_WNS `awk '{print $z }'`
endif
この問題を解決するのに役立ちますか?