Cadence Virtuoso是否有技能功能来获取当前设计中使用的主子布局单元格列表?
我尝试过使用
ddGetObjChildren
但是这个函数为我的顶部单元格返回数据类型的子项:原理图、抽象等。我需要在此顶部单元格中使用的布局子母版列表。
我从节奏支持团队那里得到了解决方案!
procedure( TrHierTraversal( cellView cellList )
foreach( master cellView~>instances~>master
let( ( nextCellView )
nextCellView = master
cond(
( !nextCellView nil )
( member( nextCellView cellList ) nil )
( t
cellList = TrHierTraversal( nextCellView cons( nextCellView cellList ) )
) ; t
) ; cond
) ; let
) ; foreach
cellList ;;; return value - list of all master cells in hierarchy
) ; procedure
expansion = TrHierTraversal( dbOpenCellViewByType( "MAIN_LIB" "mux" "layout" ) nil )
foreach( item expansion printf("%L" item~>cellName))