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

If statement usage in cadence spectre

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - If statement usage in cadence spectre

SANTHOSHNAIK H
Guest

Tue Dec 20, 2016 2:28 pm   



I am doing some simulation in spectre, i want to do some initialisation for some node.
i want to do this through if condition
example
if($time == 1u){
rvddp vddp vss resistor r=1
} else {
rvddp vddp vss resistor r=1e9
}

this one i am using as initialisation for vddp node

here i want access simulation time, but i am getting error.
can any body tell how to do this, or how access simulation time.


thanks in advance

Christian Lindholm
Guest

Tue Dec 27, 2016 1:44 pm   



On Tuesday, December 20, 2016 at 1:28:11 PM UTC+1, SANTHOSHNAIK H wrote:
Quote:
I am doing some simulation in spectre, i want to do some initialisation for some node.
i want to do this through if condition
example
if($time == 1u){
rvddp vddp vss resistor r=1
} else {
rvddp vddp vss resistor r=1e9
}

this one i am using as initialisation for vddp node

here i want access simulation time, but i am getting error.
can any body tell how to do this, or how access simulation time.


thanks in advance


Hi,

I don't know how to access the simulation time, but you could do the same by using the "Dynamic Parameter" function in the transient.
Specify the resistance as a parameter and add it to the dynamic parameter option (you find it in the GUI where you specify the transient run).

Best regards,
Christian

elektroda.net NewsGroups Forum Index - Cadence - If statement usage in cadence spectre

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