set ignore pin 脚本

######### find your ignore inst and ignore inst pin ##############
set crm_cell [dbget top.insts.name crm]
set crm_sq_cell [dbget [dbget [dbget top.insts.name crm -p].cell.name SDF* -p2].name]
set crm_sq_cell_cp_pin [dbget [dbget [dbget [dbget top.insts.name crm -p].cell.name SDF* -p2].instTerms.net.isCLock 1 -p2].name]

foreach ignore_pin $crm_sq_cell_cp_pin {
set_ccopt_property sink_type ignore -pin $ignore_pin
}

############更新######################
set crm_cg_cell [dbget [dbget [dbget top.insts.name crm -p].cell.name CKLNQD* -p2].name]

set crm_cg_cell_Epin [dbget [dbget [dbget top.insts.name crm -p].cell.name CKLNQD* -p2].instTerms.name -regexp /E]

foreach i $crm_cg_cell_Epin {
set crm_cg_cell_beginpoint [get_property [all_fanin -to $i -startpoints_only] hierarchical_name]
foreach j $crm_cg_cell_beginpoint {
echo $j ---------inst Pin name
echo [dbget [dbget top.insts.instTerms.name $j -p2].cell.name] -----cell name
set_ccopt_property sink_type ignore -pin $j
}
}

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