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
First open the cell view in append mode :
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
In reply to SUBBHAREDDY:
it is working.
Thanks for your solution and fast response! thank you !
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.
In reply to cheenu:
You can place the instance as above then update the parameters on it:
instId = dbCreateInst(.....)instId~>l = length
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.
In reply to Austin CAD Guy:
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).