EDAboard.com | EDAboard.de | EDAboard.co.uk | WTWH Media

SKILL code to accept(OK) and close a dialog box

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - SKILL code to accept(OK) and close a dialog box

tadi
Guest

Tue Dec 18, 2007 11:41 am   



Hello all,

I am facing an issue with pop-up boxes, while changing properties of
devices in schematic using SKILL. Please go through the code below.

##########################
deOpenCellView(dest_lib cellname "schematic" "schematic" list(nil)
"a")
cv_dbid = geGetWindowCellView()
changeDevice(cv_dbid)

procedure(changeDevice(cv_dbid)
pmoslist=list("pmos_svt" "pmos" "pmos_io")
nmoslist=list("nmos_svt" "nmos" "nmos_io")
;select all mos devices
foreach(inst cv_dbid~>instances
if(member(inst~>cellName pmoslist) || member(inst~>cellName
nmoslist) then
geSelectObjectNoFilter(inst)
)
)
;open ObjectProperty Form and change Vth1vG value to "high"
schHiObjectProperty()
schObjPropForm->objScope->value = "all selected"
schObjPropForm->compFilter->value = "any masters"
schObjPropForm->objGroup->value = "instance"
schObjPropForm~>Vth1vG~>value="high"
hiFormDone(schObjPropForm)
geDeselectAll()
)
############################

hiFormDone() is opening a dialogbox (schDBox) with "YES" "NO" "CANCEL"
options. Is there any way in SKILL to change the properties silently ?

Thanks in advance.

-Ganesh.

Jean-Marc Bourguet
Guest

Tue Dec 18, 2007 11:51 am   



tadi <ganeshie8_at_gmail.com> writes:

Quote:
Is there any way in SKILL to change the properties silently ?

obj->prop = value

or am I missing something (well other than the possibility of cdf...)

--
Jean-Marc

DReynolds
Guest

Tue Dec 18, 2007 1:41 pm   



On Dec 18, 5:51 am, Jean-Marc Bourguet <j...@bourguet.org> wrote:
Quote:
tadi <ganesh...@gmail.com> writes:
Is there any way in SKILL to change the properties silently ?

obj->prop = value

or am I missing something (well other than the possibility of cdf...)

--
Jean-Marc

To make the program run silently...use commands like
dbReplaceProp()instead of the human interface command
schHiObjectProperty()


David

tadi
Guest

Mon Jan 07, 2008 12:41 pm   



On Dec 18 2007, 3:27 pm, tadi <ganesh...@gmail.com> wrote:
Quote:
Hello all,

I am facing an issue with pop-up boxes, while changing properties of
devices in schematic using SKILL. Please go through the code below.

##########################
deOpenCellView(dest_lib cellname "schematic" "schematic" list(nil)
"a")
cv_dbid = geGetWindowCellView()
changeDevice(cv_dbid)

procedure(changeDevice(cv_dbid)
pmoslist=list("pmos_svt" "pmos" "pmos_io")
nmoslist=list("nmos_svt" "nmos" "nmos_io")
;select all mos devices
foreach(inst cv_dbid~>instances
if(member(inst~>cellName pmoslist) || member(inst~>cellName
nmoslist) then
geSelectObjectNoFilter(inst)
)
)
;open ObjectProperty Form and change Vth1vG value to "high"
schHiObjectProperty()
schObjPropForm->objScope->value = "all selected"
schObjPropForm->compFilter->value = "any masters"
schObjPropForm->objGroup->value = "instance"
schObjPropForm~>Vth1vG~>value="high"
hiFormDone(schObjPropForm)
geDeselectAll()
)
############################

hiFormDone() is opening a dialogbox (schDBox) with "YES" "NO" "CANCEL"
options. Is there any way in SKILL to change the properties silently ?

Thanks in advance.

-Ganesh.

Jean & David, thanks for your suggestions.

I got this resolved by cadence AE. Actually you cannot do this using
db command becos this property is not getting listed in inst~>prop
since the property is a CDF property with base value. The moment, you
give the value in the instance edit from, it will get listed in
inst~>prop since it has updated value at instance!

I am new to CDF stuff & trying to get familiar with.

