Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62925

Forum Post: RE: Replace library name and cell name of standard cells in schematic

$
0
0
Naresh, This code should help you: procedure(CCFreplaceStdCells(@key (cvId geGetEditCellView()) (fromLib "STANDARDCELL_1") (toLib "STANDARDCELL_2") (suffix "AB") ) let((newCellName) foreach(instHeader cvId~>instHeaders when(instHeader~>libName==fromLib && instHeader~>instances newCellName=strcat(instHeader~>cellName suffix) dbSetInstHeaderMasterName( instHeader toLib newCellName instHeader~>viewName ) ) ) t ) ) Then all you need to do is (with the schematic open and in the current window): CCFreplaceStdCells() You might also want to change the library names it is looking for, so you could do: CCFreplaceStdCells(?fromLib "origLibName" ?toLib "newLibName") There's also the ability to pass ?cvId so it doesn't have to be a schematic open in a window (it could have been opened with dbOpenCellViewByType), or to use a different suffix via ?suffix. Andrew.

Viewing all articles
Browse latest Browse all 62925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>