Home > Community > Forums > Custom IC SKILL > How to add an instance using skill

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to add an instance using skill 

Last post Wed, Mar 18 2009 1:59 PM by Andrew Beckett. 5 replies.
Started by leongec 05 Mar 2009 01:18 AM. Topic has 5 replies and 3641 views
Page 1 of 1 (6 items)
Sort Posts:
  • Thu, Mar 5 2009 1:18 AM

    • leongec
    • Top 500 Contributor
    • Joined on Mon, Feb 2 2009
    • Posts 20
    • Points 265
    How to add an instance using skill Reply

     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 

     

     

    • Post Points: 20
  • Thu, Mar 5 2009 2:46 AM

    Re: How to add an instance using skill Reply

    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

     

    • Post Points: 35
  • Thu, Mar 5 2009 7:18 PM

    • leongec
    • Top 500 Contributor
    • Joined on Mon, Feb 2 2009
    • Posts 20
    • Points 265
    Re: How to add an instance using skill Reply

     hi subbhareddy,

    it is working. 

     Thanks for your solution and fast response! thank you !

     regards, 

    leongec

    • Post Points: 5
  • Wed, Mar 18 2009 1:14 AM

    • cheenu
    • Not Ranked
    • Joined on Wed, Mar 18 2009
    • Posts 1
    • Points 20
    Re: How to add an instance using skill Reply

    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.

    • Post Points: 20
  • Wed, Mar 18 2009 7:36 AM

    Re: How to add an instance using skill Reply

     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

    • Post Points: 20
  • Wed, Mar 18 2009 1:59 PM

    Re: How to add an instance using skill Reply

    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.

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by leongec at 05 Mar 2009 01:18 AM. Topic has 5 replies.