eco_change_cell脚本,实现cell类型切换为ULVT

setEcoMode -updateTiming false
setEcoMode -refinePlace false -honorDontUse false -batchMode true -honorDontTouch false -honorFixedStatus false
source /asic/home_asic/al_tianfj/eco/sa_mac/sa_macbeginpoint_cell

if {1} {
foreach inst_name $beginpoint_name {
set cell_name [dbget [dbget top.insts.name $inst_name -p].cell.name]
#echo $inst_name >> hh
#echo $cell_name >> hh
if {[regexp ULVT $cell_name]} {
#echo $inst_name >> hh
#echo $cell_name >> hh
#echo this is ULVT
} elseif {[regexp LVT $cell_name]} {
#echo $inst_name >> hh
#echo $cell_name >> hh
#echo this is LVT
set newcell_name [regsub LVT $cell_name ULVT]
ecoChangeCell -inst $inst_name -cell $newcell_name
} elseif {![regexp LVT $cell_name]} {
#echo $inst_name >> hh
#echo $cell_name >> hh
#echo this is NO LVT or NO ULVT
set newcell_name ${cell_name}ULVT
ecoChangeCell -inst $inst_name -cell $newcell_name
}
}
}

将ULVT拿掉换为SVT:
regsub ULVT $cell_name \

你可能感兴趣的:(innovus,脚本)