Editing instance properties with skill

G

Gery Pencheva

Guest
Hello i'm trying to create schematic for nmos for simulations. This is the code i'm using :

cv = dbOpenCellViewByType(libName testName "schematic" "schematic" "w")
trans= dbCreateParamInstByMasterName(cv masterLib cellname "spectre" nil list(0 0) "R0" 1 list(list("amsfetType" "string" "uvtnfet") list("fetType" "string" "uvtnfet")))
dbSetq(trans "uvtnfet" amsfetType)
dbCreateParamInstByMasterName(cv "analogLib" "vpulse" "spectre" nil list(-0.5 0) "R0" 1 list(list("acm" "float" acmval ) list("v1" "float" v1val) list("v2" "float" v2val) list("per" "float" perval) list("td" "float" tdval) list("tr" "float" trval) list("tf" "float" tfval) ))

dbCreateParamInstByMasterName(cv "analogLib" "vdc" "spectre" nil list(-1 0..19) "R0" 1 list(list("vdc" "float" 1) ))
dbCreateParamInstByMasterName(cv "analogLib" "gnd" "symbol" nil list(-0.5 -0.9) "R0" 1 )
dbCreateParamInstByMasterName(cv "analogLib" "vsource" "spectre" nil list(0 -0.7) "R0" 1 list(list("vdc" "float" 0) ))
dbCreateParamInstByMasterName(cv "analogLib" "res" "spectre" nil list(0.25 0.625) "R0" 1 )

I want to change the nmos type ( i want to be differnt from the default) but it doesn't changed.I tried with :

trans= dbCreateParamInstByMasterName(cv masterLib cellname "spectre" nil list(0 0) "R0" 1)
dbSetq(trans "uvtnfet" amsfetType)

and i tried to change from the trans~>prop
and the result is the same - the default value.

Its change its value after performing CDF parameter check , but i didn't find a way to performe this check with skill code beacuse to make the all process automatic.
If someone can give me dirrections i will really appreciate it.

Thanks.
 

Welcome to EDABoard.com

Sponsor

Back
Top