E
Erik Wanta
Guest
I am trying to traverse a config view with the ccpExpandConfig view
with a modified example from Andrew Beckett. I am getting both
veriloga and symbol for a leaf node. How do I just get veriloga? That
is, how do I just get the views that specified in the config view (in
this case, just veriloga instead of veriloga and symbol)? In the copy
form in the library manager there is an exact hierarchy button but I
don't see an option for this in ccpExpandConfig.
procedure(ht3()
prog((obj spec specList cellViewInfo)
obj=ddGetObj("vco_moscap" "vco_tx_sim" "config")
spec=gdmCreateSpecFromDDID(obj)
specList=ccpExpandConfig(spec 'CCP_EXPAND_COMANAGED)
gdmResetSpecList(specList)
while(spec2=gdmNextFromSpecList(specList)
cellViewInfo=gdmInspectSpec(spec2 "LibraryUnix")
when(cadddr(cellViewInfo)=="master.tag"
dprint(cellViewInfo)
) ; when
) ; while
return(t)
) ; prog
) ; procedure
with a modified example from Andrew Beckett. I am getting both
veriloga and symbol for a leaf node. How do I just get veriloga? That
is, how do I just get the views that specified in the config view (in
this case, just veriloga instead of veriloga and symbol)? In the copy
form in the library manager there is an exact hierarchy button but I
don't see an option for this in ccpExpandConfig.
procedure(ht3()
prog((obj spec specList cellViewInfo)
obj=ddGetObj("vco_moscap" "vco_tx_sim" "config")
spec=gdmCreateSpecFromDDID(obj)
specList=ccpExpandConfig(spec 'CCP_EXPAND_COMANAGED)
gdmResetSpecList(specList)
while(spec2=gdmNextFromSpecList(specList)
cellViewInfo=gdmInspectSpec(spec2 "LibraryUnix")
when(cadddr(cellViewInfo)=="master.tag"
dprint(cellViewInfo)
) ; when
) ; while
return(t)
) ; prog
) ; procedure