e.g. I draw a inductance in schematic by instance from rsfq.basic
library, the property shows that:
Library Name: rsfq.basic
CellName : ind2
View Name: symbol
Instance Name: L1
Model Type: LR
Value Name: *
dbReplaceProp contains (g_object t_name t_propType g_value)
if I want to replace the value of inductance here by the inductance in
layout in the same cell,
is the g_object the ddGetObj("library" "cell" "schematic") , and what
is the t_name?
g_object would be the database Id of the instance. So for example, if it were selected, it wouldbe car(geGetSelSet()) .t_name is the name of the property - hard to know what the property is actually called, because the chances are it is a CDF property. You can find the current properties on the instance by doing:car(geGetSelSet())~>prop~>nameIf you'd used ddGetObj("library" "cell" "schematic") as the value of the g_object argument, you'd have ended up setting a cellview meta-data property (the properties that show up when you do Edit Properties from the library manager, with the cellView selected (right mouse button over the view name).Regards,Andrew.
I have a new question:
Is there any way to get the schematic property dbId without openint the window?
jren,Of course. You can access a cellView by using: cv=dbOpenCellViewByType("mylib" "mycell" "myView" "" "a")(the "a" stands for append mode - ifyou omit the last couple of arguments, it will open in read mode). See the documentation for more details.Then you can access all the instances using: cv~>instancesOr you can find a named instance by name by using: inst=dbFindAnyInstByName(cv "I23")It sounds as if you could really benefit from attending a SKILL class. You can find details of these on the main Cadence web site - there is an "Education" link onthe front page.Regards,Andrew.
Thanks a lot! Actually, I started learning the SKILL and Cadence just a
month ago, but now i have task from advisor about XL and the database
thing, so there are many things I am confused with. Thanks again.