This may be real simple, but how can I instance the symbol views of an entire library into a schematic? I need a method simpler than having to individually instance all of the symbols from the library. I suppose I will have to do it that way if there is no other option.
I need to do this in order to generate a subcircuit netlist for Cadence ELC.
Hi eklikeroomysYou can try the following skillscript:procedure( CCSplaceSchInsts(myLib myTargetLib) let( (libID cv x y cvm) libID=ddGetObj(myLib) cv=dbOpenCellViewByType(myTargetLib "masterSchematic" "schematic" "schematic" "a") x=0 y=0 foreach(cell libID~>cells cvm=dbOpenCellViewByType(myLib cell~>name "symbol") schCreateInst(cv cvm cell~>name x:y "R0") dbClose(cvm) if(x<=1.0 then x=x+0.1 y=y+0.1 else x=0 ) ;if ) ;foreach schCheck(cv) dbSave(cv) dbClose(cv) ) ;let) ;procedureSave the above codes in a text file named "placeinst.il" and load it in ciw using:load "placeinst.il"Execute it in ciw using:CCSplaceSchInsts("yourLibName" "yourTargetLib")A schematic named "masterSchematic" will be created in the target library.Best regardsQuek