Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

RE: skill code to place all symbol cells in a virtuoso lib to top level schematic cell

$
0
0
cv=dbOpenCellViewByType("sc33tps_v1" "all_cells" "schematic" "schematic" "a") lib=ddGetObj("sc33tps_v1") x = 0.0 y = 0.0 foreach(cell sort(lib~>cells lambda((x y) alphalessp(x~>name y~>name))) when(ddGetObj(lib~>name cell~>name "symbol") cv1=dbOpenCellViewByType(lib~>name cell~>name "symbol") when(cv1 schinst=dbCreateInst(cv cv1 nil list(x y) "R0" 1) if( (x == 27.0) then x = 0.0 y = y + 3.0 else x = x + 3.0 ) ) ) ) Should do the trick I think.

Viewing all articles
Browse latest Browse all 33813

Trending Articles