• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Simple yet tricky: How to instance an entire library?

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 12926
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Simple yet tricky: How to instance an entire library?

eklikeroomys
eklikeroomys over 14 years ago

Halo, 

 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.

Thank you

  • Cancel
  • Quek
    Quek over 14 years ago

    Hi eklikeroomys

    You 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
    ) ;procedure

    Save 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 regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information