Python俱乐部
Python
小课题
京东优惠券
################################################################ ## by donghua.gu@lsi.com ## to generate .db files for memories ## @ Mon Dec 19 13:40:22 CST 2011 ################################################################ set mems [ list \ RR34DDTHS32K4WP \ RR34DSPRAM64KP \ RR34DTGHS32K4WP \ RR34DWSHS32K4WP \ RR34IDTHS32K4WP \ RR34ISPRAM64KP \ RR34ITGHS32K4WP \ RR34IWSHS32K4WP \ RR34TRACE \ ] set corner_list [ list \ lsiB_105V_000C \ lsiB_105V_105C \ lsiB_105V_125C \ lsiB_105V_m40C \ lsiT_100V_025C \ lsiW_090V_000C \ lsiW_090V_105C \ lsiW_090V_125C \ lsiW_090V_m40C \ ] foreach memory $mems { foreach corner $corner_list { echo "===============================================" echo $memory $corner echo "===============================================" set lib_name ${memory}_${corner}.lib read_lib $lib_name write_lib ${memory}_lib sh mv ${memory}_lib.db ${memory}_${corner}.db } }