• 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 SKILL
  3. How to add an instance using skill

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 146
  • Views 17969
  • 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

How to add an instance using skill

leongec
leongec over 16 years ago

 hi all

i have open a cell view window by using the dbOpenCellViewByType("top" "test" "layout")

and everytime when i load this command, it will pop up  a message "test is already exist, do you want to replace it?" 

how can i get rid of ths message? 

now, i would like to add an existing layout cell into this window, how can i do that?

 

thanks for answering 

 

 

  • Cancel
  • SUBBHAREDDY
    SUBBHAREDDY over 16 years ago

    First open the cell view in append mode :

    i.e :

    cv=dbOpenCellViewByType("top" "test" "layout" nil "a")    ;;comments : Open new cellview and store its database.

     get master instance db

    cv1=dbOpenCellViewByType("libname" "cellname" "layout")   ;; Here get the instance id,is nothing but master id. from which lib,which cell you want to instantiate. 

     The above code is used to get db of the master instance

    The below line describes instantiating the master in the opened cell view :

    schinst=dbCreateInst(cv cv1 nil list(0 0) "R0" 1)    ;;list is nothing but xy coordinates,by chnages instantiates at different places.

     

    Follow up those three commands,and instantiate,pls let me know if it does'nt works.

     

    Thanks and regards

    Subbhareddy

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • leongec
    leongec over 16 years ago

     hi subbhareddy,

    it is working. 

     Thanks for your solution and fast response! thank you !

     regards, 

    leongec

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • cheenu
    cheenu over 16 years ago

    Hi,

    I would like to know how to add a pcell to my layout view with a specific width, length value for the transistor.. I am actually trying to write a SKILL code for placing transistors in common centroid topology. If you have seen this before, pls help me with it.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

     You can place the instance as above then update the parameters on it:

     instId = dbCreateInst(.....)
    instId~>l = length

    OR

    use dbCreateParamInst. This command places an instance and can automatically assign the parameter values at placement. It is documented in cdsFinder and the Virtuoso documentation.

    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 16 years ago

    You might also want to look at Modgens in VLS GXL in IC613, as these can achieve the same thing without needing SKILL in many cases (they're created as a constraint).

    Best Regards,

    Andrew.

    • 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