Thanks again for yout suggestions.

-Ganesh

DReynolds
Guest

Mon Jan 07, 2008 3:42 pm   



On Jan 7, 5:49 am, tadi <ganesh...@gmail.com> wrote:
Quote:
On Dec 18 2007, 3:27 pm, tadi <ganesh...@gmail.com> wrote:



Hello all,

I am facing an issue with pop-up boxes, while changing properties of
devices in schematic using SKILL. Please go through the code below.

##########################
deOpenCellView(dest_lib cellname "schematic" "schematic" list(nil)
"a")
cv_dbid = geGetWindowCellView()
changeDevice(cv_dbid)

procedure(changeDevice(cv_dbid)
pmoslist=list("pmos_svt" "pmos" "pmos_io")
nmoslist=list("nmos_svt" "nmos" "nmos_io")
;select all mos devices
foreach(inst cv_dbid~>instances
if(member(inst~>cellName pmoslist) || member(inst~>cellName
nmoslist) then
geSelectObjectNoFilter(inst)
)
)
;open ObjectProperty Form and change Vth1vG value to "high"
schHiObjectProperty()
schObjPropForm->objScope->value = "all selected"
schObjPropForm->compFilter->value = "any masters"
schObjPropForm->objGroup->value = "instance"
schObjPropForm~>Vth1vG~>value="high"
hiFormDone(schObjPropForm)
geDeselectAll()
)
############################

hiFormDone() is opening a dialogbox (schDBox) with "YES" "NO" "CANCEL"
options. Is there any way in SKILL to change the properties silently ?

Thanks in advance.

-Ganesh.
Ganesh, in that case I check to see if the prop exists, and if not I go and get it from the cdf.... still no need for dialog boxes

David


Quote:
Jean & David, thanks for your suggestions.

I got this resolved by cadence AE. Actually you cannot do this using
db command becos this property is not getting listed in inst~>prop
since the property is a CDF property with base value. The moment, you
give the value in the instance edit from, it will get listed in
inst~>prop since it has updated value at instance!

I am new to CDF stuff & trying to get familiar with.

Thanks again for yout suggestions.

-Ganesh



Guest

Sat Apr 22, 2017 11:40 am   



On Tuesday, December 18, 2007 at 3:57:25 PM UTC+5:30, tadi wrote:
Quote:
Hello all,

I am facing an issue with pop-up boxes, while changing properties of
devices in schematic using SKILL. Please go through the code below.

##########################
deOpenCellView(dest_lib cellname "schematic" "schematic" list(nil)
"a")
cv_dbid = geGetWindowCellView()
changeDevice(cv_dbid)

procedure(changeDevice(cv_dbid)
pmoslist=list("pmos_svt" "pmos" "pmos_io")
nmoslist=list("nmos_svt" "nmos" "nmos_io")
;select all mos devices
foreach(inst cv_dbid~>instances
if(member(inst~>cellName pmoslist) || member(inst~>cellName
nmoslist) then
geSelectObjectNoFilter(inst)
)
)
;open ObjectProperty Form and change Vth1vG value to "high"
schHiObjectProperty()
schObjPropForm->objScope->value = "all selected"
schObjPropForm->compFilter->value = "any masters"
schObjPropForm->objGroup->value = "instance"
schObjPropForm~>Vth1vG~>value="high"
hiFormDone(schObjPropForm)
geDeselectAll()
)
############################

hiFormDone() is opening a dialogbox (schDBox) with "YES" "NO" "CANCEL"
options. Is there any way in SKILL to change the properties silently ?

Thanks in advance.

-Ganesh.


elektroda.net NewsGroups Forum Index - Cadence - SKILL code to accept(OK) and close a dialog box

Ask a question - edaboard.com

Arabic version Bulgarian version Catalan version Czech version Danish version German version Greek version English version Spanish version Finnish version French version Hindi version Croatian version Indonesian version Italian version Hebrew version Japanese version Korean version Lithuanian version Latvian version Dutch version Norwegian version Polish version Portuguese version Romanian version Russian version Slovak version Slovenian version Serbian version Swedish version Tagalog version Ukrainian version Vietnamese version Chinese version Turkish version
EDAboard.com map